Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 1999 15:16:49 +0900
From:      Yasuhiro Fukuma <yasuf@big.or.jp>
To:        steve@FreeBSD.org
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/9941
Message-ID:  <19990222151649D.yasuf@big.or.jp>
In-Reply-To: Your message of "Sun, 21 Feb 1999 20:12:05 -0800 (PST)" <199902220412.UAA40453@freefall.freebsd.org>
References:  <199902220412.UAA40453@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199902220412.UAA40453@freefall.freebsd.org>,
<steve@FreeBSD.org> wrote:

> Synopsis: Updating port lang/ruby for Ruby 1.2.2
> 
> State-Changed-From-To: open->closed
> State-Changed-By: steve
> State-Changed-When: Sun Feb 21 20:11:31 PST 1999
> State-Changed-Why: 
> Update committed, thanks!

Thanks, but don't you forget to add patches/patch-b{ab} into the
repository?

--- /usr/ports/ports-current/lang/ruby/patches/patch-ba	Thu Jan  1 09:00:00 1970
+++ ruby/patches/patch-ba	Wed Feb 10 01:32:51 1999
@@ -0,0 +1,17 @@
+--- configure.in.orig	Mon Jan 18 18:54:30 1999
++++ configure.in	Sat Feb  6 00:58:27 1999
+@@ -375,10 +375,10 @@
+ 			rb_cv_dlopen=yes ;;
+ 	linux*) 	LDSHARED="gcc -shared"
+ 			rb_cv_dlopen=yes ;;
+-	freebsd3*)      LDSHARED="ld -Bshareable"   
+-			LDFLAGS="-rdynamic"
+-			rb_cv_dlopen=yes ;;
+-	freebsd*) 	LDSHARED="ld -Bshareable"
++	freebsd*)	LDSHARED="gcc -shared"
++			if test -x /usr/bin/objformat && \
++			   test `/usr/bin/objformat` = "elf" ; then
++			    LDFLAGS="-rdynamic" ; fi
+ 			rb_cv_dlopen=yes ;;
+ 	netbsd*) 	LDSHARED="ld -Bshareable"
+ 			rb_cv_dlopen=yes ;;
--- /usr/ports/ports-current/lang/ruby/patches/patch-bb	Thu Jan  1 09:00:00 1970
+++ ruby/patches/patch-bb	Wed Feb 10 01:33:25 1999
@@ -0,0 +1,17 @@
+--- configure.orig	Mon Jan 18 19:03:57 1999
++++ configure	Sat Feb  6 00:58:33 1999
+@@ -3472,10 +3472,10 @@
+ 			rb_cv_dlopen=yes ;;
+ 	linux*) 	LDSHARED="gcc -shared"
+ 			rb_cv_dlopen=yes ;;
+-	freebsd3*)      LDSHARED="ld -Bshareable"   
+-			LDFLAGS="-rdynamic"
+-			rb_cv_dlopen=yes ;;
+-	freebsd*) 	LDSHARED="ld -Bshareable"
++	freebsd*)	LDSHARED="gcc -shared"
++			if test -x /usr/bin/objformat && \
++			   test `/usr/bin/objformat` = "elf" ; then
++			    LDFLAGS="-rdynamic" ; fi
+ 			rb_cv_dlopen=yes ;;
+ 	netbsd*) 	LDSHARED="ld -Bshareable"
+ 			rb_cv_dlopen=yes ;;

# Should I do send-pr again in a case like this...?

---
 Yasuhiro Fukuma as Yasu.F @ Kitakyushu.Fukuoka.Japan
 Web site: http://www8.big.or.jp/~yasuf/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990222151649D.yasuf>