1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

1. Merge from src/contrib/perl5/lib/ExtUtils/Attic/Install.pm rev. 1.2:

Force installs. This is to allow (semi-)automatic garbage removal by
      "find /usr/libdata -ctime -N -delete".

Well - substitute /usr/libdata with /usr/local/lib/perl5 here.

Requested by:	sheldonh

2. Do not link with libbind even if Configure detects it.  A particular
reason for that is that perl's getpw* stop working with NIS.

Reported by:	Russell Cattelan <cattelan@thebarn.com>
This commit is contained in:
Anton Berezin 2002-07-10 16:06:00 +00:00
parent cb50e4c8d4
commit 6bab76381c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62775
21 changed files with 98 additions and 42 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= perl PORTNAME= perl
PORTVERSION= ${PERL_VER} PORTVERSION= ${PERL_VER}
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} ${MASTER_SITE_LOCAL:S/$/:local/}

View File

@ -1,7 +1,14 @@
$FreeBSD$ --- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
--- lib/ExtUtils/Install.pm.orig Sun Jun 16 13:36:29 2002 @@ -132,7 +132,7 @@
+++ lib/ExtUtils/Install.pm Sun Jun 16 13:36:50 2002 $diff++;
}
- if ($diff){
+ if ($diff||1){
if (-f $targetfile){
forceunlink($targetfile) unless $nonono;
} else {
@@ -156,7 +156,7 @@ @@ -156,7 +156,7 @@
} else { } else {
inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0 inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0

View File

@ -2,7 +2,7 @@ $FreeBSD$
--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001 --- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
+++ hints/freebsd.sh Sat Jun 1 23:41:18 2002 +++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@ @@ -85,10 +85,17 @@
d_setreuid='define' d_setreuid='define'
d_setegid='undef' d_setegid='undef'
d_seteuid='undef' d_seteuid='undef'
@ -11,6 +11,7 @@ $FreeBSD$
*) usevfork='true' *) usevfork='true'
usemymalloc='n' usemymalloc='n'
libswanted=`echo $libswanted | sed 's/ malloc / /'` libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
+ d_setregid='define' + d_setregid='define'
+ d_setreuid='define' + d_setreuid='define'
+ d_setegid='undef' + d_setegid='undef'

View File

@ -7,7 +7,7 @@
PORTNAME= perl PORTNAME= perl
PORTVERSION= ${PERL_VER} PORTVERSION= ${PERL_VER}
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} ${MASTER_SITE_LOCAL:S/$/:local/}

View File

@ -1,7 +1,14 @@
$FreeBSD$ --- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
--- lib/ExtUtils/Install.pm.orig Sun Jun 16 13:36:29 2002 @@ -132,7 +132,7 @@
+++ lib/ExtUtils/Install.pm Sun Jun 16 13:36:50 2002 $diff++;
}
- if ($diff){
+ if ($diff||1){
if (-f $targetfile){
forceunlink($targetfile) unless $nonono;
} else {
@@ -156,7 +156,7 @@ @@ -156,7 +156,7 @@
} else { } else {
inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0 inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0

View File

@ -2,7 +2,7 @@ $FreeBSD$
--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001 --- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
+++ hints/freebsd.sh Sat Jun 1 23:41:18 2002 +++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@ @@ -85,10 +85,17 @@
d_setreuid='define' d_setreuid='define'
d_setegid='undef' d_setegid='undef'
d_seteuid='undef' d_seteuid='undef'
@ -11,6 +11,7 @@ $FreeBSD$
*) usevfork='true' *) usevfork='true'
usemymalloc='n' usemymalloc='n'
libswanted=`echo $libswanted | sed 's/ malloc / /'` libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
+ d_setregid='define' + d_setregid='define'
+ d_setreuid='define' + d_setreuid='define'
+ d_setegid='undef' + d_setegid='undef'

View File

@ -7,7 +7,7 @@
PORTNAME= perl PORTNAME= perl
PORTVERSION= ${PERL_VER} PORTVERSION= ${PERL_VER}
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} ${MASTER_SITE_LOCAL:S/$/:local/}

View File

@ -1,7 +1,14 @@
$FreeBSD$ --- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
--- lib/ExtUtils/Install.pm.orig Sun Jun 16 13:36:29 2002 @@ -132,7 +132,7 @@
+++ lib/ExtUtils/Install.pm Sun Jun 16 13:36:50 2002 $diff++;
}
- if ($diff){
+ if ($diff||1){
if (-f $targetfile){
forceunlink($targetfile) unless $nonono;
} else {
@@ -156,7 +156,7 @@ @@ -156,7 +156,7 @@
} else { } else {
inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0 inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0

View File

@ -2,7 +2,7 @@ $FreeBSD$
--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001 --- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
+++ hints/freebsd.sh Sat Jun 1 23:41:18 2002 +++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@ @@ -85,10 +85,17 @@
d_setreuid='define' d_setreuid='define'
d_setegid='undef' d_setegid='undef'
d_seteuid='undef' d_seteuid='undef'
@ -11,6 +11,7 @@ $FreeBSD$
*) usevfork='true' *) usevfork='true'
usemymalloc='n' usemymalloc='n'
libswanted=`echo $libswanted | sed 's/ malloc / /'` libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
+ d_setregid='define' + d_setregid='define'
+ d_setreuid='define' + d_setreuid='define'
+ d_setegid='undef' + d_setegid='undef'

View File

@ -7,7 +7,7 @@
PORTNAME= perl PORTNAME= perl
PORTVERSION= ${PERL_VER} PORTVERSION= ${PERL_VER}
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} ${MASTER_SITE_LOCAL:S/$/:local/}

View File

@ -1,7 +1,14 @@
$FreeBSD$ --- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
--- lib/ExtUtils/Install.pm.orig Sun Jun 16 13:36:29 2002 @@ -132,7 +132,7 @@
+++ lib/ExtUtils/Install.pm Sun Jun 16 13:36:50 2002 $diff++;
}
- if ($diff){
+ if ($diff||1){
if (-f $targetfile){
forceunlink($targetfile) unless $nonono;
} else {
@@ -156,7 +156,7 @@ @@ -156,7 +156,7 @@
} else { } else {
inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0 inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0

View File

@ -2,7 +2,7 @@ $FreeBSD$
--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001 --- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
+++ hints/freebsd.sh Sat Jun 1 23:41:18 2002 +++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@ @@ -85,10 +85,17 @@
d_setreuid='define' d_setreuid='define'
d_setegid='undef' d_setegid='undef'
d_seteuid='undef' d_seteuid='undef'
@ -11,6 +11,7 @@ $FreeBSD$
*) usevfork='true' *) usevfork='true'
usemymalloc='n' usemymalloc='n'
libswanted=`echo $libswanted | sed 's/ malloc / /'` libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
+ d_setregid='define' + d_setregid='define'
+ d_setreuid='define' + d_setreuid='define'
+ d_setegid='undef' + d_setegid='undef'

View File

@ -7,7 +7,7 @@
PORTNAME= perl PORTNAME= perl
PORTVERSION= ${PERL_VER} PORTVERSION= ${PERL_VER}
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} ${MASTER_SITE_LOCAL:S/$/:local/}

View File

@ -1,7 +1,14 @@
$FreeBSD$ --- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
--- lib/ExtUtils/Install.pm.orig Sun Jun 16 13:36:29 2002 @@ -132,7 +132,7 @@
+++ lib/ExtUtils/Install.pm Sun Jun 16 13:36:50 2002 $diff++;
}
- if ($diff){
+ if ($diff||1){
if (-f $targetfile){
forceunlink($targetfile) unless $nonono;
} else {
@@ -156,7 +156,7 @@ @@ -156,7 +156,7 @@
} else { } else {
inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0 inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0

View File

@ -2,7 +2,7 @@ $FreeBSD$
--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001 --- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
+++ hints/freebsd.sh Sat Jun 1 23:41:18 2002 +++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@ @@ -85,10 +85,17 @@
d_setreuid='define' d_setreuid='define'
d_setegid='undef' d_setegid='undef'
d_seteuid='undef' d_seteuid='undef'
@ -11,6 +11,7 @@ $FreeBSD$
*) usevfork='true' *) usevfork='true'
usemymalloc='n' usemymalloc='n'
libswanted=`echo $libswanted | sed 's/ malloc / /'` libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
+ d_setregid='define' + d_setregid='define'
+ d_setreuid='define' + d_setreuid='define'
+ d_setegid='undef' + d_setegid='undef'

View File

@ -7,7 +7,7 @@
PORTNAME= perl PORTNAME= perl
PORTVERSION= ${PERL_VER} PORTVERSION= ${PERL_VER}
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} ${MASTER_SITE_LOCAL:S/$/:local/}

View File

@ -1,7 +1,14 @@
$FreeBSD$ --- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
--- lib/ExtUtils/Install.pm.orig Sun Jun 16 13:36:29 2002 @@ -132,7 +132,7 @@
+++ lib/ExtUtils/Install.pm Sun Jun 16 13:36:50 2002 $diff++;
}
- if ($diff){
+ if ($diff||1){
if (-f $targetfile){
forceunlink($targetfile) unless $nonono;
} else {
@@ -156,7 +156,7 @@ @@ -156,7 +156,7 @@
} else { } else {
inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0 inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0

View File

@ -2,7 +2,7 @@ $FreeBSD$
--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001 --- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
+++ hints/freebsd.sh Sat Jun 1 23:41:18 2002 +++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@ @@ -85,10 +85,17 @@
d_setreuid='define' d_setreuid='define'
d_setegid='undef' d_setegid='undef'
d_seteuid='undef' d_seteuid='undef'
@ -11,6 +11,7 @@ $FreeBSD$
*) usevfork='true' *) usevfork='true'
usemymalloc='n' usemymalloc='n'
libswanted=`echo $libswanted | sed 's/ malloc / /'` libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
+ d_setregid='define' + d_setregid='define'
+ d_setreuid='define' + d_setreuid='define'
+ d_setegid='undef' + d_setegid='undef'

View File

@ -7,7 +7,7 @@
PORTNAME= perl PORTNAME= perl
PORTVERSION= ${PERL_VER} PORTVERSION= ${PERL_VER}
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} ${MASTER_SITE_LOCAL:S/$/:local/}

View File

@ -1,7 +1,14 @@
$FreeBSD$ --- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
--- lib/ExtUtils/Install.pm.orig Sun Jun 16 13:36:29 2002 @@ -132,7 +132,7 @@
+++ lib/ExtUtils/Install.pm Sun Jun 16 13:36:50 2002 $diff++;
}
- if ($diff){
+ if ($diff||1){
if (-f $targetfile){
forceunlink($targetfile) unless $nonono;
} else {
@@ -156,7 +156,7 @@ @@ -156,7 +156,7 @@
} else { } else {
inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0 inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0

View File

@ -2,7 +2,7 @@ $FreeBSD$
--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001 --- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
+++ hints/freebsd.sh Sat Jun 1 23:41:18 2002 +++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@ @@ -85,10 +85,17 @@
d_setreuid='define' d_setreuid='define'
d_setegid='undef' d_setegid='undef'
d_seteuid='undef' d_seteuid='undef'
@ -11,6 +11,7 @@ $FreeBSD$
*) usevfork='true' *) usevfork='true'
usemymalloc='n' usemymalloc='n'
libswanted=`echo $libswanted | sed 's/ malloc / /'` libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
+ d_setregid='define' + d_setregid='define'
+ d_setreuid='define' + d_setreuid='define'
+ d_setegid='undef' + d_setegid='undef'