aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.12/files
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2004-05-31 07:13:56 +0800
committertobez <tobez@FreeBSD.org>2004-05-31 07:13:56 +0800
commit4acca40ca9135757d9a15b44f34ae34e19bbf48c (patch)
tree49e7d0becf81655b22af847e874bfa0b20305c9d /lang/perl5.12/files
parent1d5c7bb3db9b28a535057fa12dc7ec6bdc710a4f (diff)
downloadfreebsd-ports-gnome-4acca40ca9135757d9a15b44f34ae34e19bbf48c.tar.gz
freebsd-ports-gnome-4acca40ca9135757d9a15b44f34ae34e19bbf48c.tar.zst
freebsd-ports-gnome-4acca40ca9135757d9a15b44f34ae34e19bbf48c.zip
1. Update to 5.8.4.
2. Make this port respect Makefile.local. 3. Transfer manpages to Makefile.man. 4. Move manpages for modules, included into distribution, into lib/perl5/PERL_VER/perl/man/man3, to eliminate file conflicts with p5 ports for modules included with perl. 5. Use PREFIX/SITE_PERL_REL instead of SITE_PERL in the Makefile. 6. Switch to bzipped sources. 7. Other small adjustments. PR: 65925, 66096, 67205 Submitted by: foxfair (1), Charles Swiger <chuck@pkix.net> (1), krion (3) Reported by: Roy Badami <roy@gnomon.org.uk> (2)
Diffstat (limited to 'lang/perl5.12/files')
-rw-r--r--lang/perl5.12/files/patch-freebsd.sh20
-rw-r--r--lang/perl5.12/files/use.perl2
2 files changed, 22 insertions, 0 deletions
diff --git a/lang/perl5.12/files/patch-freebsd.sh b/lang/perl5.12/files/patch-freebsd.sh
new file mode 100644
index 000000000000..68ec6d4cd8a1
--- /dev/null
+++ b/lang/perl5.12/files/patch-freebsd.sh
@@ -0,0 +1,20 @@
+--- hints/freebsd.sh.orig Sun May 30 17:55:47 2004
++++ hints/freebsd.sh Sun May 30 17:57:16 2004
+@@ -88,6 +88,7 @@ case "$osvers" in
+ esac
+ libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
++ libswanted=`echo $libswanted | sed 's/ dl / /'`
+ # iconv gone in Perl 5.8.1, but if someone compiles 5.8.0 or earlier.
+ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ d_setregid='define'
+@@ -102,6 +103,9 @@ case "$osvers" in
+ ;;
+ esac
+ libswanted=`echo $libswanted | sed 's/ malloc / /'`
++ libswanted=`echo $libswanted | sed 's/ bind / /'`
++ libswanted=`echo $libswanted | sed 's/ dl / /'`
++ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ ;;
+ esac
+
diff --git a/lang/perl5.12/files/use.perl b/lang/perl5.12/files/use.perl
index 354c8e1e59cc..ba6057f1c5db 100644
--- a/lang/perl5.12/files/use.perl
+++ b/lang/perl5.12/files/use.perl
@@ -69,6 +69,7 @@ EOF
while (<MPOLD>) {
next if m|use.perl generated line|;
next if m|^\s*OPTIONAL_MANPATH\s+\S+/lib/perl5/%%PERL_VERSION%%/man\s*$|;
+ next if m|^\s*OPTIONAL_MANPATH\s+\S+/lib/perl5/%%PERL_VERSION%%/perl/man\s*$|;
print MPNEW;
}
close MPNEW;
@@ -112,6 +113,7 @@ EOF
my $perl_port_manpath = <<EOF;
# -- use.perl generated line -- #
OPTIONAL_MANPATH %%PREFIX%%/lib/perl5/%%PERL_VERSION%%/man
+OPTIONAL_MANPATH %%PREFIX%%/lib/perl5/%%PERL_VERSION%%/perl/man
EOF
open MPOLD, "< /etc/manpath.config" or die "/etc/manpath.config: $!";