diff options
Diffstat (limited to 'lang/perl5/patches/patch-ag')
-rw-r--r-- | lang/perl5/patches/patch-ag | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lang/perl5/patches/patch-ag b/lang/perl5/patches/patch-ag index 39597e6e039..6e2397cab54 100644 --- a/lang/perl5/patches/patch-ag +++ b/lang/perl5/patches/patch-ag @@ -1,8 +1,8 @@ -$NetBSD: patch-ag,v 1.8 2003/05/27 21:57:25 jlam Exp $ +$NetBSD: patch-ag,v 1.9 2004/01/13 01:08:57 jlam Exp $ --- lib/ExtUtils/MM_Unix.pm.orig Thu Mar 15 10:25:20 2001 -+++ lib/ExtUtils/MM_Unix.pm Tue May 27 17:03:53 2003 -@@ -604,8 +604,8 @@ ++++ lib/ExtUtils/MM_Unix.pm +@@ -604,8 +604,8 @@ MAN3PODS = ".join(" \\\n\t", sort keys % INST_HTMLSITELIBDIR INSTALLHTMLSITELIBDIR INST_HTMLSCRIPTDIR INSTALLHTMLSCRIPTDIR INST_HTMLLIBDIR HTMLEXT @@ -13,7 +13,7 @@ $NetBSD: patch-ag,v 1.8 2003/05/27 21:57:25 jlam Exp $ /) { next unless defined $self->{$tmp}; push @m, "$tmp = $self->{$tmp}\n"; -@@ -1059,6 +1059,22 @@ +@@ -1059,6 +1059,22 @@ sub dynamic_lib { my($ldfrom) = '$(LDFROM)'; $armaybe = 'ar' if ($^O eq 'dec_osf' and $armaybe eq ':'); my(@m); @@ -26,9 +26,9 @@ $NetBSD: patch-ag,v 1.8 2003/05/27 21:57:25 jlam Exp $ + my($llibperl) = ''; + if (($^O eq 'netbsd') and ($Config{'useshrplib'} eq 'true')) { + if ($Config{'lddlflags'} =~ /-Wl,-R/) { -+ $llibperl = '-L$(PERL_INC) -Wl,-R$(INSTALLARCHLIB)/CORE -lperl'; ++ $llibperl = '-L$(PERL_INC) -Wl,-R$(INSTALLARCHLIB)/CORE -Wl,-R$(PERL_ARCHLIB)/CORE -lperl'; + } elsif ($Config{'lddlflags'} =~ /-R/) { -+ $llibperl = '-L$(PERL_INC) -R$(INSTALLARCHLIB)/CORE -lperl'; ++ $llibperl = '-L$(PERL_INC) -R$(INSTALLARCHLIB)/CORE -R$(PERL_ARCHLIB)/CORE -lperl'; + } + } + push(@m,'LLIBPERL = '.$llibperl."\n"); @@ -36,7 +36,7 @@ $NetBSD: patch-ag,v 1.8 2003/05/27 21:57:25 jlam Exp $ push(@m,' # This section creates the dynamically loadable $(INST_DYNAMIC) # from $(OBJECT) and possibly $(MYEXTLIB). -@@ -1088,7 +1104,7 @@ +@@ -1088,7 +1104,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $ '); push(@m,' LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) '.$ldrun.' $(LDDLFLAGS) '.$ldfrom. @@ -45,7 +45,7 @@ $NetBSD: patch-ag,v 1.8 2003/05/27 21:57:25 jlam Exp $ push @m, ' $(CHMOD) $(PERM_RWX) $@ '; -@@ -1888,7 +1904,9 @@ +@@ -1888,7 +1904,9 @@ usually solves this kind of problem. } for $install_variable (qw/ INSTALLMAN1DIR @@ -55,7 +55,7 @@ $NetBSD: patch-ag,v 1.8 2003/05/27 21:57:25 jlam Exp $ /) { $self->prefixify($install_variable,$search_prefix,$replace_prefix); -@@ -1898,6 +1916,8 @@ +@@ -1898,6 +1916,8 @@ usually solves this kind of problem. # installed $self->{INSTALLMAN1DIR} = $Config::Config{installman1dir} unless defined $self->{INSTALLMAN1DIR}; @@ -64,7 +64,7 @@ $NetBSD: patch-ag,v 1.8 2003/05/27 21:57:25 jlam Exp $ unless (defined $self->{INST_MAN1DIR}){ if ($self->{INSTALLMAN1DIR} =~ /^(none|\s*)$/){ $self->{INST_MAN1DIR} = $self->{INSTALLMAN1DIR}; -@@ -1909,6 +1929,8 @@ +@@ -1909,6 +1929,8 @@ usually solves this kind of problem. $self->{INSTALLMAN3DIR} = $Config::Config{installman3dir} unless defined $self->{INSTALLMAN3DIR}; @@ -73,7 +73,7 @@ $NetBSD: patch-ag,v 1.8 2003/05/27 21:57:25 jlam Exp $ unless (defined $self->{INST_MAN3DIR}){ if ($self->{INSTALLMAN3DIR} =~ /^(none|\s*)$/){ $self->{INST_MAN3DIR} = $self->{INSTALLMAN3DIR}; -@@ -2153,8 +2175,8 @@ +@@ -2153,8 +2175,8 @@ pure_site_install :: $(INST_SCRIPT) $(INSTALLSCRIPT) \ $(INST_HTMLLIBDIR) $(INSTALLHTMLSITELIBDIR) \ $(INST_HTMLSCRIPTDIR) $(INSTALLHTMLSCRIPTDIR) \ |