summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2010-09-04 15:57:16 +0000
committertron <tron>2010-09-04 15:57:16 +0000
commit067ddc6d365092ff3ab185f745753021544a1090 (patch)
tree6eb5de0d2428a3ad367767ed363ea67b5a04324a
parente09e72be2bae12154ba3351d03b918c2ea4be86b (diff)
downloadpkgsrc-067ddc6d365092ff3ab185f745753021544a1090.tar.gz
This package now needs "py-expat" under Mac OS X for Python 2.6.* because
determinng the operating system version involves parsing XML data.
-rw-r--r--devel/py-setuptools/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/py-setuptools/Makefile b/devel/py-setuptools/Makefile
index 0e8aea1a986..70f7f8c3731 100644
--- a/devel/py-setuptools/Makefile
+++ b/devel/py-setuptools/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.17 2009/10/31 02:10:34 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.18 2010/09/04 15:57:16 tron Exp $
EGG_VERSION= 0.6c11
DISTNAME= setuptools-${EGG_VERSION}
EGG_NAME= setuptools-${EGG_VERSION}
PKGNAME= ${PYPKGPREFIX}-setuptools-${EGG_VERSION}
+PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://pypi.python.org/packages/source/s/setuptools/
@@ -44,6 +44,11 @@ PLIST.py24= yes
PLIST.py25= yes
.endif
+.if ${OPSYS} == "Darwin" && \
+ (${PYPKGPREFIX} != "py24" && ${PYPKGPREFIX} != "py25")
+DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+.endif
+
post-extract:
chmod -R go-w ${WRKSRC}