diff options
author | tron <tron@pkgsrc.org> | 2001-09-17 18:04:42 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-09-17 18:04:42 +0000 |
commit | 95a495ffdf910db893ff36064fc67a57bad2bbdb (patch) | |
tree | e18bec3594014d3ad296719b85f455cce973167b /lang/perl5/patches/patch-aa | |
parent | 8b012e804da2c8bbd7ff19c5ecc94c5410d26769 (diff) | |
download | pkgsrc-95a495ffdf910db893ff36064fc67a57bad2bbdb.tar.gz |
Solve SunOS build problem in a much cleaner way by predefining "libswanted"
for Perl's configuration script as suggested by Johnny C. Lam in private
e-mail.
Diffstat (limited to 'lang/perl5/patches/patch-aa')
-rw-r--r-- | lang/perl5/patches/patch-aa | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lang/perl5/patches/patch-aa b/lang/perl5/patches/patch-aa index 3d1d88c0d5c..d3999384aa7 100644 --- a/lang/perl5/patches/patch-aa +++ b/lang/perl5/patches/patch-aa @@ -1,21 +1,7 @@ -$NetBSD: patch-aa,v 1.20 2001/09/17 11:14:51 tron Exp $ +$NetBSD: patch-aa,v 1.21 2001/09/17 18:04:44 tron Exp $ --- Configure.orig Mon Mar 19 04:03:33 2001 +++ Configure Mon Sep 17 11:59:02 2001 -@@ -1033,7 +1033,12 @@ - libswanted='sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl' - libswanted="$libswanted dld ld sun m c cposix posix" - libswanted="$libswanted ndir dir crypt sec" --libswanted="$libswanted ucb bsd BSD PW x iconv util" -+if [ -x /usr/bin/uname ] && [ "`/usr/bin/uname -s`" = SunOS ] -+then -+ libswanted="$libswanted ucb bsd BSD PW x util" -+else -+ libswanted="$libswanted ucb bsd BSD PW x iconv util" -+fi - : We probably want to search /usr/shlib before most other libraries. - : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist. - glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'` @@ -6807,9 +6812,12 @@ aix) # We'll set it in Makefile.SH... |