diff options
author | sf <sf@FreeBSD.org> | 2002-01-19 12:28:19 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2002-01-19 12:28:19 +0800 |
commit | bc23f1f9bb7ca5d7c513763192c9d2f9b06bc22e (patch) | |
tree | 3d80a0632da072acbfff79f4e2ee8df4d4edd864 /print/ghostscript-gpl | |
parent | 521b997b262d3f93023b3bfc858b4caa8df5dfab (diff) | |
download | freebsd-ports-gnome-bc23f1f9bb7ca5d7c513763192c9d2f9b06bc22e.tar.gz freebsd-ports-gnome-bc23f1f9bb7ca5d7c513763192c9d2f9b06bc22e.tar.zst freebsd-ports-gnome-bc23f1f9bb7ca5d7c513763192c9d2f9b06bc22e.zip |
support CFLAGS/CXXFLAGS properly.
PR: 34026
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'print/ghostscript-gpl')
-rw-r--r-- | print/ghostscript-gpl/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index 6f4ffd14b8a2..54a6d8820eb3 100644 --- a/print/ghostscript-gpl/Makefile +++ b/print/ghostscript-gpl/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' |