diff options
author | epg <epg@pkgsrc.org> | 2004-11-27 02:35:52 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2004-11-27 02:35:52 +0000 |
commit | 760b89670a7c7870cb86af2626e3844d7953e2fe (patch) | |
tree | 981a16e4ce58fce14d257893507f9d78654a1906 /devel/py-subversion | |
parent | 8caf9360c6e67300c12e082a7a07c185158befaf (diff) | |
download | pkgsrc-760b89670a7c7870cb86af2626e3844d7953e2fe.tar.gz |
We used to avoid building all of Subversion again when building
sub-packages (p5-subversion, py-subversion, and ap2-subversion) by
hand-hacking build-outputs.mk, which was a big pain. Consequently,
since the 1.0.7 update, pkgsrc has re-built the whole thing for each
subpackage. This is annoying and makes p5-subversion not work with
pkgviews on Darwin.
Now, we'll fix the problem by patching gen-make.py, which generates
build-outputs.mk. I may even be able to commit this change upstream.
devel/subversion-base/Makefile:
Generate build-outputs.mk hack.
devel/p5-subversion/Makefile:
devel/py-subversion/Makefile:
www/ap2-subversion/Makefile:
Replace build-outputs.mk in post-patch.
Diffstat (limited to 'devel/py-subversion')
-rw-r--r-- | devel/py-subversion/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/py-subversion/Makefile b/devel/py-subversion/Makefile index 1bd865e1cb9..389f180f093 100644 --- a/devel/py-subversion/Makefile +++ b/devel/py-subversion/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2004/10/23 06:11:09 epg Exp $ +# $NetBSD: Makefile,v 1.11 2004/11/27 02:35:52 epg Exp $ PKGNAME= ${PYPKGPREFIX}-subversion-${SVNVER} COMMENT= Python bindings and tools for Subversion @@ -20,6 +20,10 @@ MAKEFLAGS+= swig_pydir=${LOCALBASE}/${PYSITELIB}/libsvn \ TEST_TARGET= all check +post-patch: + ${RM} ${WRKSRC}/build-outputs.mk + ${CP} ${FILESDIR}/build-outputs.mk ${WRKSRC}/build-outputs.mk + post-install: ${RM} ${LOCALBASE}/${PYSITELIB}/libsvn/*.a ${RM} ${LOCALBASE}/${PYSITELIB}/libsvn/*.la |