aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2017-12-12 17:03:39 +0800
committerantoine <antoine@FreeBSD.org>2017-12-12 17:03:39 +0800
commit8b1fa44cb6827042ecfb7cba2c6dae57bec28543 (patch)
treeab6660d4c60a6ff597fd58120506913e91fd384f
parent51f1584f1f69262ff4f2fee0e667efd99762b05f (diff)
downloadfreebsd-ports-gnome-8b1fa44cb6827042ecfb7cba2c6dae57bec28543.tar.gz
freebsd-ports-gnome-8b1fa44cb6827042ecfb7cba2c6dae57bec28543.tar.zst
freebsd-ports-gnome-8b1fa44cb6827042ecfb7cba2c6dae57bec28543.zip
Allow building with DEFAULT_VERSIONS=python=3.x
-rw-r--r--devel/py-pyshapelib/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/devel/py-pyshapelib/Makefile b/devel/py-pyshapelib/Makefile
index 861701b29fee..544315b5451b 100644
--- a/devel/py-pyshapelib/Makefile
+++ b/devel/py-pyshapelib/Makefile
@@ -14,7 +14,7 @@ COMMENT= Python bindings for Shapelib
LICENSE= LGPL20
-USES= python
+USES= python:2.7
USE_LDCONFIG= yes
USE_PYTHON= distutils
@@ -42,10 +42,4 @@ post-install-EXAMPLES-on:
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_MAJOR_VER} != 2
-IGNORE= does not work with ${PYTHON_VERSION}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>