diff options
author | xtraeme <xtraeme> | 2004-02-03 00:18:22 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-02-03 00:18:22 +0000 |
commit | 31cf5fba0bd985928617615f0a38a748885a4354 (patch) | |
tree | c1db15e3c2f76eeaaf30a1db3d0ce7cb9e66437d /lang/ruby-base | |
parent | 2adaa9c68afa0edb315a5a8815381038eaa3a58b (diff) | |
download | pkgsrc-31cf5fba0bd985928617615f0a38a748885a4354.tar.gz |
Fix RUBY_SHLIBVERSION in FreeBSD, should fix the problems seen in the
last bulk build.
Diffstat (limited to 'lang/ruby-base')
-rw-r--r-- | lang/ruby-base/Makefile.common | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/ruby-base/Makefile.common b/lang/ruby-base/Makefile.common index 7b0ec8f2b1f..ac0eeecb623 100644 --- a/lang/ruby-base/Makefile.common +++ b/lang/ruby-base/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.15 2003/12/19 11:59:39 sketch Exp $ +# $NetBSD: Makefile.common,v 1.16 2004/02/03 00:18:22 xtraeme Exp $ # FreeBSD: ports/Mk/bsd.ruby.mk,v 1.11 2000/11/16 17:59:40 knu Exp # Makefile.common: ruby common makefile, based on FreeBSD's bsd.ruby.mk. @@ -86,13 +86,15 @@ _RUBY_SUFFIX= ${RUBY_VER} _RUBY_SUFFIX= ${RUBY_VER:S/.//} .endif -.if ${OPSYS} == "SunOS" +.if ${OPSYS} == "SunOS" || ${OPSYS} == "FreeBSD" RUBY_NOSHLIBMAJOR= "@comment " .endif RUBY_PKGNAMEPREFIX?= ruby${RUBY_SUFFIX}- # could be rb${RUBY_SUFFIX}- .if ${OPSYS} == "NetBSD" RUBY_SHLIBVER?= ${RUBY_VERSION:S/.//} +.elif ${OPSYS} == "FreeBSD" +RUBY_SHLIBVER?= ${RUBY_VERSION:S/.6.8/6/} .else RUBY_SHLIBVER?= ${RUBY_VERSION} .endif |