aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mps-youtube
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-07-24 23:19:08 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-07-24 23:19:08 +0000
commit7fe8ff72d661167f65a5659a0115a336cd6a0827 (patch)
tree7df37f1d5eb598c6cc5a883959aa44d643a67650 /multimedia/mps-youtube
parent05ef58cd207518d5e47809b2480fa57fd33b1085 (diff)
downloadports-7fe8ff72d661167f65a5659a0115a336cd6a0827.tar.gz
ports-7fe8ff72d661167f65a5659a0115a336cd6a0827.zip
For now, ignore on the package builders when default python version is not 3.2+
Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=392848
Diffstat (limited to 'multimedia/mps-youtube')
-rw-r--r--multimedia/mps-youtube/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/mps-youtube/Makefile b/multimedia/mps-youtube/Makefile
index 50ca4f08eb72..1af2cbc0e52f 100644
--- a/multimedia/mps-youtube/Makefile
+++ b/multimedia/mps-youtube/Makefile
@@ -45,4 +45,10 @@ USE_PYTHON= autoplist distutils
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
-.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>