diff options
author | jdolecek <jdolecek> | 2010-11-11 21:07:13 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2010-11-11 21:07:13 +0000 |
commit | 089eae2481c4f6cc997ccba3bede035d80139619 (patch) | |
tree | 820e2af8e4b614bd9b85d6e93734b3ee4e167d89 /devel | |
parent | d2c736693b823d8df8ffcc5a04056e0d93ae501f (diff) | |
download | pkgsrc-089eae2481c4f6cc997ccba3bede035d80139619.tar.gz |
make sure to build against pkgsrc subversion
fix build on MacOS X - avoid absolute paths (they are filtered out by gcc
wrapper), and use GNU make
bump PKGREVISION
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-pysvn/Makefile | 8 | ||||
-rw-r--r-- | devel/py-pysvn/distinfo | 3 | ||||
-rw-r--r-- | devel/py-pysvn/patches/patch-ab | 13 |
3 files changed, 20 insertions, 4 deletions
diff --git a/devel/py-pysvn/Makefile b/devel/py-pysvn/Makefile index e5f832b868a..6def1356f2c 100644 --- a/devel/py-pysvn/Makefile +++ b/devel/py-pysvn/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.2 2010/09/07 16:50:58 drochner Exp $ +# $NetBSD: Makefile,v 1.3 2010/11/11 21:07:13 jdolecek Exp $ # VERS= 1.7.2 DISTNAME= pysvn-${VERS} PKGNAME= ${PYPKGPREFIX}-pysvn-${VERS} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= http://pysvn.barrys-emacs.org/source_kits/ @@ -18,6 +18,7 @@ PKG_DESTDIR_SUPPORT= user-destdir DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat USE_LANGUAGES= c c++ +USE_TOOLS= gmake PSVNSRC= Source PYSETUP= setup.py @@ -34,7 +35,8 @@ do-configure: cd ${WRKSRC}/${PSVNSRC} && ${PYTHONBIN} ${PYSETUP} backport .endif cd ${WRKSRC}/${PSVNSRC} && \ - ${PYTHONBIN} ${PYSETUP} configure --fixed-module-name + ${PYTHONBIN} ${PYSETUP} configure --fixed-module-name \ + --svn-root-dir=${BUILDLINK_PREFIX.subversion-base} do-install: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${PYSITELIB}/pysvn diff --git a/devel/py-pysvn/distinfo b/devel/py-pysvn/distinfo index 51c1fe8eea4..5bdd49da558 100644 --- a/devel/py-pysvn/distinfo +++ b/devel/py-pysvn/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/08/15 10:33:20 drochner Exp $ +$NetBSD: distinfo,v 1.2 2010/11/11 21:07:13 jdolecek Exp $ SHA1 (pysvn-1.7.2.tar.gz) = e8afa0c1f56c82f13f5e17c7dd120cfa82c8a24f RMD160 (pysvn-1.7.2.tar.gz) = 85026cff619aeefde622b677f7b6697269beab4f Size (pysvn-1.7.2.tar.gz) = 333643 bytes SHA1 (patch-aa) = 9b4dad10ee5238b409fa00c986f11dc25ef97e72 +SHA1 (patch-ab) = 7eb56e7c84dc58100f1182acae3dc21542c41f22 diff --git a/devel/py-pysvn/patches/patch-ab b/devel/py-pysvn/patches/patch-ab new file mode 100644 index 00000000000..1473d4f79b7 --- /dev/null +++ b/devel/py-pysvn/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2010/11/11 21:07:14 jdolecek Exp $ + +--- Source/setup_configure.py.orig 2010-11-11 19:59:49.000000000 +0000 ++++ Source/setup_configure.py +@@ -932,7 +932,7 @@ LDLIBS= \ + if self.verbose: + print( 'Info: Checking for %s in %s' % (name, full_check_file) ) + if os.path.exists( full_check_file ): +- return os.path.abspath( dirname ) ++ return dirname + + raise SetupError( 'cannot find %s %s - use %s' % (name, check_file, kw) ) + |