summaryrefslogtreecommitdiff
path: root/lang/ruby-base
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-02-03 00:18:22 +0000
committerxtraeme <xtraeme>2004-02-03 00:18:22 +0000
commitb06c3ef90b7715771bb632a73d44e412f8a729d5 (patch)
treec1db15e3c2f76eeaaf30a1db3d0ce7cb9e66437d /lang/ruby-base
parent6d07cf470db415f086eecfcac966088c8f061ce5 (diff)
downloadpkgsrc-b06c3ef90b7715771bb632a73d44e412f8a729d5.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.common6
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