ports/166180: [PATCH] mail/exim: configure phase fails with CFLAGS containing a comma

Greg Larkin glarkin at FreeBSD.org
Fri Mar 16 16:10:02 UTC 2012


>Number:         166180
>Category:       ports
>Synopsis:       [PATCH] mail/exim: configure phase fails with CFLAGS containing a comma
>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:   Fri Mar 16 16:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Greg Larkin
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD amd64_82.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
>Description:
Changed the sed delimiter character from a comma to a vertical bar
to avoid a problem when CFLAGS contains a comma.

Port maintainer (rea at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_4 (mode: change, diff: CVS)
>How-To-Repeat:
Add this to /etc/make.conf and attempt to build the port:

WITH_OPENSSL_BASE=yes
USE_OPENSSL_RPATH=yes
>Fix:

--- exim-4.77_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/exim/Makefile,v
retrieving revision 1.261
diff -u -r1.261 Makefile
--- Makefile	14 Feb 2012 12:45:21 -0000	1.261
+++ Makefile	16 Mar 2012 15:56:25 -0000
@@ -188,7 +188,7 @@
 EXTRA_PATCHES+=	`${FIND} ${PATCHDIR} -name 'wishlist-*.patch'`
 .endif
 
-SEDLIST+=	-e 's,XX_CFLAGS_XX,${CFLAGS},' \
+SEDLIST+=	-e 's|XX_CFLAGS_XX|${CFLAGS}|' \
 		-e 's,XX_PREFIX_XX,${PREFIX},' \
 		-e 's,XX_LOCALBASE_XX,${LOCALBASE},' \
 		-e 's,XX_LOG_FILE_PATH_XX,${LOG_FILE_PATH},' \
--- exim-4.77_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list