Subject: pkg/29214: lang/ruby18: PLIST fix for OpenBSD
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <hiramatu@boreas.dti.ne.jp>
List: pkgsrc-bugs
Date: 02/03/2005 16:40:01
>Number: 29214
>Category: pkg
>Synopsis: lang/ruby18: PLIST fix for OpenBSD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 03 16:40:00 +0000 2005
>Originator: Hiramatsu Yoshifumi
>Release: NetBSD 2.99.11
>Organization:
>Environment:
System: NetBSD orinoco.my.domain 2.99.11 NetBSD 2.99.11 (Orinoco) #3: Fri Dec 31 23:34:14 JST 2004 root@orinoco.my.domain:/usr/src/sys/arch/i386/compile/Orinoco i386
Architecture: i386
Machine: i386
>Description:
PLIST of lang/ruby18 should be modified for OpenBSD because ruby
uses different versioning convention for shared library on OpenBSD.
>How-To-Repeat:
>Fix:
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/lang/ruby/Makefile.common,v
retrieving revision 1.4
diff -b -u -r1.4 Makefile.common
--- Makefile.common 21 Jan 2005 06:13:36 -0000 1.4
+++ Makefile.common 3 Feb 2005 16:31:43 -0000
@@ -45,6 +45,9 @@
.elif ${OPSYS} == "FreeBSD"
RUBY_SHLIBMAJOR= # unused
RUBY_SHLIBVER= ${_RUBY_VERS_TEENY}
+.elif ${OPSYS} == "OpenBSD"
+RUBY_SHLIBMAJOR= # unused
+RUBY_SHLIBVER= ${_RUBY_VER_MAJOR}.${_RUBY_VER_MINOR}${_RUBY_VERS_TEENY}
.elif ${OPSYS} == "IRIX"
RUBY_SHLIBMAJOR= # unused
.elif ${OPSYS} == "Linux"
>Unformatted: