aboutsummaryrefslogtreecommitdiff
path: root/graphics/gdchart/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-19 01:47:10 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-19 01:47:10 +0000
commit24578aea5b94637c461ce53711fb6d7abc0129d9 (patch)
tree76268305f78e6483925c0b878b9b962416156c96 /graphics/gdchart/Makefile
parentd96747439b9809788bcf450af339091c09bb0526 (diff)
downloadports-24578aea5b94637c461ce53711fb6d7abc0129d9.tar.gz
ports-24578aea5b94637c461ce53711fb6d7abc0129d9.zip
Notes
Diffstat (limited to 'graphics/gdchart/Makefile')
-rw-r--r--graphics/gdchart/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/gdchart/Makefile b/graphics/gdchart/Makefile
index e717f36bcf6a..55776a120608 100644
--- a/graphics/gdchart/Makefile
+++ b/graphics/gdchart/Makefile
@@ -25,6 +25,12 @@ MAKE_ARGS= PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}"
DOCS= README
EXAMPLES= ft_samp.c gdc_pie_samp.c gdc_samp1.c gdc_samp2.c
+.if defined(NOPROFILE)
+PLIST_SUB+= PROFILE="@comment "
+.else
+PLIST_SUB+= PROFILE=
+.endif
+
post-patch:
${REINPLACE_CMD} \
-e 's/^#ifdef HAVE_JPEG/#ifndef NO_JPEG/' \