diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-02-03 00:18:22 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-02-03 00:18:22 +0000 |
commit | e4533ce762d2b072ecab7dfdb557dffca2933dfa (patch) | |
tree | c1db15e3c2f76eeaaf30a1db3d0ce7cb9e66437d /lang/ruby-base | |
parent | 553d3e0295343b02e6ecb342780bc878c02df514 (diff) | |
download | pkgsrc-e4533ce762d2b072ecab7dfdb557dffca2933dfa.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 |