aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2016-06-04 23:48:55 +0800
committerantoine <antoine@FreeBSD.org>2016-06-04 23:48:55 +0800
commit01bfca5be34eec3be7ea7ec60c6968122ad858b7 (patch)
tree7bc47cc130ae623388808a53a2af820bd2400627 /ports-mgmt
parenteda93acabb984a3f5dc59002a95680c5360b3373 (diff)
downloadfreebsd-ports-gnome-01bfca5be34eec3be7ea7ec60c6968122ad858b7.tar.gz
freebsd-ports-gnome-01bfca5be34eec3be7ea7ec60c6968122ad858b7.tar.zst
freebsd-ports-gnome-01bfca5be34eec3be7ea7ec60c6968122ad858b7.zip
Ignore on the package builders
Reported by: pkg-fallout
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/py-pytoport/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/ports-mgmt/py-pytoport/Makefile b/ports-mgmt/py-pytoport/Makefile
index 0d7b122f8570..7dd190b48e63 100644
--- a/ports-mgmt/py-pytoport/Makefile
+++ b/ports-mgmt/py-pytoport/Makefile
@@ -23,4 +23,10 @@ USES= python:3.3+
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) && ${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>