aboutsummaryrefslogtreecommitdiff
path: root/graphics/png2ico/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-15 00:54:19 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-15 00:54:19 +0000
commit182a8259c23ddbbe3395066d3154a0175d07a7a7 (patch)
tree59fd5fec81201d5d6acd0687de5ee242feafef2e /graphics/png2ico/Makefile
parent3cc3febc2356a5657abfecf6496238a3a3862aae (diff)
Respect CFLAGS.
PR: 50961 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=78993
Diffstat (limited to 'graphics/png2ico/Makefile')
-rw-r--r--graphics/png2ico/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/png2ico/Makefile b/graphics/png2ico/Makefile
index 22bf2cfc2f37..b0a3af104d14 100644
--- a/graphics/png2ico/Makefile
+++ b/graphics/png2ico/Makefile
@@ -20,6 +20,10 @@ MAN1= png2ico.1
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
+USE_REINPLACE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin