aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2017-06-06 08:28:56 +0800
committerbdrewery <bdrewery@FreeBSD.org>2017-06-06 08:28:56 +0800
commit2a9110fe48a3efd319e2f64aff48178d062bf270 (patch)
tree344e49055bdc4b5b9e69bd3cba1673078548de15 /Mk/bsd.ruby.mk
parent94f9b22546b7d4f6b7e4714004289655517b4d1e (diff)
downloadfreebsd-ports-gnome-2a9110fe48a3efd319e2f64aff48178d062bf270.tar.gz
freebsd-ports-gnome-2a9110fe48a3efd319e2f64aff48178d062bf270.tar.zst
freebsd-ports-gnome-2a9110fe48a3efd319e2f64aff48178d062bf270.zip
Don't pass the default version in DEPENDS_ARGS.
This greatly simplifies handling for Poudriere. With hat: portmgr
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index ba8d2dac6e8c..0c986e8eeb28 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -256,7 +256,9 @@ RUBY_SHLIBVER?= ${RUBY_VER:S/.//}
RUBY_CONFIGURE_ARGS+= --program-prefix=""
+.if ${RUBY_VER} != ${RUBY_DEFAULT_VER}
DEPENDS_ARGS+= RUBY_VER=${RUBY_VER}
+.endif
RUBY_CONFIGURE_ARGS+= --program-suffix="${RUBY_SUFFIX}"