diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2002-01-19 04:28:19 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2002-01-19 04:28:19 +0000 |
commit | 78999174a21d9ce45103087e98ffe59c103c9277 (patch) | |
tree | e5307b733033d182452a991d6b46f5c5b4dc590a /print/ghostscript8 | |
parent | 84fc70b00edc5875cbfc8f35ab0bda9900e4a995 (diff) | |
download | ports-78999174a21d9ce45103087e98ffe59c103c9277.tar.gz ports-78999174a21d9ce45103087e98ffe59c103c9277.zip |
support CFLAGS/CXXFLAGS properly.
PR: 34026
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes:
svn path=/head/; revision=53318
Diffstat (limited to 'print/ghostscript8')
-rw-r--r-- | print/ghostscript8/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile index 6f4ffd14b8a2..54a6d8820eb3 100644 --- a/print/ghostscript8/Makefile +++ b/print/ghostscript8/Makefile @@ -170,6 +170,9 @@ post-patch: ${PERL} -pi -e 's|\. de|\.|g' \ ${WRKSRC}/src/unixinst.mak # for HPinkjet driver + ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \ + s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \ + ${WRKSRC}/${HPIJS_NAME}/configure find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \ 's|#include <malloc.h>||g' |