From 64e58a593edf4160719ac5fbf7882e4c235cd79c Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 4 Sep 2010 15:57:16 +0000 Subject: This package now needs "py-expat" under Mac OS X for Python 2.6.* because determinng the operating system version involves parsing XML data. --- devel/py-setuptools/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'devel') 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} -- cgit v1.2.3