Change 25402 by [EMAIL PROTECTED] on 2005/09/13 17:54:09
Subject: [perl #36448] configuring ranlib for perl on osx with xcode 2.1
From: Luke Closs (via RT) <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Date: 1 Jul 2005 21:56:31 -0000
Affected files ...
... //depot/perl/Configure#587 edit
... //depot/perl/hints/darwin.sh#61 edit
Differences ...
==== //depot/perl/Configure#587 (xtext) ====
Index: perl/Configure
--- perl/Configure#586~25387~ Mon Sep 12 06:26:31 2005
+++ perl/Configure Tue Sep 13 10:54:09 2005
@@ -19092,7 +19092,9 @@
$run ./foobar >/dev/null 2>&1; then
echo "$ar appears to generate random libraries itself."
orderlib=false
- ranlib=":"
+ if [ "X$ranlib" = "X" ]; then
+ ranlib=":"
+ fi
elif $ar ts bar$_a >/dev/null 2>&1 &&
$cc -o foobar $ccflags $ldflags foo$_o bar$_a $libs > /dev/null 2>&1 &&
$run ./foobar >/dev/null 2>&1; then
==== //depot/perl/hints/darwin.sh#61 (text) ====
Index: perl/hints/darwin.sh
--- perl/hints/darwin.sh#60~25004~ Tue Jun 28 03:09:26 2005
+++ perl/hints/darwin.sh Tue Sep 13 10:54:09 2005
@@ -283,6 +283,10 @@
# really need ODBM_FIle, though, so let's just hint ODBM away.
i_dbm=undef;
+# Configure doesn't detect ranlib on Tiger properly.
+# NeilW says this should be acceptable on all darwin versions.
+ranlib='ranlib'
+
##
# Build process
##
End of Patch.