aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2014-06-09 05:14:08 +0800
committerrakuco <rakuco@FreeBSD.org>2014-06-09 05:14:08 +0800
commit60ebd140b28c891012483852b112ceaae3bf6f67 (patch)
treec1cf0ae96c6e32c8e7c4d0c59944670243e84dbf
parenta66f1622401710571bba12deb56fefed4d48e075 (diff)
downloadfreebsd-ports-gnome-60ebd140b28c891012483852b112ceaae3bf6f67.tar.gz
freebsd-ports-gnome-60ebd140b28c891012483852b112ceaae3bf6f67.tar.zst
freebsd-ports-gnome-60ebd140b28c891012483852b112ceaae3bf6f67.zip
Enable debug symbols based on the right option.
Fix a regression introduced in r311475, which checked for the value of the API option instead of WITH_DEBUG like the other py-qt4 ports. In practice, this meant py-qt4-network was built with debug and tracing symbols by default. MFH: 2014Q2
-rw-r--r--net/py-qt4-network/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/py-qt4-network/Makefile b/net/py-qt4-network/Makefile
index bdea37fa766c..38214302f66e 100644
--- a/net/py-qt4-network/Makefile
+++ b/net/py-qt4-network/Makefile
@@ -3,6 +3,7 @@
PORTNAME= network
PORTVERSION= ${PYQT4_VERSION}
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net devel python
MASTER_SITES= ${MASTER_SITES_PYQT4}
@@ -50,7 +51,7 @@ ARGS+= --qsci-api --qsci-api-destdir=${QSCIDIR}
PLIST_SUB+= API=""
.endif
-.if ${PORT_OPTIONS:MAPI}
+.if defined(WITH_DEBUG)
ARGS+= --debug --trace
.endif