Subject: Re: adding support for BSD/OS for perl5 and libperl.so not found
To: Johnny C. Lam <jlam@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/03/2003 18:05:30
On Sat, 4 Oct 2003, Johnny C. Lam wrote:
> You'll need to make patches/patch-aa also add a case for BSD/OS in
> the second block:
>
> bsdos)
> xxx="-Wl,-Rshrpdir"
> ;;
Thank you! It appears to work.
May I commit this ...
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/lang/perl5/patches/patch-aa,v
retrieving revision 1.23
diff -b -u -r1.23 patch-aa
--- patches/patch-aa 2003/05/27 21:57:25 1.23
+++ patches/patch-aa 2003/10/04 01:04:15
@@ -1,7 +1,5 @@
-$NetBSD: patch-aa,v 1.23 2003/05/27 21:57:25 jlam Exp $
-
--- Configure.orig Sun Mar 18 22:03:33 2001
-+++ Configure Tue May 27 15:23:10 2003
++++ Configure Fri Oct 3 20:55:27 2003
@@ -891,6 +891,8 @@
sitelib=''
sitelib_stem=''
@@ -20,7 +18,7 @@
case " $dflt " in
*" $thisflag "*) ;;
*) dflt="$dflt $thisflag" ;;
-@@ -6807,9 +6809,12 @@
+@@ -6807,12 +6809,18 @@
aix)
# We'll set it in Makefile.SH...
;;
@@ -33,8 +31,14 @@
+ ;;
freebsd)
xxx="-Wl,-R$shrpdir"
+ ;;
++ bsdos)
++ xxx="-Wl,-R$shrpdir"
++ ;;
+ linux|irix*|dec_osf)
+ xxx="-Wl,-rpath,$shrpdir"
;;
-@@ -6966,6 +6971,17 @@
+@@ -6966,6 +6974,17 @@
;;
esac
@@ -52,7 +56,7 @@
: see if we can have long filenames
echo " "
first=123456789abcdef
-@@ -7090,6 +7106,17 @@
+@@ -7090,6 +7109,17 @@
;;
esac
@@ -70,7 +74,7 @@
: see if we have to deal with yellow pages, now NIS.
if $test -d /usr/etc/yp || $test -d /etc/yp; then
if $test -f /usr/etc/nibindd; then
-@@ -14719,7 +14746,7 @@
+@@ -14719,7 +14749,7 @@
eval $inhdr
: see if this is a ieeefp.h system
@@ -79,7 +83,7 @@
eval $inhdr
: see if this is a libutil.h system
-@@ -16145,6 +16172,8 @@
+@@ -16145,6 +16175,8 @@
installsitearch='$installsitearch'
installsitebin='$installsitebin'
installsitelib='$installsitelib'
Jeremy C. Reed
http://bsd.reedmedia.net/