diff options
Diffstat (limited to 'lang/perl5/patches/patch-ab')
-rw-r--r-- | lang/perl5/patches/patch-ab | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/lang/perl5/patches/patch-ab b/lang/perl5/patches/patch-ab index bedeb8734b7..9b3cc22037f 100644 --- a/lang/perl5/patches/patch-ab +++ b/lang/perl5/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.9 2001/09/12 18:58:57 jlam Exp $ +$NetBSD: patch-ab,v 1.10 2001/10/01 07:05:11 jlam Exp $ --- hints/netbsd.sh.orig Thu Feb 22 21:57:55 2001 -+++ hints/netbsd.sh Wed Sep 12 14:41:45 2001 -@@ -21,7 +21,11 @@ ++++ hints/netbsd.sh +@@ -21,12 +21,20 @@ if [ -f /usr/libexec/ld.elf_so ]; then d_dlopen=$define d_dlerror=$define @@ -15,7 +15,17 @@ $NetBSD: patch-ab,v 1.9 2001/09/12 18:58:57 jlam Exp $ cccdlflags="-DPIC -fPIC $cccdlflags" lddlflags="--whole-archive -shared $lddlflags" elif [ "`uname -m`" = "pmax" ]; then -@@ -59,12 +63,13 @@ + # NetBSD 1.3 and 1.3.1 on pmax shipped an `old' ld.so, which will not work. +- d_dlopen=$undef ++ case "$osvers" in ++ 1.3|1.3.1) ++ d_dlopen=$undef ++ ;; ++ esac + elif [ -f /usr/libexec/ld.so ]; then + d_dlopen=$define + d_dlerror=$define +@@ -59,12 +67,13 @@ d_setruid="$undef" # there's no problem with vfork. |