pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel Explain the scheme to update build-outputs.mk wh...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/208e9fe1b6ee
branches:  trunk
changeset: 393981:208e9fe1b6ee
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Jun 01 18:56:08 2009 +0000

description:
Explain the scheme to update build-outputs.mk when the svn version changes.

diffstat:

 devel/subversion-base/Makefile    |  19 ++++++++++++++++---
 devel/subversion/Makefile.version |  12 +++++++-----
 2 files changed, 23 insertions(+), 8 deletions(-)

diffs (55 lines):

diff -r b40e7f4fd2ef -r 208e9fe1b6ee devel/subversion-base/Makefile
--- a/devel/subversion-base/Makefile    Mon Jun 01 18:50:24 2009 +0000
+++ b/devel/subversion-base/Makefile    Mon Jun 01 18:56:08 2009 +0000
@@ -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 @@
                ${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"
diff -r b40e7f4fd2ef -r 208e9fe1b6ee devel/subversion/Makefile.version
--- a/devel/subversion/Makefile.version Mon Jun 01 18:50:24 2009 +0000
+++ b/devel/subversion/Makefile.version Mon Jun 01 18:56:08 2009 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile.version,v 1.49 2009/05/30 00:16:47 gdt Exp $
+# $NetBSD: Makefile.version,v 1.50 2009/06/01 18:56:08 gdt Exp $
+
+# When updating subversion, all packages are updated at the same time
+# to have a consistent set of packages.  A particularly tricky aspect
+# is our interaction with the svn build system.  See the make target
+# "svn-build-outputs-hack" in devel/subversion-base/Makefile when
+# changing the version.
 
 .if !defined(SVNVER)
-# As of 2009-03-22 gdt%NetBSD.org@localhost knows 1.6.0 is out, but is
-# intentionally waiting until post-2009Q1 and until there is enough
-# experience with 1.6.0 before subjecting pkgsrc users to it.  Update
-# will probably come mid to late April; comments welcome.
 SVNVER=                1.6.2
 .endif



Home | Main Index | Thread Index | Old Index