summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig2
-rw-r--r--cpp.pkg.in/control (renamed from cpp-8.pkg/control)5
-rw-r--r--cpp.pkg.in/files (renamed from cpp-8.pkg/files)0
3 files changed, 4 insertions, 3 deletions
diff --git a/config b/config
index 2d66848..22b56f0 100755
--- a/config
+++ b/config
@@ -4,7 +4,7 @@ set -e
OPK_SOURCE="$(sed 's/ .*//; q;' changelog)"
BASE_VERSION="${OPK_SOURCE#gcc-}"
-TPL_PKGS='gcc g++'
+TPL_PKGS='cpp gcc g++'
main()
{
diff --git a/cpp-8.pkg/control b/cpp.pkg.in/control
index 933ea48..77f5842 100644
--- a/cpp-8.pkg/control
+++ b/cpp.pkg.in/control
@@ -1,7 +1,8 @@
-Architecture: i686-any-any amd64-any-any
+Architecture: @PKG_TARGET_ARCH@
+# Architecture: i686-any-any amd64-any-any @PKG_TARGET_ARCH@
Platform: all
Depends: gcc-${Base-Version}-common (= ${Binary-Version}), ${Shlib-Depends}
Suggests: gcc-${Base-Version}-locales (>= ${Binary-Version})
-Description: GNU C preprocessor
+Description: GNU C preprocessor for @PKG_TARGET_ARCH@
A macro processor that is used automatically by the C compiler to transform
programs before actual compilation.
diff --git a/cpp-8.pkg/files b/cpp.pkg.in/files
index 29003aa..29003aa 100644
--- a/cpp-8.pkg/files
+++ b/cpp.pkg.in/files