svn commit: r360798 - head/graphics/gdchart
John Marino
marino at FreeBSD.org
Sat Jul 5 18:55:34 UTC 2014
Author: marino
Date: Sat Jul 5 18:55:33 2014
New Revision: 360798
URL: http://svnweb.freebsd.org/changeset/ports/360798
QAT: https://qat.redports.org/buildarchive/r360798/
Log:
graphics/gdchart: Replace wrong PROFILE option
The profile library gets built if NO_PROFILE is not set. All the
PROFILE option was doing was manually changing the pkg-plist which
would only work if the PROFILE option was manually synchronized with
the make.conf option (they are by default, so it worked accidently).
Change PLIST_SUB to switch based on NO_PROFILE as is done with other
ports.
Modified:
head/graphics/gdchart/Makefile
Modified: head/graphics/gdchart/Makefile
==============================================================================
--- head/graphics/gdchart/Makefile Sat Jul 5 18:53:18 2014 (r360797)
+++ head/graphics/gdchart/Makefile Sat Jul 5 18:55:33 2014 (r360798)
@@ -23,9 +23,13 @@ USE_LDCONFIG= yes
EXAMPLES= ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c
-OPTIONS_DEFINE= DOCS EXAMPLES PROFILE
-OPTIONS_DEFAULT=PROFILE
-OPTIONS_SUB= yes
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+.if defined(NO_PROFILE)
+PLIST_SUB+= PROFILE="@comment "
+.else
+PLIST_SUB+= PROFILE=""
+.endif
post-patch:
${REINPLACE_CMD} \
More information about the svn-ports-head
mailing list