(10 Oct 2008, from /branches/1.5.x) http://svn.collab.net/repos/svn/tags/1.5.3 User-visible changes: * Allow switch to continue after deleting locally modified dirs (issue #2505) * Update bash_completion to be compatible with 1.5 (r32900, -11, -12) * Improve 'svn merge' execution time by 30% on Windows (r33447) * Reuse network sessions during 'svn merge', improving performance (r33476) * Improve temp file creation time on Windows (r33464) * Greatly improve merge performance (r29969, r32463, r33013, -016, -022, -112) * Improve file IO performance on Windows (r33178, -85) * fixed: merging files with spaces in name (r33109, -121, -369) * fixed: incorrect relative externals expansion (r33109, -121, -369) * fixed: 'svn mv' hangs and consumes infinite memory (r33201, -12) * fixed: correctness regression in 'svn log -g' (issue #3285) * fixed: current early bailout of 'svn log -g' (r32977) Developer-visible changes: * Allow the tests to run as non-administrator on Windows Vista (r31203) * Allow out-of-tree build of bindings on BSD (r32409) * Translate messages in svn_fs_util.h (r32771) * fixed: bindings test for Perl 5.10 (r31546) * fixed: building bindings and C API tests with VS2008 (r32012) * fixed: svn_ra_replay API over ra_serf (r33173)
93 lines
2.9 KiB
Makefile
93 lines
2.9 KiB
Makefile
# $NetBSD: Makefile,v 1.57 2008/10/14 06:23:43 epg Exp $
|
|
|
|
PKGNAME= subversion-base-${SVNVER}
|
|
#PKGREVISION= 1
|
|
COMMENT= Version control system, base programs and libraries
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../devel/subversion/Makefile.common"
|
|
|
|
.if !empty(PKG_OPTIONS:Mapr1)
|
|
APU_OPTIONS= PKG_BUILD_OPTIONS.apr-util
|
|
.else
|
|
APU_OPTIONS= PKG_BUILD_OPTIONS.apr
|
|
.endif
|
|
|
|
BUILD_DEFS+= ${APU_OPTIONS}
|
|
|
|
USE_TOOLS+= msgfmt
|
|
|
|
# on at least solaris, configure fails to figure out
|
|
# that you need -lintl
|
|
BROKEN_GETTEXT_DETECTION= yes
|
|
|
|
CONFIGURE_ARGS+= --disable-neon-version-check
|
|
CONFIGURE_ARGS+= --without-apache
|
|
CONFIGURE_ARGS+= --without-apxs
|
|
|
|
.if !empty(PKG_OPTIONS:Mapr1)
|
|
. include "../../devel/apr/buildlink3.mk"
|
|
. include "../../devel/apr-util/buildlink3.mk"
|
|
. if !empty(PKG_OPTIONS:Mserf)
|
|
DAV_RA= serf
|
|
. include "../../www/serf/buildlink3.mk"
|
|
. else
|
|
BUILDLINK_API_DEPENDS.neon+= neon>=0.24.7
|
|
DAV_RA= neon
|
|
. include "../../www/neon/buildlink3.mk"
|
|
. endif
|
|
.else
|
|
. include "../../devel/apr0/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.apr+= apr>=0.9.5
|
|
BUILDLINK_API_DEPENDS.neon+= neon>=0.24.7
|
|
DAV_RA= neon
|
|
. include "../../www/neon/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(${APU_OPTIONS}:Mdb4)
|
|
PLIST_SRC= ${PKGDIR}/PLIST ${PKGDIR}/PLIST.bdb
|
|
.else
|
|
CONFIGURE_ARGS+= --without-berkeley-db
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msasl)
|
|
.include "../../security/cyrus-sasl/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-sasl=${BUILDLINK_PREFIX.cyrus-sasl}
|
|
.else
|
|
CONFIGURE_ARGS+= --without-sasl
|
|
.endif
|
|
|
|
PLIST_SUBST+= DAV_RA=${DAV_RA:Q}
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= contrib/cgi/tweak-log.cgi
|
|
SUBST_SED.paths= -e "s|/usr/local/bin/|${PREFIX}/bin|g"
|
|
SUBST_MESSAGE.paths= Fixing hardcoded /usr/local/bin paths.
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${SVNDOC}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} INSTALL README ${DESTDIR}${SVNDOC}
|
|
cd ${WRKSRC}/doc/user && ${INSTALL_DATA} *.html *.txt ${DESTDIR}${SVNDOC}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/backup
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/cgi
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${SVNEXAMPLES}/hook-scripts
|
|
${INSTALL_DATA} ${WRKSRC}/tools/backup/hot-backup.py \
|
|
${DESTDIR}${SVNEXAMPLES}/backup
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/cgi/tweak-log.cgi \
|
|
${DESTDIR}${SVNEXAMPLES}/cgi
|
|
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/commit-email.pl \
|
|
${DESTDIR}${SVNEXAMPLES}/hook-scripts
|
|
${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/svnperms* \
|
|
${DESTDIR}${SVNEXAMPLES}/hook-scripts
|
|
|
|
.PHONY: svn-build-outputs-hack
|
|
# Use this target to update the build-outputs.mk hack for sub-packages.
|
|
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
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|