Skip to content

Commit

Permalink
Use -install_name option with absolute path on Darwin.
Browse files Browse the repository at this point in the history
It makes us free from DYLD_LIBRARY_PATH. Bump PKGREVISION to nb2.
  • Loading branch information
yyamano committed May 13, 2002
1 parent 8441909 commit 36859d1
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lang/ruby-base/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# $NetBSD: Makefile,v 1.7 2002/03/21 16:29:19 fredb Exp $
# $NetBSD: Makefile,v 1.8 2002/05/13 15:00:02 yyamano Exp $
# FreeBSD Id: ports/lang/ruby/Makefile,v 1.39 2000/10/20 19:56:03 knu Exp

DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGNAMEPREFIX}base-${RUBY_VERSION}
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_RUBY}

Expand Down
6 changes: 3 additions & 3 deletions lang/ruby-base/distinfo
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.4 2002/03/02 09:10:54 taca Exp $
$NetBSD: distinfo,v 1.5 2002/05/13 15:00:02 yyamano Exp $

SHA1 (ruby/ruby-1.6.7.tar.gz) = fd1523f17e64fd80741f2e6a77050fde16164053
Size (ruby/ruby-1.6.7.tar.gz) = 998151 bytes
SHA1 (patch-aa) = 72df10493784e1ef63c19e5963f6e8840a89bc42
SHA1 (patch-ab) = 169f1927fafbc64ddcf1c0b91487e88a1af67dd8
SHA1 (patch-aa) = 62f1bd7d422a1e644896fb6548f182b709d57f23
SHA1 (patch-ab) = 75b6b2fd6fa5c472c8b2ee0cae5bab19f8edc989
SHA1 (patch-ac) = 5b897041345ec4077fa2165e3c4c58a6671b942d
SHA1 (patch-ae) = 294af53a7509372f0d7c17230c605d790f1e7bb2
SHA1 (patch-af) = 0eb2fd9784b5924bcc233d3b81128821130c578c
Expand Down
11 changes: 10 additions & 1 deletion lang/ruby-base/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
$NetBSD: patch-aa,v 1.3 2002/03/02 09:10:55 taca Exp $
$NetBSD: patch-aa,v 1.4 2002/05/13 15:00:02 yyamano Exp $

--- configure.in.orig Wed Feb 6 18:13:15 2002
+++ configure.in
@@ -872,7 +872,7 @@
darwin*)
LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).$(MAJOR).$(MINOR).$(TEENY).dylib'
LIBRUBY_LDSHARED='cc -dynamiclib -undefined suppress -flat_namespace'
- LIBRUBY_DLDFLAGS='-install_name lib$(RUBY_INSTALL_NAME).dylib -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(MAJOR).$(MINOR)'
+ LIBRUBY_DLDFLAGS='-install_name $(prefix)/lib/lib$(RUBY_INSTALL_NAME).dylib -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(MAJOR).$(MINOR)'
LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_INSTALL_NAME).dylib'
;;
*)
@@ -951,6 +951,7 @@
;;
esac
Expand Down
11 changes: 10 additions & 1 deletion lang/ruby-base/patches/patch-ab
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
$NetBSD: patch-ab,v 1.2 2002/03/02 09:10:55 taca Exp $
$NetBSD: patch-ab,v 1.3 2002/05/13 15:00:02 yyamano Exp $

--- configure.orig Mon Feb 11 03:05:48 2002
+++ configure
@@ -5054,7 +5054,7 @@
darwin*)
LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).$(MAJOR).$(MINOR).$(TEENY).dylib'
LIBRUBY_LDSHARED='cc -dynamiclib -undefined suppress -flat_namespace'
- LIBRUBY_DLDFLAGS='-install_name lib$(RUBY_INSTALL_NAME).dylib -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(MAJOR).$(MINOR)'
+ LIBRUBY_DLDFLAGS='-install_name $(prefix)/lib/lib$(RUBY_INSTALL_NAME).dylib -current_version $(MAJOR).$(MINOR).$(TEENY) -compatibility_version $(MAJOR).$(MINOR)'
LIBRUBY_ALIASES='lib$(RUBY_INSTALL_NAME).$(MAJOR).$(MINOR).dylib lib$(RUBY_INSTALL_NAME).dylib'
;;
*)
@@ -5444,6 +5444,7 @@
s%@setup@%$setup%g
s%@MINIRUBY@%$MINIRUBY%g
Expand Down

0 comments on commit 36859d1

Please sign in to comment.