From d36d5da5c7db901756b89978fe253d2fe512b1b5 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 15 May 2019 12:29:47 -0400 Subject: cpp-8: Make target-specific (cpp-8-*-*-*) --- 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 -- cgit v0.9.1