aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2017-10-08 08:20:15 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2017-10-08 08:20:15 +0000
commitc4ee4e8f8b434add0397d6bd0350be0b250b0e92 (patch)
tree6eec4618f62aabe92c0a2bad74df28b0c6026324 /net-mgmt
parent99946fb4d765dd64f6b292864c1eed96ed663147 (diff)
downloadports-c4ee4e8f8b434add0397d6bd0350be0b250b0e92.tar.gz
ports-c4ee4e8f8b434add0397d6bd0350be0b250b0e92.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/py3-dnsdiag/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-mgmt/py3-dnsdiag/Makefile b/net-mgmt/py3-dnsdiag/Makefile
index 3aa5004c628e..128466089e1f 100644
--- a/net-mgmt/py3-dnsdiag/Makefile
+++ b/net-mgmt/py3-dnsdiag/Makefile
@@ -18,4 +18,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.15.0:dns/py-dnspython \
USES= python:3.3+
USE_PYTHON= autoplist distutils
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) && !defined(PACKAGE_BUILDING_FLAVORS) && \
+ ${PYTHON_VER} != ${PYTHON_DEFAULT}
+IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
+.endif
+
+.include <bsd.port.post.mk>