Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 10:36:05 -0500 (EST)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186980: [patch] mail/cclient ignores CFLAGS
Message-ID:  <20140223153605.98E1A11FE8C@apnoea.adamw.org>
Resent-Message-ID: <201402231540.s1NFe05w028834@freefall.freebsd.org>

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

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



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