summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2010-09-04 15:57:16 +0000
committertron <tron@pkgsrc.org>2010-09-04 15:57:16 +0000
commit64e58a593edf4160719ac5fbf7882e4c235cd79c (patch)
tree6eb5de0d2428a3ad367767ed363ea67b5a04324a /devel
parent02dc5e068b8e4c9b604dbb0fcb33882505be52f9 (diff)
downloadpkgsrc-64e58a593edf4160719ac5fbf7882e4c235cd79c.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.
Diffstat (limited to 'devel')
-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}