aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlev <lev@FreeBSD.org>2003-11-13 18:00:38 +0800
committerlev <lev@FreeBSD.org>2003-11-13 18:00:38 +0800
commit5b76bd2eee9166e241fec5d67ab947e33de73117 (patch)
treedc373fa51fe470d4bc2572ae9d4a715e850e171f /devel
parentba6a7339f2453c7550be495c4f3597b688ee6b11 (diff)
downloadfreebsd-ports-graphics-5b76bd2eee9166e241fec5d67ab947e33de73117.tar.gz
freebsd-ports-graphics-5b76bd2eee9166e241fec5d67ab947e33de73117.tar.zst
freebsd-ports-graphics-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')
-rw-r--r--devel/subversion-devel/Makefile8
-rw-r--r--devel/subversion-freebsd/Makefile8
-rw-r--r--devel/subversion/Makefile8
-rw-r--r--devel/subversion16/Makefile8
4 files changed, 28 insertions, 4 deletions
diff --git a/devel/subversion-devel/Makefile b/devel/subversion-devel/Makefile
index 291ce951c63..eb3a78f9c6a 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
diff --git a/devel/subversion-freebsd/Makefile b/devel/subversion-freebsd/Makefile
index 291ce951c63..eb3a78f9c6a 100644
--- a/devel/subversion-freebsd/Makefile
+++ b/devel/subversion-freebsd/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
diff --git a/devel/subversion/Makefile b/devel/subversion/Makefile
index 291ce951c63..eb3a78f9c6a 100644
--- a/devel/subversion/Makefile
+++ b/devel/subversion/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
diff --git a/devel/subversion16/Makefile b/devel/subversion16/Makefile
index 291ce951c63..eb3a78f9c6a 100644
--- a/devel/subversion16/Makefile
+++ b/devel/subversion16/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