Summary: | building print/c2ps fails with CFLAGS in /etc/make.conf | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | TsurutaniNaoki | ||||
Component: | Individual Port(s) | Assignee: | Hiroki Sato <hrs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | TsurutaniNaoki | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
TsurutaniNaoki
2013-05-02 07:30:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->hrs Over to maintainer (via the GNATS Auto Assign Tool) State Changed From-To: open->closed Should be fixed now. Thank you for your report! Author: hrs Date: Thu May 2 07:12:12 2013 New Revision: 317079 URL: http://svnweb.freebsd.org/changeset/ports/317079 Log: Fix a build breakage when CFLAGS is defined in make.conf. PR: ports/178292 Modified: head/print/c2ps/Makefile head/print/c2ps/files/patch-Makefile Modified: head/print/c2ps/Makefile ============================================================================== --- head/print/c2ps/Makefile Thu May 2 07:09:17 2013 (r317078) +++ head/print/c2ps/Makefile Thu May 2 07:12:12 2013 (r317079) @@ -13,7 +13,7 @@ COMMENT= A PostScript pretty-printer for LIB_DEPENDS= paper:${PORTSDIR}/print/libpaper -CFLAGS+= -I${LOCALBASE}/include +MAKE_ENV= CCFLAGS="${CFLAGS} -I${LOCALBASE}/include" MAN1= c2ps.1 PLIST_FILES= bin/c2ps Modified: head/print/c2ps/files/patch-Makefile ============================================================================== --- head/print/c2ps/files/patch-Makefile Thu May 2 07:09:17 2013 (r317078) +++ head/print/c2ps/files/patch-Makefile Thu May 2 07:12:12 2013 (r317079) @@ -1,5 +1,5 @@ --- Makefile.orig 1997-05-16 00:50:56.000000000 +0900 -+++ Makefile 2013-04-27 18:57:47.000000000 +0900 ++++ Makefile 2013-05-02 15:48:59.000000000 +0900 @@ -2,12 +2,12 @@ # Last modified: Sat Apr 19 1997 @@ -39,7 +39,7 @@ compile: c2ps.c - $(CC) $(PREP_OPTIONS) $(CCFLAGS) -o c2ps c2ps.c -+ $(CC) $(PREP_OPTIONS) $(CFLAGS) -o c2ps c2ps.c -L${LOCALBASE}/lib -lm -lpaper ++ $(CC) $(PREP_OPTIONS) $(CCFLAGS) -o c2ps c2ps.c -L${LOCALBASE}/lib -lm -lpaper clean: $(RM) c2ps *.o core *~ _______________________________________________ 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" |