aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2014-06-08 18:19:25 +0800
committerrakuco <rakuco@FreeBSD.org>2014-06-08 18:19:25 +0800
commit06dd15ae04850f1b2cdec4ccaa657fb93eaf4fc1 (patch)
tree705bcb5e171e649f6aa90773f16eb2f242393b2c
parente4d5dc7d95e68f41e6105072d040e06a40de22e6 (diff)
downloadfreebsd-ports-gnome-06dd15ae04850f1b2cdec4ccaa657fb93eaf4fc1.tar.gz
freebsd-ports-gnome-06dd15ae04850f1b2cdec4ccaa657fb93eaf4fc1.tar.zst
freebsd-ports-gnome-06dd15ae04850f1b2cdec4ccaa657fb93eaf4fc1.zip
Set PYTHON_PY3K_PLIST_HACK to adjust the plist for Python >= 3.2.0.
Since this port does not use distutils/setuptools and we manually generate the .pyc/.pyo files, we need to set PYTHON_PY3K_PLIST_HACK so that the cache files end up in the right directory if Python >= 3.2.0 is used due to PEP-3147. PR: 188150 MFH: 2014Q2
-rw-r--r--devel/py-sip/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/py-sip/Makefile b/devel/py-sip/Makefile
index 5af701404496..34685bd223c2 100644
--- a/devel/py-sip/Makefile
+++ b/devel/py-sip/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sip
PORTVERSION= ${SIP_VERSION}
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITES_SIP} ${MASTER_SITE_LOCAL}
@@ -12,7 +13,8 @@ DISTNAME= ${SIP_DISTNAME}
MAINTAINER= kde@FreeBSD.org
COMMENT= Python to C and C++ bindings generator
-USE_PYTHON= yes
+USE_PYTHON= yes
+PYTHON_PY3K_PLIST_HACK= yes
DATADIR= ${PREFIX}/share/py-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}