Bug 186980 - [patch] mail/cclient ignores CFLAGS
Summary: [patch] mail/cclient ignores CFLAGS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Anders Nordby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-23 15:40 UTC by Adam Weinberger
Modified: 2014-03-09 16:10 UTC (History)
0 users

See Also:


Attachments
cclient.patch (276 bytes, patch)
2014-02-23 15:40 UTC, Adam Weinberger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Weinberger freebsd_committer 2014-02-23 15:40:00 UTC
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.

Fix: The attached one-line patch solves this problem.
Comment 1 Edwin Groothuis freebsd_committer 2014-02-23 15:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anders

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2014-03-09 16:02:27 UTC
Author: adamw
Date: Sun Mar  9 16:02:19 2014
New Revision: 347654
URL: http://svnweb.freebsd.org/changeset/ports/347654
QAT: https://qat.redports.org/buildarchive/r347654/

Log:
  The cclient build system clobbers CFLAGS, but we can pass our own
  in EXTRACFLAGS.
  
  PR:		ports/186980
  Approved by:	maintainer timeout

Modified:
  head/mail/cclient/Makefile

Modified: head/mail/cclient/Makefile
==============================================================================
--- head/mail/cclient/Makefile	Sun Mar  9 15:54:52 2014	(r347653)
+++ head/mail/cclient/Makefile	Sun Mar  9 16:02:19 2014	(r347654)
@@ -48,6 +48,7 @@ MAKE_ARGS+=	SSLTYPE=unix.nopwd SSLDIR=${
 .endif
 
 WRKSRC=		${WRKDIR}/${DISTNAME}
+MAKE_ARGS+=	EXTRACFLAGS="${CFLAGS}"
 
 SHLIBBASE=	c-client4
 SHLIBMAJ=	9
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Adam Weinberger freebsd_committer 2014-03-09 16:02:38 UTC
State Changed
From-To: open->closed

Committed.