diff options
author | erwin <erwin@FreeBSD.org> | 2006-09-17 16:06:47 +0000 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2006-09-17 16:06:47 +0000 |
commit | 86566abd1137de95327fcf4cdbe8b8ad44331907 (patch) | |
tree | b70f47239596267f9dc269a3d6a1b26b02b76aa1 /irc | |
parent | 704a7edcafc87dd737738c1d20aa3bd504830610 (diff) | |
download | FreeBSD-ports-86566abd1137de95327fcf4cdbe8b8ad44331907.zip FreeBSD-ports-86566abd1137de95327fcf4cdbe8b8ad44331907.tar.gz |
Respect CFLAGS
PR: 103105
Submitted by: Gabor Kovesdan <gabor@FreeBSD.org>
Approved by: maintainer
Diffstat (limited to 'irc')
-rw-r--r-- | irc/gseen.mod/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/irc/gseen.mod/Makefile b/irc/gseen.mod/Makefile index eed0861..5735749 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 |