(1) Activate mod_dav_svn in "post-install" target, as it is not activated

by subversion itself.

  (2) Rename USE_SUBVERSION to WITH_SUBVERSION_VER.
This commit is contained in:
Lev A. Serebryakov 2011-10-16 21:01:42 +00:00
parent ec5f3deec9
commit 1df572da95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283616
7 changed files with 11 additions and 10 deletions

View file

@ -45,7 +45,7 @@ you update your ports collection, before attempting any port upgrades.
Binding ports could be build with Subversion 1.7.0 (Default) Binding ports could be build with Subversion 1.7.0 (Default)
or with Subversion 1.6.x. To buiuld bindings with subversion 1.6.x or with Subversion 1.6.x. To buiuld bindings with subversion 1.6.x
you should set variable USE_SUBVERSION to "16". you should set variable WITH_SUBVERSION_VER to "16".
There are several ways to upgrade, depends on what did you use There are several ways to upgrade, depends on what did you use
before and what you want to get after upgrade. before and what you want to get after upgrade.
@ -81,10 +81,10 @@ you update your ports collection, before attempting any port upgrades.
# cd /usr/ports/devel/subversion16 && make config # cd /usr/ports/devel/subversion16 && make config
<deselect first three options, described above, if you want it> <deselect first three options, described above, if you want it>
# portupgrade -o devel/subversion16 devel/subversion # portupgrade -o devel/subversion16 devel/subversion
# portupgrade -m "USE_SUBVERSION=16" -r devel/subversion16 # portupgrade -m "WITH_SUBVERSION_VER=16" -r devel/subversion16
or or
# portmaster -o devel/subversion16 devel/subversion # portmaster -o devel/subversion16 devel/subversion
# portmaster -m "USE_SUBVERSION=16" -R -r subversion-1.6 # portmaster -m "WITH_SUBVERSION_VER=16" -R -r subversion-1.6
(d) You use devel/subversion-freebsd and, maybe, some bindings. (d) You use devel/subversion-freebsd and, maybe, some bindings.
You want good old subversion 1.6.x, with FreeBSD patches. You want good old subversion 1.6.x, with FreeBSD patches.
@ -93,10 +93,10 @@ you update your ports collection, before attempting any port upgrades.
# cd /usr/ports/devel/subversion16 && make config # cd /usr/ports/devel/subversion16 && make config
<make sure, that first three options are selected> <make sure, that first three options are selected>
# portupgrade -o devel/subversion16 devel/subversion-freebsd # portupgrade -o devel/subversion16 devel/subversion-freebsd
# portupgrade -m "USE_SUBVERSION=16" -r devel/subversion16 # portupgrade -m "WITH_SUBVERSION_VER=16" -r devel/subversion16
or or
# portmaster -o devel/subversion16 devel/subversion-freebsd # portmaster -o devel/subversion16 devel/subversion-freebsd
# portmaster -m "USE_SUBVERSION=16" -R -r subversion-1.6 # portmaster -m "WITH_SUBVERSION_VER=16" -R -r subversion-1.6
20111005: 20111005:
AFFECTS: users of lang/erlang AFFECTS: users of lang/erlang

View file

@ -10,7 +10,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= lev@FreeBSD.org MAINTAINER= lev@FreeBSD.org
COMMENT= Perl bindings for Version control system COMMENT= Perl bindings for Version control system
.if defined(USE_SUBVERSION) && ${USE_SUBVERSION} == 16 .if defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 16
MASTERDIR= ${.CURDIR}/../../devel/subversion16 MASTERDIR= ${.CURDIR}/../../devel/subversion16
.else .else
MASTERDIR= ${.CURDIR}/../../devel/subversion MASTERDIR= ${.CURDIR}/../../devel/subversion

View file

@ -10,7 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lev@FreeBSD.org MAINTAINER= lev@FreeBSD.org
COMMENT= Python bindings for version control system COMMENT= Python bindings for version control system
.if defined(USE_SUBVERSION) && ${USE_SUBVERSION} == 16 .if defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 16
MASTERDIR= ${.CURDIR}/../../devel/subversion16 MASTERDIR= ${.CURDIR}/../../devel/subversion16
.else .else
MASTERDIR= ${.CURDIR}/../../devel/subversion MASTERDIR= ${.CURDIR}/../../devel/subversion

View file

@ -10,7 +10,7 @@ PKGNAMEPREFIX= ruby-
MAINTAINER= lev@FreeBSD.org MAINTAINER= lev@FreeBSD.org
COMMENT= Ruby bindings for version control system COMMENT= Ruby bindings for version control system
.if defined(USE_SUBVERSION) && ${USE_SUBVERSION} == 16 .if defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 16
MASTERDIR= ${.CURDIR}/../../devel/subversion16 MASTERDIR= ${.CURDIR}/../../devel/subversion16
.else .else
MASTERDIR= ${.CURDIR}/../../devel/subversion MASTERDIR= ${.CURDIR}/../../devel/subversion

View file

@ -209,6 +209,7 @@ pre-install:
post-install: ${MKREPOS_TARGET} post-install: ${MKREPOS_TARGET}
.if defined(WITH_MOD_DAV_SVN) .if defined(WITH_MOD_DAV_SVN)
${APXS} -e -S LIBEXECDIR=${PREFIX}/${APACHEMODDIR} -a -n dav_svn ${PREFIX}/${APACHEMODDIR}/mod_dav_svn.so
${APXS} -e -S LIBEXECDIR=${PREFIX}/${APACHEMODDIR} -a -n authz_svn ${PREFIX}/${APACHEMODDIR}/mod_authz_svn.so ${APXS} -e -S LIBEXECDIR=${PREFIX}/${APACHEMODDIR} -a -n authz_svn ${PREFIX}/${APACHEMODDIR}/mod_authz_svn.so
#.if defined(WITH_MOD_DONTDOTHAT) #.if defined(WITH_MOD_DONTDOTHAT)
# cd ${WRKSRC}/contrib/server-side/mod_dontdothat && \ # cd ${WRKSRC}/contrib/server-side/mod_dontdothat && \

View file

@ -6,7 +6,7 @@
PORTNAME= subversion PORTNAME= subversion
PORTVERSION= 1.7.0 PORTVERSION= 1.7.0
PORTREVISION?= 0 PORTREVISION?= 1
CATEGORIES+= devel CATEGORIES+= devel
MASTER_SITES= ${MASTER_SITE_APACHE}:main \ MASTER_SITES= ${MASTER_SITE_APACHE}:main \
http://svnbook.red-bean.com/en/1.6/:book http://svnbook.red-bean.com/en/1.6/:book

View file

@ -11,7 +11,7 @@ CATEGORIES= java
MAINTAINER= lev@FreeBSD.org MAINTAINER= lev@FreeBSD.org
COMMENT= Java bindings for Version control system COMMENT= Java bindings for Version control system
.if defined(USE_SUBVERSION) && ${USE_SUBVERSION} == 16 .if defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 16
MASTERDIR= ${.CURDIR}/../../devel/subversion16 MASTERDIR= ${.CURDIR}/../../devel/subversion16
.else .else
MASTERDIR= ${.CURDIR}/../../devel/subversion MASTERDIR= ${.CURDIR}/../../devel/subversion