diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-09-19 08:16:43 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-09-19 08:16:43 +0000 |
commit | 377fc0342d3f2f3229c06321c39421698dfa1947 (patch) | |
tree | 05d309c8525dca581e8ee3aab697d460af0220cd /Mk/bsd.ruby.mk | |
parent | cb471dbbdc733133c89a3e369f4098b378f9a96f (diff) | |
download | ports-377fc0342d3f2f3229c06321c39421698dfa1947.tar.gz ports-377fc0342d3f2f3229c06321c39421698dfa1947.zip |
Notes
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r-- | Mk/bsd.ruby.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index cdff2eea781b..53bc54af8c6a 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -137,7 +137,13 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.org # RUBY_ELISPDIR - Installation path for emacs lisp files. # -RUBY_DEFAULT_VER?= 1.9 +.include "${PORTSDIR}/Mk/bsd.default-versions.mk" + +.if defined(RUBY_DEFAULT_VER) +WARNING+= "Using RUBY_DEFAULT_VER in make.conf, consider using DEFAULT_VERSION=ruby=${RUBY_DEFAULT_VER}" +.endif + +RUBY_DEFAULT_VER?= ${RUBY_DEFAULT} RUBY_VER?= ${RUBY_DEFAULT_VER} |