aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript-gnu/Makefile
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2002-01-14 22:57:59 +0800
committersf <sf@FreeBSD.org>2002-01-14 22:57:59 +0800
commit25f6501d04b4de5968a13eb19c3d3489ed1c6604 (patch)
treef53b65214d771359944eeb9e582d41b0c4061e4e /print/ghostscript-gnu/Makefile
parent8dd5f00e882ec54ec3b28a25246c9c99735eadce (diff)
downloadfreebsd-ports-gnome-25f6501d04b4de5968a13eb19c3d3489ed1c6604.tar.gz
freebsd-ports-gnome-25f6501d04b4de5968a13eb19c3d3489ed1c6604.tar.zst
freebsd-ports-gnome-25f6501d04b4de5968a13eb19c3d3489ed1c6604.zip
o fix build of HPinkjet driver.
o change WWW. PR: 33798 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'print/ghostscript-gnu/Makefile')
-rw-r--r--print/ghostscript-gnu/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile
index bcb340444b38..5d7a4d592c68 100644
--- a/print/ghostscript-gnu/Makefile
+++ b/print/ghostscript-gnu/Makefile
@@ -165,8 +165,9 @@ post-patch:
${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
${WRKSRC}/src/unix-gcc.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'