summaryrefslogtreecommitdiff
path: root/devel/subversion-base/Makefile
diff options
context:
space:
mode:
authorepg <epg@pkgsrc.org>2004-11-27 02:35:52 +0000
committerepg <epg@pkgsrc.org>2004-11-27 02:35:52 +0000
commit760b89670a7c7870cb86af2626e3844d7953e2fe (patch)
tree981a16e4ce58fce14d257893507f9d78654a1906 /devel/subversion-base/Makefile
parent8caf9360c6e67300c12e082a7a07c185158befaf (diff)
downloadpkgsrc-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/subversion-base/Makefile')
-rw-r--r--devel/subversion-base/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/subversion-base/Makefile b/devel/subversion-base/Makefile
index 3701baf018b..279812dc46a 100644
--- a/devel/subversion-base/Makefile
+++ b/devel/subversion-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/11/23 04:21:34 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2004/11/27 02:35:53 epg Exp $
PKGNAME= subversion-base-${SVNVER}
COMMENT= Version control system, base programs and libraries
@@ -7,6 +7,8 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../subversion/Makefile.common"
+BUILD_DEFS+= PKG_OPTIONS.apr
+
CONFIGURE_ARGS+= --without-apache
CONFIGURE_ARGS+= --without-apxs
@@ -48,4 +50,9 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/svnperms* \
${SVNEXAMPLES}/hook-scripts
+# Use this target to update the build-outputs.mk hack for sub-packages.
+svn-build-outputs-hack:
+ cd ${WRKSRC} && ./gen-make.py --installed-libs libsvn_client,libsvn_delta,libsvn_diff,libsvn_fs,libsvn_ra,libsvn_repos,libsvn_subr,libsvn_wc
+ mv ${WRKSRC}/build-outputs.mk ${FILESDIR}/build-outputs.mk
+
.include "../../mk/bsd.pkg.mk"