NetBSD Problem Report #29214

From hiramatu@boreas.dti.ne.jp  Thu Feb  3 16:39:34 2005
Return-Path: <hiramatu@boreas.dti.ne.jp>
Received: from smtp8.dti.ne.jp (smtp8.dti.ne.jp [202.216.228.43])
	by narn.netbsd.org (Postfix) with ESMTP id 978E263B400
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  3 Feb 2005 16:39:33 +0000 (UTC)
Message-Id: <20050203164356.07F81AB20@orinoco.my.domain>
Date: Fri,  4 Feb 2005 01:43:56 +0900 (JST)
From: hiramatu@boreas.dti.ne.jp
Reply-To: hiramatu@boreas.dti.ne.jp
To: gnats-bugs@netbsd.org
Subject: lang/ruby18: PLIST fix for OpenBSD
X-Send-Pr-Version: 3.95

>Number:         29214
>Category:       pkg
>Synopsis:       lang/ruby18: PLIST fix for OpenBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    taca
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 03 16:40:00 +0000 2005
>Closed-Date:    Wed Feb 09 15:30:00 +0000 2005
>Last-Modified:  Wed Feb 09 15:30: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"

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: taca@netbsd.org
Responsible-Changed-When: Sat, 05 Feb 2005 10:08:49 +0000
Responsible-Changed-Why:
I'll take this.


From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/29214 CVS commit: pkgsrc/lang/ruby
Date: Wed,  9 Feb 2005 15:28:46 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	taca
 Date:		Wed Feb  9 15:28:46 UTC 2005

 Modified Files:
 	pkgsrc/lang/ruby: Makefile.common

 Log Message:
 Fix version suffix of shared library, libruby.so for OpenBSD.
 Fix PR pkg/29214 from Hiramatsu Yoshifumi.


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 pkgsrc/lang/ruby/Makefile.common

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: taca@netbsd.org
State-Changed-When: Wed, 09 Feb 2005 15:30:00 +0000
State-Changed-Why:
Patch applied.  Thanks for your problem report.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.