summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-09 21:39:54 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-09 21:39:54 +0000
commitb4f8246bb0414aca2e7b10fb640b14967fd9b4b5 (patch)
treee10a62fea2bdf84789e33756b77d62e004ce16d3
parente189f688d0897898d2af901392df5a076fac5c7d (diff)
downloadmidipix_build-b4f8246bb0414aca2e7b10fb640b14967fd9b4b5.tar.bz2
midipix_build-b4f8246bb0414aca2e7b10fb640b14967fd9b4b5.tar.xz
vars/build.vars:ghostscript:${PKG_ENV_VARS_EXTRA}: build w/ CCAUX=cc:CFLAGSAUX=${DEFAULT_CFLAGS} -L${PREFIX}/lib:LDFLAGSAUX=-L${PREFIX}/lib:SHARE_ZLIB=-lz.
vars/build.vars:ghostscript:${PKG_MAKEFLAGS_BUILD_EXTRA}: build w/ TARGET_ARCH_FILE=${BUILD_WORKDIR}/ghostscript-native-${DEFAULT_TARGET}/ghostscript-${PKG_GHOSTSCRIPT_VERSION}/arch/${DEFAULT_TARGET}.h. patches/ghostscript-9.26.local.patch: pass CPPFLAGS= to $0.
-rw-r--r--patches/ghostscript-9.26.local.patch2
-rw-r--r--vars/build.vars4
2 files changed, 3 insertions, 3 deletions
diff --git a/patches/ghostscript-9.26.local.patch b/patches/ghostscript-9.26.local.patch
index e674d312..b64cab8d 100644
--- a/patches/ghostscript-9.26.local.patch
+++ b/patches/ghostscript-9.26.local.patch
@@ -6,7 +6,7 @@ diff -ru ghostscript-9.26.orig/configure ghostscript-9.26/configure
echo $AUXFLAGS_MAK_LINE07 >> $AUXFLAGS_MAK.in
- ../$0 CC="$CCAUX" CFLAGS="$CFLAGSAUX" LDFLAGS="$LDFLAGSAUX" CCAUX= CFLAGSAUX= CFLAGSAUX= MAKEFILE=$AUXFLAGS_MAK --host= --build= --without-libtiff --disable-contrib --disable-fontconfig --disable-dbus --disable-freetype --disable-fapi --disable-cups --disable-openjpeg --disable-gtk --with-libiconv=no --without-libidn --without-libpaper --without-pdftoraster --without-ijs --without-luratech --without-jbig2dec --without-x --with-drivers=""
-+ $0 CC="$CCAUX" CFLAGS="$CFLAGSAUX" LDFLAGS="$LDFLAGSAUX" CCAUX= CFLAGSAUX= CFLAGSAUX= MAKEFILE=$AUXFLAGS_MAK --host= --build= --without-libtiff --disable-contrib --disable-fontconfig --disable-dbus --disable-freetype --disable-fapi --disable-cups --disable-openjpeg --disable-gtk --with-libiconv=no --without-libidn --without-libpaper --without-pdftoraster --without-ijs --without-luratech --without-jbig2dec --without-x --with-drivers=""
++ $0 CC="$CCAUX" CFLAGS="$CFLAGSAUX" CPPFLAGS= LDFLAGS="$LDFLAGSAUX" CCAUX= CFLAGSAUX= CFLAGSAUX= MAKEFILE=$AUXFLAGS_MAK --host= --build= --without-libtiff --disable-contrib --disable-fontconfig --disable-dbus --disable-freetype --disable-fapi --disable-cups --disable-openjpeg --disable-gtk --with-libiconv=no --without-libidn --without-libpaper --without-pdftoraster --without-ijs --without-luratech --without-jbig2dec --without-x --with-drivers=""
status=$?
cp config.log ../configaux.log
if test $status -eq 0 ; then
diff --git a/vars/build.vars b/vars/build.vars
index b4478ea2..4f0a21b3 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -1641,8 +1641,8 @@ texinfo tmux tzdb vim yabasic xcowsay xeyes xorriso xterm xwd";
: ${PKG_GHOSTSCRIPT_VERSION:=9.26};
: ${PKG_GHOSTSCRIPT_URL:=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs926/ghostscript-${PKG_GHOSTSCRIPT_VERSION}.tar.gz};
: ${PKG_GHOSTSCRIPT_CONFIGURE_ARGS_EXTRA:="--without-x --disable-compile-inits --enable-dynamic --with-system-libtiff --with-memory-alignment=8"};
-: ${PKG_GHOSTSCRIPT_MAKEFLAGS_BUILD_EXTRA:="CCAUX_=cc:TARGET_ARCH_FILE=${BUILD_WORKDIR}/ghostscript-native-${DEFAULT_TARGET}/ghostscript-${PKG_GHOSTSCRIPT_VERSION}/arch/${DEFAULT_TARGET}.h"}
-: ${PKG_GHOSTSCRIPT_ENV_VARS_EXTRA:="CCAUX=cc:SHARE_ZLIB=-lz"}
+: ${PKG_GHOSTSCRIPT_ENV_VARS_EXTRA:="CCAUX=cc:CFLAGSAUX=${DEFAULT_CFLAGS} -L${PREFIX}/lib:LDFLAGSAUX=-L${PREFIX}/lib:SHARE_ZLIB=-lz"}
+: ${PKG_GHOSTSCRIPT_MAKEFLAGS_BUILD_EXTRA:="TARGET_ARCH_FILE=${BUILD_WORKDIR}/ghostscript-native-${DEFAULT_TARGET}/ghostscript-${PKG_GHOSTSCRIPT_VERSION}/arch/${DEFAULT_TARGET}.h"}
: ${PKG_HASTYHEX_URLS_GIT:="hastyhex=https://github.com/skeeto/hastyhex.git@master"};
: ${PKG_HASTYHEX_IN_TREE:=1};
: ${PKG_HASTYHEX_CFLAGS_BUILD_EXTRA:="-g3 -O0 -ansi -pedantic -funroll-loops"};