diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2017-10-08 08:20:15 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2017-10-08 08:20:15 +0000 |
commit | c4ee4e8f8b434add0397d6bd0350be0b250b0e92 (patch) | |
tree | 6eec4618f62aabe92c0a2bad74df28b0c6026324 /net-mgmt | |
parent | 99946fb4d765dd64f6b292864c1eed96ed663147 (diff) | |
download | ports-c4ee4e8f8b434add0397d6bd0350be0b250b0e92.tar.gz ports-c4ee4e8f8b434add0397d6bd0350be0b250b0e92.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/py3-dnsdiag/Makefile | 9 |
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> |