summaryrefslogtreecommitdiff
path: root/devel/subversion-base
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2009-06-01 18:56:08 +0000
committergdt <gdt@pkgsrc.org>2009-06-01 18:56:08 +0000
commit6e8dc54b8dff3143d595c645c73c3337f6d67024 (patch)
tree43ff9920ce7ea511974bbfa84c982137f7e4bf9f /devel/subversion-base
parent1b60b849b3051262e19eef038061868bcb9472f6 (diff)
downloadpkgsrc-6e8dc54b8dff3143d595c645c73c3337f6d67024.tar.gz
Explain the scheme to update build-outputs.mk when the svn version changes.
Diffstat (limited to 'devel/subversion-base')
-rw-r--r--devel/subversion-base/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/devel/subversion-base/Makefile b/devel/subversion-base/Makefile
index ee0f25ef7a8..3a3f0c88503 100644
--- a/devel/subversion-base/Makefile
+++ b/devel/subversion-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2009/05/30 00:16:47 gdt Exp $
+# $NetBSD: Makefile,v 1.64 2009/06/01 18:56:08 gdt Exp $
PKGNAME= subversion-base-${SVNVER}
COMMENT= Version control system, base programs and libraries
@@ -64,10 +64,23 @@ post-install:
${DESTDIR}${SVNEXAMPLES}/hook-scripts/mailer/tests
.PHONY: svn-build-outputs-hack
-# Use this target to update the build-outputs.mk hack for sub-packages.
+# Subversion's build system is set up to build everything from source
+# at once. In pkgsrc, we install the base part of subversion, and
+# then build other pieces against installed libraries. Here, we run
+# svn's equivalent of automake to say that the libraries installed as
+# part of subversion-base are installed, and save that generated file.
+# Other packages then copy this file into place when building to avoid
+# having to build these libraries again.
+#
+# The normal update procedure is
+# test build and package subversion-base
+# run make svn-build-outputs-hack
+# test build and package other subversion packages
+# commit the update to ../subversion/files/build-outputs.mk along with the version change
+#
svn-build-outputs-hack:
cd ${WRKSRC} && ./gen-make.py --release --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
+ ${MV} -f ${WRKSRC}/build-outputs.mk ${FILESDIR}/build-outputs.mk
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"