aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-07-05 18:55:33 +0000
committerJohn Marino <marino@FreeBSD.org>2014-07-05 18:55:33 +0000
commit6d384ef0a319939ee5c53d826b8af67746346ad0 (patch)
tree44b759978e4e090ad61f48b0413f1dd9df2b65b6 /graphics
parentd05845f5a63024e0da067fd40dafe58d96155eb1 (diff)
downloadports-6d384ef0a319939ee5c53d826b8af67746346ad0.tar.gz
ports-6d384ef0a319939ee5c53d826b8af67746346ad0.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gdchart/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index 6f17307cbab9..9f4ec74f5933 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -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} \