diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-04-21 15:20:41 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-04-21 15:20:41 +0000 |
commit | b5a0d3fe9226826fe3f6c0f82cdd3b99f53468fe (patch) | |
tree | 8b0c042fa2c4e701df00ffc1b02cbdd68fa7f272 /graphics | |
parent | Update to version 1.2 (diff) |
Support CC properly
PR: ports/80204
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=133862
Diffstat (limited to 'graphics')
-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 90cd2ca2d824..6f3ddf1242f9 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 |