Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2012 12:00:44 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        rea@FreeBSD.org
Subject:   ports/166180: [PATCH] mail/exim: configure phase fails with CFLAGS containing a comma
Message-ID:  <1331913644.433334.20843.nullmailer@sourcehosting.net>
Resent-Message-ID: <201203161610.q2GGA1Tb001041@freefall.freebsd.org>

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

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



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