summaryrefslogtreecommitdiff
path: root/lang/ruby
diff options
context:
space:
mode:
authortaca <taca>2011-02-01 22:32:37 +0000
committertaca <taca>2011-02-01 22:32:37 +0000
commitcb19dd496e8600717f79a1ffd3e5ee5eb2558945 (patch)
tree7a099a30c1a2895a407a92bd52ea415dde7afe3e /lang/ruby
parent7ef454c392f8e01b5f56491f2472c75233edd1af (diff)
downloadpkgsrc-cb19dd496e8600717f79a1ffd3e5ee5eb2558945.tar.gz
Apply patch provided by obache@, fixing build problem on Solaris.
Should be fix PR pkg/44480.
Diffstat (limited to 'lang/ruby')
-rw-r--r--lang/ruby/rubyversion.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/ruby/rubyversion.mk b/lang/ruby/rubyversion.mk
index d95dc7cf9a0..b106633bb15 100644
--- a/lang/ruby/rubyversion.mk
+++ b/lang/ruby/rubyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.55 2010/12/26 12:29:07 taca Exp $
+# $NetBSD: rubyversion.mk,v 1.56 2011/02/01 22:32:37 taca Exp $
#
.if !defined(_RUBYVERSION_MK)
@@ -193,6 +193,9 @@ RUBY_STATICLIB= ${RUBY_VER}.${RUBY_API_VERSION}-static.a
.endif
.elif ${OPSYS} == "Linux"
_RUBY_SHLIBALIAS= ${RUBY_VER}.${RUBY_SLEXT}.${_RUBY_VER_MAJOR}.${_RUBY_VER_MINOR}
+.elif ${OPSYS} == "SunOS"
+RUBY_SHLIBVER= ${_RUBY_VER_MAJOR}
+ _RUBY_SHLIBALIAS= ${RUBY_VER}.${RUBY_SLEXT}.${_RUBY_VER_MAJOR}.${_RUBY_VER_MINOR}.${_RUBY_VER_TEENY}
.endif
.if !empty(_RUBY_SHLIBALIAS)