mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
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>
This commit is contained in:
parent
8f877cf095
commit
6ec1b97891
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93875
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user