aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2017-10-08 16:07:38 +0800
committerantoine <antoine@FreeBSD.org>2017-10-08 16:07:38 +0800
commit9d621acfafea1cd79681389666219de0796e481a (patch)
tree6bfa7e088c60395d2d8c6c1229619144f14850e1 /devel
parent567159bcc9274522d52929350a0805ac13ccad18 (diff)
downloadfreebsd-ports-gnome-9d621acfafea1cd79681389666219de0796e481a.tar.gz
freebsd-ports-gnome-9d621acfafea1cd79681389666219de0796e481a.tar.zst
freebsd-ports-gnome-9d621acfafea1cd79681389666219de0796e481a.zip
Ignore on the package builders
Reported by: pkg-fallout MFH: 2017Q4
Diffstat (limited to 'devel')
-rw-r--r--devel/py-doit/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/py-doit/Makefile b/devel/py-doit/Makefile
index eb1f5e8c2274..5e477f8a19a7 100644
--- a/devel/py-doit/Makefile
+++ b/devel/py-doit/Makefile
@@ -23,9 +23,14 @@ USE_PYTHON= distutils autoplist
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+.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>