08056ac2d5
(18 January 2007, from /branches/1.4.x) http://svn.collab.net/repos/svn/tags/1.4.3 pkgsrc changes: - Add new 'serf' option to PKG_OPTIONS.subversion to use serf for the DAV (http) network transport instead of neon. User-visible-changes: - Client: * fixed: crash using automatic auth protocols with Neon 0.26 (r22440, -61) * fixed: svn_load_dirs.pl cannot import file names containing '@' (r22203) * fixed: error when committing replaced directories (r22991, -8) * fixed: inability to change file perms due to existing file perms (r23018) * include newest version of svn-graph.pl (r22969) - Server: * fixed: incorrectly reporting authz circular dependencies (issue #2684) * fixed: potential filesystem memory leak in commit finalisation (r22729) - Client and Server: * fixed: crash in character translation, particularly on Windows (r22417) * fixed: potential string corruption when resizing string buffers (r22689) * translation updates for Korean, Spanish, Italian, Simplified Chinese, and Japanese (fixing issues #2649 and #2681) Developer-visible-changes: * support Neon 0.26.2 (issue #2666) * update (experimental) ra_serf repository access module for DAV (r22872) * Windows installer improvements (r21516, r22155, r22224) * fixed: svn_{ra,repos}_replay() doesn't send checksums (r22346, -51, -52) * fixed: error when calling svn_repos_replay2() with a txn root (r22609) * fixed: Solaris packaging script broken (issue #2669) * javahl bindings: - fixed: auth cache is created in the current directory (r22780) - fixed: SVNAdmin's setLog() method always fails (r22387) - fixed: target dependency order in generated build scripts (r22209) * SWIG/perl bindings: - fixed: ra_do_{update,switch,status} work with Perl delta editors (r22311) - fixed: memory leak when calling methods on a Perl commit editor (r22332)
84 lines
2.7 KiB
Makefile
84 lines
2.7 KiB
Makefile
# $NetBSD: Makefile,v 1.42 2007/01/25 18:15:49 epg Exp $
|
|
|
|
PKGNAME= subversion-base-${SVNVER}
|
|
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+= --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= dav
|
|
. include "../../www/neon/buildlink3.mk"
|
|
. endif
|
|
.else
|
|
BUILDLINK_API_DEPENDS.apr+= apr>=0.9.5
|
|
BUILDLINK_API_DEPENDS.neon+= neon>=0.24.7
|
|
DAV_RA= dav
|
|
. include "../../devel/apr0/buildlink3.mk"
|
|
. 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
|
|
|
|
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"
|