From cd03765d17206b32e623f3d694176207d094307f Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Sun, 8 Jun 2014 10:19:25 +0000 Subject: [PATCH] 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 --- devel/py-sip/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}