summaryrefslogtreecommitdiff
path: root/lang/perl5/patches/patch-aa
blob: 3d1d88c0d5ca1d77673d778d29eb7b7c3da2d45b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$NetBSD: patch-aa,v 1.20 2001/09/17 11:14:51 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...
 		;;
-	solaris|netbsd)
+	solaris)
 		xxx="-R $shrpdir"
 		;;
+	netbsd)
+		xxx="-Wl,-R$shrpdir"
+		;;
 	freebsd)
 		xxx="-Wl,-R$shrpdir"
 		;;
@@ -14719,7 +14727,7 @@
 eval $inhdr
 
 : see if this is a ieeefp.h system
-set ieeefp.h i_ieeefp
+set machine/ieeefp.h i_ieeefp
 eval $inhdr
 
 : see if this is a libutil.h system