aboutsummaryrefslogtreecommitdiffstats
path: root/irc/gseen.mod
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-09-18 00:06:47 +0800
committererwin <erwin@FreeBSD.org>2006-09-18 00:06:47 +0800
commit86566abd1137de95327fcf4cdbe8b8ad44331907 (patch)
treeb70f47239596267f9dc269a3d6a1b26b02b76aa1 /irc/gseen.mod
parent704a7edcafc87dd737738c1d20aa3bd504830610 (diff)
downloadfreebsd-ports-gnome-86566abd1137de95327fcf4cdbe8b8ad44331907.tar.gz
freebsd-ports-gnome-86566abd1137de95327fcf4cdbe8b8ad44331907.tar.zst
freebsd-ports-gnome-86566abd1137de95327fcf4cdbe8b8ad44331907.zip
Respect CFLAGS
PR: 103105 Submitted by: Gabor Kovesdan <gabor@FreeBSD.org> Approved by: maintainer
Diffstat (limited to 'irc/gseen.mod')
-rw-r--r--irc/gseen.mod/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/irc/gseen.mod/Makefile b/irc/gseen.mod/Makefile
index eed0861e7b69..57357497e375 100644
--- a/irc/gseen.mod/Makefile
+++ b/irc/gseen.mod/Makefile
@@ -33,6 +33,12 @@ do-extract:
@${CP} -R ${WRKDIRPREFIX}${.CURDIR}/../../irc/eggdrop/work/eggdrop1.6.18 ${WRKSRC}
cd ${WRKSRC}/src/mod && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS}
+post-extract:
+ ${REINPLACE_CMD} -e 's|"-g -O2"|"${CFLAGS}"|' \
+ -e 's|"-g"|"${CFLAGS}"|' \
+ -e 's|"-O2"|"${CFLAGS}"|' \
+ ${WRKSRC}/configure
+
pre-build:
@${ECHO_CMD} gseen.mod >> ${WRKSRC}/.modules
@${ECHO_CMD} gseen.mod >> ${WRKSRC}/.known_modules