diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-03-07 00:33:17 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-03-07 00:33:17 +0800 |
commit | 3e25687a380a4dd06268ab5b6f10738551e0023d (patch) | |
tree | cf3fadf624685d8395d9c0fe95566dfdf05f2a40 /Mk | |
parent | afd9c620f00e642ca79678c4ef4da60085c34d9f (diff) | |
download | freebsd-ports-graphics-3e25687a380a4dd06268ab5b6f10738551e0023d.tar.gz freebsd-ports-graphics-3e25687a380a4dd06268ab5b6f10738551e0023d.tar.zst freebsd-ports-graphics-3e25687a380a4dd06268ab5b6f10738551e0023d.zip |
- Add slave port of devel/py-setuptools for different python versions (27, 32 and 33)
- Update Mk/bsd.python.mk to use new devel/py-setuptools{27|32|33}
PR: ports/187091
Submitted by: sunpoet (myself)
Discussed with: lwhsu, mva, koobs, crees
Exp-run by: bdrewery
With hat: python
MFH: 2014Q1
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.python.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk index 8ead231ee4c..f47c9ce84bb 100644 --- a/Mk/bsd.python.mk +++ b/Mk/bsd.python.mk @@ -411,10 +411,10 @@ PYTHONPREFIX_INCLUDEDIR= ${PYTHON_INCLUDEDIR:S;${PYTHONBASE};${PREFIX};} PYTHONPREFIX_LIBDIR= ${PYTHON_LIBDIR:S;${PYTHONBASE};${PREFIX};} PYTHONPREFIX_SITELIBDIR= ${PYTHON_SITELIBDIR:S;${PYTHONBASE};${PREFIX};} -_CURRENTPORT:= ${PKGNAMEPREFIX}${PORTNAME} -.if defined(USE_PYDISTUTILS) && ${_CURRENTPORT} != ${PYTHON_PKGNAMEPREFIX}setuptools -BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:${PORTSDIR}/devel/py-setuptools -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:${PORTSDIR}/devel/py-setuptools +_CURRENTPORT:= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} +.if defined(USE_PYDISTUTILS) && ${_CURRENTPORT:S/${PYTHON_SUFFIX}$//} != ${PYTHON_PKGNAMEPREFIX}setuptools +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:${PORTSDIR}/devel/py-setuptools${PYTHON_SUFFIX} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:${PORTSDIR}/devel/py-setuptools${PYTHON_SUFFIX} .endif # setuptools support |