pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby-base Fix RUBY_SHLIBVERSION in FreeBSD, shoul...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9de4865b8d3c
branches:  trunk
changeset: 467559:9de4865b8d3c
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue Feb 03 00:18:22 2004 +0000

description:
Fix RUBY_SHLIBVERSION in FreeBSD, should fix the problems seen in the
last bulk build.

diffstat:

 lang/ruby-base/Makefile.common |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a7cd41bc64cb -r 9de4865b8d3c lang/ruby-base/Makefile.common
--- a/lang/ruby-base/Makefile.common    Mon Feb 02 23:56:03 2004 +0000
+++ b/lang/ruby-base/Makefile.common    Tue Feb 03 00:18:22 2004 +0000
@@ -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: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



Home | Main Index | Thread Index | Old Index