ports/186980: [patch] mail/cclient ignores CFLAGS

Adam Weinberger adamw at FreeBSD.org
Sun Feb 23 15:40:00 UTC 2014


>Number:         186980
>Category:       ports
>Synopsis:       [patch] mail/cclient ignores CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 23 15:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Adam Weinberger
>Release:        FreeBSD 10.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD apnoea.adamw.org 10.0-STABLE FreeBSD 10.0-STABLE #0: Sun Feb 2 21:58:45 EST 2014 root at apnoea.adamw.org:/usr/obj/usr/src/sys/PEEP i386

>Description:

cclient uses some bizarre build system---maybe it's normal in Washington.
It helpfully clobbers CFLAGS, but we can restore it by simply passing
CFLAGS to the Makefile as EXTRACFLAGS.

>How-To-Repeat:
>Fix:

The attached one-line patch solves this problem.

--- cclient.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 345738)
+++ Makefile	(working copy)
@@ -48,6 +48,7 @@
 .endif
 
 WRKSRC=		${WRKDIR}/${DISTNAME}
+MAKE_ARGS+=	EXTRACFLAGS="${CFLAGS}"
 
 SHLIBBASE=	c-client4
 SHLIBMAJ=	9
--- cclient.patch ends here ---


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


More information about the freebsd-ports-bugs mailing list