Change 11476 by jhi@alpha on 2001/07/29 16:44:03

        Subject: [PATCH] Clean up Darwin hints
        From: =?iso-8859-1?Q?Wilfredo_S=E1nchez?= <[EMAIL PROTECTED]>
        Date: Fri, 27 Jul 2001 19:13:15 -0700
        Message-Id: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/hints/darwin.sh#12 edit

Differences ...

==== //depot/perl/hints/darwin.sh#12 (text) ====
Index: perl/hints/darwin.sh
--- perl/hints/darwin.sh.~1~    Sun Jul 29 11:00:05 2001
+++ perl/hints/darwin.sh        Sun Jul 29 11:00:05 2001
@@ -9,24 +9,34 @@
 
 # BSD paths
 case "$prefix" in
-'')    
+'')
+       # Default install; use non-system directories
        prefix='/usr/local'; # Built-in perl uses /usr
        siteprefix='/usr/local';
        vendorprefix='/usr/local'; usevendorprefix='define';
 
-       # 4BSD uses ${prefix}/share/man, not ${prefix}/man.
-       # Don't put man pages in ${prefix}/lib; that's goofy.
-       man1dir="${prefix}/share/man/man1";
-       man3dir="${prefix}/share/man/man3";
+       # Where to put modules.
+       privlib='/Library/Perl'; # Built-in perl uses /System/Library/Perl
+       sitelib='/Library/Perl';
+       vendorlib='/Network/Library/Perl';
+       ;;
+'/usr')
+       # We are building/replacing the built-in perl
+       siteprefix='/usr/local';
+       vendorprefix='/usr/local'; usevendorprefix='define';
 
        # Where to put modules.
-       # Built-in perl uses /System/Library/Perl
-       privlib='/Library/Perl';
+       privlib='/System/Library/Perl';
        sitelib='/Library/Perl';
        vendorlib='/Network/Library/Perl';
        ;;
 esac
 
+# 4BSD uses ${prefix}/share/man, not ${prefix}/man.
+# Don't put man pages in ${prefix}/lib; that's goofy.
+man1dir="${prefix}/share/man/man1";
+man3dir="${prefix}/share/man/man3";
+
 ##
 # Tool chain settings
 ##
@@ -37,15 +47,13 @@
 # nm works.
 usenm='true';
 
-# Libc is in libsystem.
-#libc='/usr/lib/libSystem.dylib';
-
 # Optimize.
 if [ "x$optimize" = 'x' ]; then
     optimize='-O3'
 fi
 
-# XXX Unclear why we require -pipe and -fno-common here.
+# XXX Unclear why we require -pipe and -fno-common here. --Andy Dougherty
+# We don't like commons. --Fred S�nchez
 ccflags="${ccflags} -pipe -fno-common"
 
 # At least on Darwin 1.3.x:
End of Patch.

Reply via email to