diff options
Diffstat (limited to 'lang/perl5.6/files')
-rw-r--r-- | lang/perl5.6/files/patch-Install.pm | 22 | ||||
-rw-r--r-- | lang/perl5.6/files/patch-ab | 13 | ||||
-rw-r--r-- | lang/perl5.6/files/patch-ac | 35 | ||||
-rw-r--r-- | lang/perl5.6/files/patch-ad | 20 | ||||
-rw-r--r-- | lang/perl5.6/files/patch-ae | 12 | ||||
-rw-r--r-- | lang/perl5.6/files/patch-af | 22 | ||||
-rw-r--r-- | lang/perl5.6/files/patch-makedepend | 13 | ||||
-rw-r--r-- | lang/perl5.6/files/patch-mg.c | 13 | ||||
-rw-r--r-- | lang/perl5.6/files/patch-perl.c | 58 | ||||
-rw-r--r-- | lang/perl5.6/files/use.perl | 140 |
10 files changed, 0 insertions, 348 deletions
diff --git a/lang/perl5.6/files/patch-Install.pm b/lang/perl5.6/files/patch-Install.pm deleted file mode 100644 index bbd42019def6..000000000000 --- a/lang/perl5.6/files/patch-Install.pm +++ /dev/null @@ -1,22 +0,0 @@ -$FreeBSD$ - ---- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001 -+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002 -@@ -132,7 +132,7 @@ - $diff++; - } - -- if ($diff){ -+ if ($diff||1){ - if (-f $targetfile){ - forceunlink($targetfile) unless $nonono; - } else { -@@ -156,7 +156,7 @@ - } else { - inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0 - } -- $packlist->{$origfile}++; -+ $packlist->{$targetfile}++; - - }, "."); - chdir($cwd) or Carp::croak("Couldn't chdir to $cwd: $!"); diff --git a/lang/perl5.6/files/patch-ab b/lang/perl5.6/files/patch-ab deleted file mode 100644 index 3cb0692940b6..000000000000 --- a/lang/perl5.6/files/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -$FreeBSD$ - ---- installperl.ORIG Thu Jul 30 15:58:50 1998 -+++ installperl Thu Jul 30 16:02:16 1998 -@@ -269,7 +269,7 @@ - (-l $usrbinperl) && - ((readlink $usrbinperl) eq $expinstperl)); - } -- if ((! $mainperl_is_instperl) && -+ if ('' && (! $mainperl_is_instperl) && - (yn("Many scripts expect perl to be installed as $usrbinperl.\n" . - "Do you wish to have $usrbinperl be the same as\n" . - "$expinstperl? [y] "))) diff --git a/lang/perl5.6/files/patch-ac b/lang/perl5.6/files/patch-ac deleted file mode 100644 index 41b4b73fb67a..000000000000 --- a/lang/perl5.6/files/patch-ac +++ /dev/null @@ -1,35 +0,0 @@ -$FreeBSD$ - ---- hints/freebsd.sh.orig Sun Jul 28 09:37:51 2002 -+++ hints/freebsd.sh Sun Jul 28 09:39:23 2002 -@@ -85,10 +85,20 @@ - d_setreuid='define' - d_setegid='undef' - d_seteuid='undef' -+ d_dosuid='define' - ;; - *) usevfork='true' -- usemymalloc='n' -+ case "$usemymalloc" in -+ "") usemymalloc='n' -+ ;; -+ esac - libswanted=`echo $libswanted | sed 's/ malloc / /'` -+ libswanted=`echo $libswanted | sed 's/ bind / /'` -+ d_setregid='define' -+ d_setreuid='define' -+ d_setegid='undef' -+ d_seteuid='undef' -+ d_dosuid='define' - ;; - esac - -@@ -115,7 +125,8 @@ - fi - lddlflags='-Bshareable' - fi -- cccdlflags='-DPIC -fpic' -+ cccdlflags='-DPIC -fPIC' -+ libswanted=`echo $libswanted | sed 's/ iconv / /'` - ;; - esac diff --git a/lang/perl5.6/files/patch-ad b/lang/perl5.6/files/patch-ad deleted file mode 100644 index fa9bf3ebfc2e..000000000000 --- a/lang/perl5.6/files/patch-ad +++ /dev/null @@ -1,20 +0,0 @@ -$FreeBSD$ - ---- perl.h.ORIG Thu Mar 22 07:05:02 2001 -+++ perl.h Tue Apr 10 20:29:46 2001 -@@ -151,6 +151,15 @@ - - */ - -+/* needed for IAMSUID case for 4.4BSD systems -+ * XXX there should probably be a Configure variable -+ */ -+ -+#ifdef I_SYS_PARAM -+#if (defined (BSD) && (BSD >= 199306)) -+# include <sys/mount.h> -+#endif /* !BSD */ -+#endif /* !I_SYS_PARAM */ - - class CPerlObj; - diff --git a/lang/perl5.6/files/patch-ae b/lang/perl5.6/files/patch-ae deleted file mode 100644 index 27c3d9b7bd94..000000000000 --- a/lang/perl5.6/files/patch-ae +++ /dev/null @@ -1,12 +0,0 @@ -$FreeBSD$ - ---- makedepend.SH.ORIG Fri Jul 24 06:00:58 1998 -+++ makedepend.SH Thu Jul 30 17:08:37 1998 -@@ -68,6 +68,7 @@ - case "$osname" in - os2) ;; - netbsd) ;; -+ freebsd) ;; - *) $touch $firstmakefile ;; - esac - fi diff --git a/lang/perl5.6/files/patch-af b/lang/perl5.6/files/patch-af deleted file mode 100644 index d856883bf608..000000000000 --- a/lang/perl5.6/files/patch-af +++ /dev/null @@ -1,22 +0,0 @@ -$FreeBSD$ - ---- Configure.orig Mon Mar 19 04:03:33 2001 -+++ Configure Fri Nov 1 14:58:06 2002 -@@ -296,7 +296,7 @@ cppflags='' - ldflags='' - lkflags='' - locincpth='' --optimize='' -+optimize=${CFLAGS:-''} - cf_email='' - cf_by='' - cf_time='' -@@ -14940,7 +14940,7 @@ for i in \`$cc -v -c tmp.c 2>&1 $postpro - do - case "\$i" in - -D*) echo "\$i" | $sed 's/^-D//';; -- -A*) $test "$gccversion" && echo "\$i" | $sed 's/^-A\(.*\)(\(.*\))/\1=\2/';; -+ -A*) $test "$gccversion" && echo "\$i" | $sed 's/^-A//' | $sed 's/\(.*\)(\(.*\))/\1=\2/';; - esac - done - $rm -f try.c diff --git a/lang/perl5.6/files/patch-makedepend b/lang/perl5.6/files/patch-makedepend deleted file mode 100644 index 39d99bc3ee42..000000000000 --- a/lang/perl5.6/files/patch-makedepend +++ /dev/null @@ -1,13 +0,0 @@ -$FreeBSD$ - ---- makedepend.SH.orig Wed May 29 19:29:05 2002 -+++ makedepend.SH Wed May 29 19:31:31 2002 -@@ -155,6 +155,8 @@ - $sed \ - -e '1d' \ - -e '/^#.*<stdin>/d' \ -+ -e '/^#.*<built-in>/d' \ -+ -e '/^#.*<command line>/d' \ - -e '/^#.*"-"/d' \ - -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \ - -e 's/^[ ]*#[ ]*line/#/' \ diff --git a/lang/perl5.6/files/patch-mg.c b/lang/perl5.6/files/patch-mg.c deleted file mode 100644 index 715fdc06f893..000000000000 --- a/lang/perl5.6/files/patch-mg.c +++ /dev/null @@ -1,13 +0,0 @@ -$FreeBSD$ - ---- mg.c.orig Tue Oct 29 16:24:52 2002 -+++ mg.c Tue Oct 29 16:32:26 2002 -@@ -562,6 +562,8 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg) - (void)SvOK_off(sv); - else if (PL_in_eval) - sv_setiv(sv, PL_in_eval & ~(EVAL_INREQUIRE)); -+ else -+ sv_setiv(sv, 0); - } - break; - case '\024': /* ^T */ diff --git a/lang/perl5.6/files/patch-perl.c b/lang/perl5.6/files/patch-perl.c deleted file mode 100644 index b9b348bef069..000000000000 --- a/lang/perl5.6/files/patch-perl.c +++ /dev/null @@ -1,58 +0,0 @@ -$FreeBSD$ - ---- perl.c.orig Sun Jun 2 12:29:01 2002 -+++ perl.c Sun Jun 2 12:30:14 2002 -@@ -3407,6 +3407,26 @@ - #endif /* VMS */ - } - -+#ifdef SITEARCH_EXP -+ /* sitearch is always relative to sitelib on Windows for -+ * DLL-based path intuition to work correctly */ -+# if !defined(WIN32) -+ incpush(SITEARCH_EXP, FALSE, FALSE); -+# endif -+#endif -+ -+#ifdef SITELIB_EXP -+# if defined(WIN32) -+ incpush(SITELIB_EXP, TRUE, FALSE); /* this picks up sitearch as well */ -+# else -+ incpush(SITELIB_EXP, FALSE, FALSE); -+# endif -+#endif -+ -+#ifdef SITELIB_STEM /* Search for version-specific dirs below here */ -+ incpush(SITELIB_STEM, FALSE, TRUE); -+#endif -+ - /* Use the ~-expanded versions of APPLLIB (undocumented), - ARCHLIB PRIVLIB SITEARCH SITELIB VENDORARCH and VENDORLIB - */ -@@ -3445,26 +3465,6 @@ - incpush(PRIVLIB_EXP, TRUE, FALSE); - #else - incpush(PRIVLIB_EXP, FALSE, FALSE); --#endif -- --#ifdef SITEARCH_EXP -- /* sitearch is always relative to sitelib on Windows for -- * DLL-based path intuition to work correctly */ --# if !defined(WIN32) -- incpush(SITEARCH_EXP, FALSE, FALSE); --# endif --#endif -- --#ifdef SITELIB_EXP --# if defined(WIN32) -- incpush(SITELIB_EXP, TRUE, FALSE); /* this picks up sitearch as well */ --# else -- incpush(SITELIB_EXP, FALSE, FALSE); --# endif --#endif -- --#ifdef SITELIB_STEM /* Search for version-specific dirs below here */ -- incpush(SITELIB_STEM, FALSE, TRUE); - #endif - - #ifdef PERL_VENDORARCH_EXP diff --git a/lang/perl5.6/files/use.perl b/lang/perl5.6/files/use.perl deleted file mode 100644 index 0853b08da0a4..000000000000 --- a/lang/perl5.6/files/use.perl +++ /dev/null @@ -1,140 +0,0 @@ -#! %%PREFIX%%/bin/perl -w -# $FreeBSD$ -use strict; - -# XXX what to do with perldoc, pelbug, perlcc ?? - -sub usage -{ - print STDERR <<EOF; -Usage: - $0 port -> /usr/bin/perl is the perl5 port - $0 system -> /usr/bin/perl is the system perl -EOF - exit 2; -} - -my $port_perl = '%%PREFIX%%/bin/perl'; -$port_perl =~ tr|/|/|s; - -@ARGV == 1 or usage(); -if ($ARGV[0] eq 'port') { - switch_to_port(); -} elsif ($ARGV[0] eq 'system') { - switch_to_system(); -} else { - usage(); -} -exit 0; - -# Both functions depend on the idea that switch_to_port leaves -# perl5 alone. If the wrapper is installed on a -current system, -# /usr/bin/perl5 will also be the wrapper. - -sub switch_to_system -{ - # protect against cases where people use PREFIX=/usr - if ($port_perl ne '/usr/bin/perl') { - unlink '/usr/bin/perl', '/usr/bin/suidperl', - '/usr/bin/perl%%PERL_VERSION%%'; - - link '/usr/bin/perl5', '/usr/bin/perl'; - link '/usr/bin/perl5', '/usr/bin/perl%%PERL_VERSION%%'; - - my $ident = `/usr/bin/ident -q /usr/bin/perl5`; - if ($ident =~ m#src/usr.bin/perl/perl.c#) { - link '/usr/bin/perl5', '/usr/bin/suidperl'; - } else { - link '/usr/bin/sperl5', '/usr/bin/suidperl'; - } - } - - open MK, ">> /etc/make.conf" or die "/etc/make.conf: $!"; - print MK <<EOF; -# -- use.perl generated deltas -- # -# Created: @{[scalar localtime]} -# Setting to use base system perl: -.undef PERL_VER -.undef PERL_VERSION -.undef PERL_ARCH -.undef NOPERL -.undef NO_PERL - -EOF - close MK; - - open MPOLD, "< /etc/manpath.config" or die "/etc/manpath.config: $!"; - open MPNEW, "> /etc/manpath.config.new" or die "/etc/manpath.config.new: $!"; - while (<MPOLD>) { - next if m|use.perl generated line|; - next if m|^\s*OPTIONAL_MANPATH\s+\S+/lib/perl5/%%PERL_VERSION%%/man\s*$|; - print MPNEW; - } - close MPNEW; - close MPOLD; - rename '/etc/manpath.config', '/etc/manpath.config.bak'; - rename '/etc/manpath.config.new', '/etc/manpath.config'; -} - -sub switch_to_port -{ - # protect against cases where people use PREFIX=/usr - if ($port_perl ne '/usr/bin/perl') { - - my $need_perl5_link; - if (-e "/usr/bin/perl5" && !-l "/usr/bin/perl5") { - my $ident = `/usr/bin/ident -q /usr/bin/perl5`; - if ($ident =~ m#src/usr.bin/perl/perl.c#) { - rename '/usr/bin/perl', '/usr/bin/perl-wrapper'; - } else { - unlink '/usr/bin/perl'; - } - } else { - unlink "/usr/bin/perl5"; - $need_perl5_link = 1; - } - - unlink '/usr/bin/suidperl', '/usr/bin/perl%%PERL_VERSION%%'; - - symlink '%%PREFIX%%/bin/perl', '/usr/bin/perl'; - symlink '%%PREFIX%%/bin/suidperl', '/usr/bin/suidperl'; - symlink '%%PREFIX%%/bin/perl', '/usr/bin/perl%%PERL_VERSION%%'; - symlink '%%PREFIX%%/bin/perl', '/usr/bin/perl5' if $need_perl5_link; - } - - open MK, ">> /etc/make.conf" or die "/etc/make.conf: $!"; - print MK <<EOF; -# -- use.perl generated deltas -- # -# Created: @{[scalar localtime]} -# Setting to use base perl from ports: -PERL_VER=%%PERL_VER%% -PERL_VERSION=%%PERL_VERSION%% -PERL_ARCH=%%PERL_ARCH%% -NOPERL=yo -NO_PERL=yo -NO_PERL_WRAPPER=yo - -EOF - close MK; - - my $perl_port_manpath = <<EOF; -# -- use.perl generated line -- # -OPTIONAL_MANPATH %%PREFIX%%/lib/perl5/%%PERL_VERSION%%/man -EOF - - open MPOLD, "< /etc/manpath.config" or die "/etc/manpath.config: $!"; - open MPNEW, "> /etc/manpath.config.new" or die "/etc/manpath.config.new: $!"; - my $modified = 0; - while (<MPOLD>) { - if (!$modified && m|^\s*OPTIONAL_MANPATH\s+\S+/lib/perl5/\S+/man\s*$|) { - print MPNEW $perl_port_manpath; - $modified = 1; - } - print MPNEW; - } - print MPNEW $perl_port_manpath unless $modified; - close MPNEW; - close MPOLD; - rename '/etc/manpath.config', '/etc/manpath.config.bak'; - rename '/etc/manpath.config.new', '/etc/manpath.config'; -} |