ports/103105: [patch] irc/gseen.mod
Gabor Kovesdan
gabor at FreeBSD.org
Sun Sep 10 17:50:32 UTC 2006
>Number: 103105
>Category: ports
>Synopsis: [patch] irc/gseen.mod
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 10 17:50:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gabor Kovesdan
>Release: FreeBSD 7.0-CURRENT amd64
>Organization:
n/a
>Environment:
System: FreeBSD trillian.nitro.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sat Aug 19 14:56:13 UTC 2006 root at trillian.nitro.dk:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
- Respect CFLAGS
(Also tried to make it respect CC but it fails to compile then somehow)
>How-To-Repeat:
>Fix:
--- gseen.mod.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/irc/gseen.mod/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile 16 Aug 2006 16:22:31 -0000 1.6
+++ Makefile 10 Sep 2006 17:15:39 -0000
@@ -33,6 +33,12 @@
@${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
--- gseen.mod.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list