Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2006 17:48:08 +0000 (UTC)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Gabor Kovesdan <gabor@FreeBSD.org>
Subject:   ports/103105: [patch] irc/gseen.mod
Message-ID:  <20060910174808.2478DB821@trillian.nitro.dk>
Resent-Message-ID: <200609101750.k8AHoLBL061468@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060910174808.2478DB821>