aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2020-12-14 02:18:53 +0000
committerRomain Tartière <romain@FreeBSD.org>2020-12-14 02:18:53 +0000
commitcc510df3cf60ec7b98660b8f99b5cf76774630d1 (patch)
treee8f39ebf38372417143c0183c6af0e865c585e45 /ports-mgmt
parent6c8845dd72e08c5073075f32684d31518f7f3eea (diff)
downloadports-cc510df3cf60ec7b98660b8f99b5cf76774630d1.tar.gz
ports-cc510df3cf60ec7b98660b8f99b5cf76774630d1.zip
Fix usage of WITH_SUBVERSION_VER
devel/subversion used to be available in different versions from which the end-user could choose by setting WITH_SUBVERSION_VER to the expected version. This has been reworked at some point and broke that feature in portshaker. Adjust the WITH_SUBVERSION_VER handling to cope with it again. PR: 250849 Submitted by: nork@ninth-nine.com
Notes
Notes: svn path=/head/; revision=558072
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portshaker/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/ports-mgmt/portshaker/Makefile b/ports-mgmt/portshaker/Makefile
index cb3c5adbaa82..ae664012bc16 100644
--- a/ports-mgmt/portshaker/Makefile
+++ b/ports-mgmt/portshaker/Makefile
@@ -25,7 +25,12 @@ RSYNC_DESC= rsync support
GIT_DESC= git support
HG_DESC= mercurial support
RSYNC_RUN_DEPENDS= rsync:net/rsync
-SVN_RUN_DEPENDS= svn:devel/subversion${WITH_SUBVERSION_VER}
+WITH_SUBVERSION_VER?= 114
+.if ${WITH_SUBVERSION_VER} == 114
+SVN_RUN_DEPENDS= svn:devel/subversion
+.elif ${WITH_SUBVERSION_VER} == LTS
+SVN_RUN_DEPENDS= svn:devel/subversion-lts
+.endif
GIT_RUN_DEPENDS= git:devel/git
HG_RUN_DEPENDS= ${PY_MERCURIAL}
.else