From 86566abd1137de95327fcf4cdbe8b8ad44331907 Mon Sep 17 00:00:00 2001 From: erwin Date: Sun, 17 Sep 2006 16:06:47 +0000 Subject: Respect CFLAGS PR: 103105 Submitted by: Gabor Kovesdan Approved by: maintainer --- irc/gseen.mod/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'irc/gseen.mod') 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 -- cgit