diff options
author | lev <lev@FreeBSD.org> | 2003-11-13 18:00:38 +0800 |
---|---|---|
committer | lev <lev@FreeBSD.org> | 2003-11-13 18:00:38 +0800 |
commit | 5b76bd2eee9166e241fec5d67ab947e33de73117 (patch) | |
tree | dc373fa51fe470d4bc2572ae9d4a715e850e171f /devel/subversion-devel | |
parent | ba6a7339f2453c7550be495c4f3597b688ee6b11 (diff) | |
download | freebsd-ports-gnome-5b76bd2eee9166e241fec5d67ab947e33de73117.tar.gz freebsd-ports-gnome-5b76bd2eee9166e241fec5d67ab947e33de73117.tar.zst freebsd-ports-gnome-5b76bd2eee9166e241fec5d67ab947e33de73117.zip |
Search for system-wide configs in ${PREFIX}/etc/subversion, when
${PREFIX} != "/usr".
PR: ports/59190
Submitted by: Jeroen Ruigrok van der Werven <asmodai@nexus.ninth-circle.org>
Diffstat (limited to 'devel/subversion-devel')
-rw-r--r-- | devel/subversion-devel/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/subversion-devel/Makefile b/devel/subversion-devel/Makefile index 291ce951c636..eb3a78f9c6ad 100644 --- a/devel/subversion-devel/Makefile +++ b/devel/subversion-devel/Makefile @@ -6,7 +6,7 @@ PORTNAME= subversion PORTVERSION= 0.32.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://svn.collab.net/tarballs/ @@ -138,6 +138,12 @@ post-extract: @${RM} -r ${WRKSRC}/apr @${RM} -r ${WRKSRC}/apr-util +post-patch: +.if ${PREFIX} != "/usr" + @${REINPLACE_CMD} "s#/etc/subversion#${PREFIX}/etc/subversion#g" ${WRKSRC}/subversion/libsvn_subr/config_file.c + @${REINPLACE_CMD} "s#/etc/subversion#${PREFIX}/etc/subversion#g" ${WRKSRC}/subversion/libsvn_subr/config_impl.h +.endif + .if defined(WITH_MOD_DAV_SVN) pre-install: ${APXS} -e -S LIBEXECDIR=${PREFIX}/libexec/apache2 -a -n dav libexec/apache2/mod_dav.so |