Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 1999 09:10:01 -0800 (PST)
From:      Yasuhiro Fukuma <yasuf@big.or.jp>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/9941: Update: lang/ruby
Message-ID:  <199902091710.JAA50253@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/9941; it has been noted by GNATS.

From: Yasuhiro Fukuma <yasuf@big.or.jp>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc: yasuf@big.or.jp
Subject: Re: ports/9941: Update: lang/ruby
Date: Wed, 10 Feb 1999 02:04:10 +0900

 This won't work on (actually obsoleted) 2.2-stable.
 The following patch should be applied:
 
 diff -ruN ruby-1.2.2.19990206/patches/patch-ba ruby/patches/patch-ba
 --- ruby-1.2.2.19990206/patches/patch-ba	Sat Feb  6 01:14:29 1999
 +++ ruby/patches/patch-ba	Wed Feb 10 01:32:51 1999
 @@ -9,8 +9,8 @@
  -			rb_cv_dlopen=yes ;;
  -	freebsd*) 	LDSHARED="ld -Bshareable"
  +	freebsd*)	LDSHARED="gcc -shared"
 -+			if test -x /usr/bin/objformat -a \
 -+				`/usr/bin/objformat` = "elf" ; then
 ++			if test -x /usr/bin/objformat && \
 ++			   test `/usr/bin/objformat` = "elf" ; then
  +			    LDFLAGS="-rdynamic" ; fi
   			rb_cv_dlopen=yes ;;
   	netbsd*) 	LDSHARED="ld -Bshareable"
 diff -ruN ruby-1.2.2.19990206/patches/patch-bb ruby/patches/patch-bb
 --- ruby-1.2.2.19990206/patches/patch-bb	Sat Feb  6 01:14:38 1999
 +++ ruby/patches/patch-bb	Wed Feb 10 01:33:25 1999
 @@ -9,8 +9,8 @@
  -			rb_cv_dlopen=yes ;;
  -	freebsd*) 	LDSHARED="ld -Bshareable"
  +	freebsd*)	LDSHARED="gcc -shared"
 -+			if test -x /usr/bin/objformat -a \
 -+				`/usr/bin/objformat` = "elf" ; then
 ++			if test -x /usr/bin/objformat && \
 ++			   test `/usr/bin/objformat` = "elf" ; then
  +			    LDFLAGS="-rdynamic" ; fi
   			rb_cv_dlopen=yes ;;
   	netbsd*) 	LDSHARED="ld -Bshareable"

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?199902091710.JAA50253>