fix shared library name.

Remove COMMENT while I'm at it.
This commit is contained in:
espie 2001-03-23 14:12:32 +00:00
parent 36bdf033ff
commit 6c65483de7
4 changed files with 27 additions and 6 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.11 2001/02/21 17:17:17 espie Exp $
# $OpenBSD: Makefile,v 1.12 2001/03/23 14:12:32 espie Exp $
COMMENT= object oriented script language with threads
VERSION=1.6.2
DISTNAME=ruby-${VERSION}
CATEGORIES = lang
NEED_VERSION= 1.336
NEED_VERSION= 1.362
MASTER_SITES=ftp://ftp.netlab.co.jp/pub/lang/ruby/ \
ftp://ftp.iij.ad.jp/pub/lang/ruby/ \
ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/ \

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-configure_in,v 1.1 2001/03/23 14:12:32 espie Exp $
--- configure.in.orig Sun Nov 12 17:44:04 2000
+++ configure.in Fri Mar 23 14:55:44 2001
@@ -513,7 +513,7 @@ if test "$with_dln_a_out" != yes; then
LDFLAGS="-export-dynamic"
fi
rb_cv_dlopen=yes ;;
- openbsd*) LDSHARED="ld -Bforcearchive -Bshareable"
+ openbsd*) LDSHARED='$(CC) -shared -fPIC'
rb_cv_dlopen=yes ;;
bsdi3*) case "$CC" in
*shlicc*) LDSHARED="$CC -r"
@@ -780,6 +780,9 @@ if test "$enable_shared" = 'yes'; then
LIBRUBY_ALIASES= # a.out platforms
fi
;;
+ openbsd*)
+ LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
+ ;;
solaris*)
XLDFLAGS='-R${prefix}/lib'
;;

View File

@ -1 +0,0 @@
object oriented script language with threads

View File

@ -1,6 +1,5 @@
@comment $OpenBSD: PFRAG.shared,v 1.5 2001/03/23 01:57:10 espie Exp $
lib/libruby.so
lib/libruby.so.1.6.2
@comment $OpenBSD: PFRAG.shared,v 1.6 2001/03/23 14:12:33 espie Exp $
lib/libruby.so.1.62
DYNLIBDIR(%B)
lib/ruby/${REV}/${SUB}/curses.so
lib/ruby/${REV}/${SUB}/dbm.so