aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2014-12-27 22:56:32 +0800
committerpi <pi@FreeBSD.org>2014-12-27 22:56:32 +0800
commit0a9c7d536bb0eefe39aa505918aa1489a8ad42c8 (patch)
tree6d437561181148140d28cb45701dc4aba4f369d4 /ports-mgmt
parent8ba587591b553790a03256b8fbab61795a3e57b2 (diff)
downloadfreebsd-ports-gnome-0a9c7d536bb0eefe39aa505918aa1489a8ad42c8.tar.gz
freebsd-ports-gnome-0a9c7d536bb0eefe39aa505918aa1489a8ad42c8.tar.zst
freebsd-ports-gnome-0a9c7d536bb0eefe39aa505918aa1489a8ad42c8.zip
ports-mgmt/portshaker: Support Subversion 1.7 or 1.8 depending on make.conf
Currently building portshaker package on a clean system will install subversion 1.8 even if 1.7 is defined in make.conf with WITH_SUBVERSION_VER=17. Patch fixes this and will use either 1.7 or 1.8 as required for the run dependency. PR: 195740 Submitted by: simon.wright@gmx.net Approved by: romain (maintainer timeout)
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portshaker/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/ports-mgmt/portshaker/Makefile b/ports-mgmt/portshaker/Makefile
index 57a0daddc469..50834339bea4 100644
--- a/ports-mgmt/portshaker/Makefile
+++ b/ports-mgmt/portshaker/Makefile
@@ -3,7 +3,7 @@
PORTNAME?= portshaker
PORTVERSION= 1.0.10
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= ports-mgmt
DISTNAME= portshaker-${PORTVERSION}
@@ -24,7 +24,11 @@ RSYNC_DESC= rsync support
GIT_DESC= git support
HG_DESC= mercurial support
RSYNC_RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
-SVN_RUN_DEPENDS= svn:${PORTSDIR}/devel/subversion
+.if defined(WITH_SUBVERSION_VER) && ${WITH_SUBVERSION_VER} == 17
+SVN_RUN_DEPENDS= svn:${PORTSDIR}/devel/subversion17
+.else
+SVN_RUN_DEPENDS= svn:${PORTSDIR}/devel/subversion
+.endif
GIT_RUN_DEPENDS= git:${PORTSDIR}/devel/git
HG_RUN_DEPENDS= hg:${PORTSDIR}/devel/mercurial
.else