aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript-gpl/Makefile
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2002-01-14 23:06:04 +0800
committersf <sf@FreeBSD.org>2002-01-14 23:06:04 +0800
commit04665b405175b28c12d28afd3385ced309ea3c43 (patch)
treee978a16ee3bbe15b4f1b5cc6963051d71e6fd048 /print/ghostscript-gpl/Makefile
parentc6cde009e25cb563db519b33816a1fbb23145375 (diff)
downloadfreebsd-ports-gnome-04665b405175b28c12d28afd3385ced309ea3c43.tar.gz
freebsd-ports-gnome-04665b405175b28c12d28afd3385ced309ea3c43.tar.zst
freebsd-ports-gnome-04665b405175b28c12d28afd3385ced309ea3c43.zip
o fix build of HPinkjet driver.
o change WWW. PR: 33797 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'print/ghostscript-gpl/Makefile')
-rw-r--r--print/ghostscript-gpl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile
index ead4761f1346..6e4971d8732e 100644
--- a/print/ghostscript-gpl/Makefile
+++ b/print/ghostscript-gpl/Makefile
@@ -170,8 +170,9 @@ post-patch:
${PERL} -pi -e 's|\. de|\.|g' \
${WRKSRC}/src/unixinst.mak
# for HPinkjet driver
- ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \
- s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure
+ ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS -O0"|g ; \
+ s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS -O0"|g' \
+ ${WRKSRC}/${HPIJS_NAME}/configure
find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
's|#include <malloc.h>||g'