diff options
author | marino <marino> | 2012-03-15 08:35:24 +0000 |
---|---|---|
committer | marino <marino> | 2012-03-15 08:35:24 +0000 |
commit | bacdd0bb81c4f4398ee6f7f09cd079d87bc908e6 (patch) | |
tree | cd1dbda71d107105806486362a260bb56f7eaee5 | |
parent | 11bcdde42430ca24e12727a1497b2e0039236a9f (diff) | |
download | pkgsrc-bacdd0bb81c4f4398ee6f7f09cd079d87bc908e6.tar.gz |
lang/ruby: Fix ruby193-base for DragonFly
The maintainers of ruby have changed the shared library naming scheme for
FreeBSD and DragonFly:
For ruby18, it's libruby18.so.18 (last part = RUBY_VER)
For ruby19, it's libruby19.so.19 (last part = RUBY_VER)
for ruby193, it's libruby193.so.191 (last part derived from API, not version)
The rubyversion.mk was never updated to reflect that, and as a result ruby
1.9.3 has never built on DragonFly. This commit will allow
lang/ruby193-base package to build.
-rw-r--r-- | lang/ruby/rubyversion.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk index 1ad685ccbab..9246eaee123 100644 --- a/lang/ruby/rubyversion.mk +++ b/lang/ruby/rubyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: rubyversion.mk,v 1.74 2012/02/23 14:15:58 taca Exp $ +# $NetBSD: rubyversion.mk,v 1.75 2012/03/15 08:35:24 marino Exp $ # # This file determines which Ruby version is used as a dependency for @@ -321,7 +321,11 @@ RUBY_STATICLIB?= ${RUBY_VER}-static.a RUBY_SHLIBVER= ${_RUBY_API_MAJOR}.${_RUBY_API_MINOR} _RUBY_SHLIBALIAS= ${RUBY_VER}.${RUBY_SLEXT}.${_RUBY_API_MAJOR} .elif ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" +.if ${RUBY_VER} == "18" || ${RUBY_VER} == "19" RUBY_SHLIBVER= ${RUBY_VER} +.else +RUBY_SHLIBVER= ${_RUBY_VER_MAJOR}${_RUBY_VER_MINOR}${_RUBY_API_MINOR} +.endif .elif ${OPSYS} == "OpenBSD" RUBY_SHLIBVER= ${_RUBY_VER_MAJOR}.${_RUBY_VER_MINOR}${_RUBY_API_MINOR} .elif ${OPSYS} == "Darwin" |