aboutsummaryrefslogtreecommitdiff
path: root/math/qtiplot/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-05-12 11:48:49 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-05-12 11:48:49 +0000
commit7678193c3d2d11d8aacac35c5406a374326be6eb (patch)
treefcff4e051f035837ff7cab73432d274b96171613 /math/qtiplot/Makefile
parente59a9684168aad56d6d455a49d69fab3655dae52 (diff)
downloadports-7678193c3d2d11d8aacac35c5406a374326be6eb.tar.gz
ports-7678193c3d2d11d8aacac35c5406a374326be6eb.zip
Notes
Diffstat (limited to 'math/qtiplot/Makefile')
-rw-r--r--math/qtiplot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/qtiplot/Makefile b/math/qtiplot/Makefile
index 1434caa159ef..f41cfb52ab95 100644
--- a/math/qtiplot/Makefile
+++ b/math/qtiplot/Makefile
@@ -33,7 +33,7 @@ DESKTOP_ENTRIES="QtiPlot" "Data analysis and plotting" \
"${DATADIR}/qtiplot.png" \
"qtiplot" "" false
-OPTIONS_DEFINE= DOCS PYTHON NLS
+OPTIONS_DEFINE= DOCS PYTHON NLS DEBUG
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
DOCS_DESC= Install the QtiPlot Handbook
@@ -89,7 +89,7 @@ post-patch:
${WRKSRC}/fitPlugins/*/*.pro
@${REINPLACE_CMD} -e '/^system($$$$LUPDATE/d; /^system($$$$LRELEASE/d' \
${WRKSRC}/${PORTNAME}/qtiplot.pro
-.if defined(WITH_DEBUG)
+.if ${PORT_OPTIONS:MDEBUG}
@${REINPLACE_CMD} -e \
"/^CONFIG.*release/s|release|debug|" \
${WRKSRC}/build.conf