Date: Sat, 5 Jul 2014 18:55:34 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360798 - head/graphics/gdchart Message-ID: <201407051855.s65ItY9G008455@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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} \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407051855.s65ItY9G008455>