diff options
author | krion <krion@FreeBSD.org> | 2005-04-21 23:20:41 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-04-21 23:20:41 +0800 |
commit | c9b1e2907b308560ee5322e076723c74f346f906 (patch) | |
tree | 14634c29693cda43a458ce098ee2f7262abbee5b /graphics/fig2pstricks | |
parent | 7080d5cb93a4f3ab3b3aa1c17ad7494da95a5f37 (diff) | |
download | freebsd-ports-graphics-c9b1e2907b308560ee5322e076723c74f346f906.tar.gz freebsd-ports-graphics-c9b1e2907b308560ee5322e076723c74f346f906.tar.zst freebsd-ports-graphics-c9b1e2907b308560ee5322e076723c74f346f906.zip |
Support CC properly
PR: ports/80204
Submitted by: Ports Fury
Diffstat (limited to 'graphics/fig2pstricks')
-rw-r--r-- | graphics/fig2pstricks/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/fig2pstricks/Makefile b/graphics/fig2pstricks/Makefile index 90cd2ca2d82..6f3ddf1242f 100644 --- a/graphics/fig2pstricks/Makefile +++ b/graphics/fig2pstricks/Makefile @@ -20,7 +20,8 @@ USE_GMAKE= yes PLIST_FILES= bin/fig2pstricks post-patch: - @${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|gcc|$$(CC)|g ; \ + s|^CFLAGS|#CFLAGS|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |