This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
From: Benny Siegert <bsiegert@gmail.com>
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Sun, 23 Jan 2011 09:17:39 +0000 (10:17 +0100)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Sun, 23 Jan 2011 09:17:39 +0000 (10:17 +0100)
Date: Thu, 20 Jan 2011 19:27:04 +0100
Subject: [PATCH] MirBSD: fix rpath for shared libperl

If you build perl with a shared libperl.so on MirBSD (the default config),
it will work up to the installation; however, once installed, it will be
unable to find libperl. Treat rpath handling like in the other BSD
dialects.

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Configure

index d8fb732..28be3da 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -28,7 +28,7 @@
 # See Porting/pumpkin.pod for more information on metaconfig.
 #
 
-# Generated on Fri Jan  7 14:18:56 CET 2011 [metaconfig 3.5 PL0]
+# Generated on Sun Jan 23 10:14:12 CET 2011 [metaconfig 3.5 PL0]
 # (with additional metaconfig patches by perlbug@perl.org)
 
 cat >c1$$ <<EOF
@@ -8326,7 +8326,7 @@ if "$useshrplib"; then
        solaris)
                xxx="-R $shrpdir"
                ;;
-       freebsd|netbsd|openbsd|interix|dragonfly)
+       freebsd|mirbsd|netbsd|openbsd|interix|dragonfly)
                xxx="-Wl,-R$shrpdir"
                ;;
        bsdos|linux|irix*|dec_osf|gnu*)