summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2002-06-02 21:22:25 +0000
committertobez <tobez@FreeBSD.org>2002-06-02 21:22:25 +0000
commitb88c5d2bd954d603308e154c9e64da3de33fe8c6 (patch)
treeb16469fff36d4c561e4ad96c843122b6cf144ace /lang
parentec689584b0e733facb3bd41e4dc0c92fc235bf3d (diff)
downloadFreeBSD-ports-b88c5d2bd954d603308e154c9e64da3de33fe8c6.zip
FreeBSD-ports-b88c5d2bd954d603308e154c9e64da3de33fe8c6.tar.gz
Put SITEARCH and SITELIB paths in front of ARCHLIB and PRIVLIB in the
@INC array. This takes care of the infamous problem of updating the packages already in the perl distribution. With this change, no tricks are any longer necessary for such p5 ports, except the usual tweaking of INSTALLDIRS in Makefile.PL. This last one can also be taken care of by an appropriate BSDPAN modifications, but until we have the `natural' @INC order in the 4.X base system perl, it is meaningless. Do not include iconv.h and do not link with libiconv. Iconv is not used by perl in any way currently, but it used to link it if found. Fix perl on freebsd/sparc64. PR: 33212 (iconv), 37605 (iconv), 38813 (sparc64) Reported by: Vivek Khera <khera@kciLink.com> (iconv), Martin Nilsson <martin@gneto.com> (iconv) Submitted by: jake (sparc64)
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5.10/Makefile4
-rw-r--r--lang/perl5.10/files/patch-ab2
-rw-r--r--lang/perl5.10/files/patch-ac15
-rw-r--r--lang/perl5.10/files/patch-ad2
-rw-r--r--lang/perl5.10/files/patch-ae2
-rw-r--r--lang/perl5.10/files/patch-af2
-rw-r--r--lang/perl5.10/files/patch-makedepend2
-rw-r--r--lang/perl5.10/files/patch-perl.c58
-rw-r--r--lang/perl5.10/pkg-descr8
-rw-r--r--lang/perl5.12/Makefile4
-rw-r--r--lang/perl5.12/files/patch-ab2
-rw-r--r--lang/perl5.12/files/patch-ac15
-rw-r--r--lang/perl5.12/files/patch-ad2
-rw-r--r--lang/perl5.12/files/patch-ae2
-rw-r--r--lang/perl5.12/files/patch-af2
-rw-r--r--lang/perl5.12/files/patch-makedepend2
-rw-r--r--lang/perl5.12/files/patch-perl.c58
-rw-r--r--lang/perl5.12/pkg-descr8
-rw-r--r--lang/perl5.14/Makefile4
-rw-r--r--lang/perl5.14/files/patch-ab2
-rw-r--r--lang/perl5.14/files/patch-ac15
-rw-r--r--lang/perl5.14/files/patch-ad2
-rw-r--r--lang/perl5.14/files/patch-ae2
-rw-r--r--lang/perl5.14/files/patch-af2
-rw-r--r--lang/perl5.14/files/patch-makedepend2
-rw-r--r--lang/perl5.14/files/patch-perl.c58
-rw-r--r--lang/perl5.14/pkg-descr8
-rw-r--r--lang/perl5.16/Makefile4
-rw-r--r--lang/perl5.16/files/patch-ab2
-rw-r--r--lang/perl5.16/files/patch-ac15
-rw-r--r--lang/perl5.16/files/patch-ad2
-rw-r--r--lang/perl5.16/files/patch-ae2
-rw-r--r--lang/perl5.16/files/patch-af2
-rw-r--r--lang/perl5.16/files/patch-makedepend2
-rw-r--r--lang/perl5.16/files/patch-perl.c58
-rw-r--r--lang/perl5.16/pkg-descr8
-rw-r--r--lang/perl5.6/Makefile4
-rw-r--r--lang/perl5.6/files/patch-ab2
-rw-r--r--lang/perl5.6/files/patch-ac15
-rw-r--r--lang/perl5.6/files/patch-ad2
-rw-r--r--lang/perl5.6/files/patch-ae2
-rw-r--r--lang/perl5.6/files/patch-af2
-rw-r--r--lang/perl5.6/files/patch-makedepend2
-rw-r--r--lang/perl5.6/files/patch-perl.c58
-rw-r--r--lang/perl5.6/pkg-descr8
-rw-r--r--lang/perl5.8/Makefile4
-rw-r--r--lang/perl5.8/files/patch-ab2
-rw-r--r--lang/perl5.8/files/patch-ac15
-rw-r--r--lang/perl5.8/files/patch-ad2
-rw-r--r--lang/perl5.8/files/patch-ae2
-rw-r--r--lang/perl5.8/files/patch-af2
-rw-r--r--lang/perl5.8/files/patch-makedepend2
-rw-r--r--lang/perl5.8/files/patch-perl.c58
-rw-r--r--lang/perl5.8/pkg-descr8
-rw-r--r--lang/perl5/Makefile4
-rw-r--r--lang/perl5/files/patch-ab2
-rw-r--r--lang/perl5/files/patch-ac15
-rw-r--r--lang/perl5/files/patch-ad2
-rw-r--r--lang/perl5/files/patch-ae2
-rw-r--r--lang/perl5/files/patch-af2
-rw-r--r--lang/perl5/files/patch-makedepend2
-rw-r--r--lang/perl5/files/patch-perl.c58
-rw-r--r--lang/perl5/pkg-descr8
63 files changed, 609 insertions, 56 deletions
diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile
index 0f3421d..45c41b7 100644
--- a/lang/perl5.10/Makefile
+++ b/lang/perl5.10/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/}
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
-Dman3dir=${PREFIX}/lib/perl5/${PERL_VER}/man/man3 \
-Dsitearch=${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} \
-Dsitelib=${PREFIX}/lib/perl5/site_perl/${PERL_VER} \
- -Ui_gdbm -Ui_malloc -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
+ -Ui_gdbm -Ui_malloc -Ui_iconv -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
INSTALLS_SHLIB= yes
INCLUDEDIR= /usr/include
diff --git a/lang/perl5.10/files/patch-ab b/lang/perl5.10/files/patch-ab
index 5945ef4..3cb0692 100644
--- a/lang/perl5.10/files/patch-ab
+++ b/lang/perl5.10/files/patch-ab
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- installperl.ORIG Thu Jul 30 15:58:50 1998
+++ installperl Thu Jul 30 16:02:16 1998
@@ -269,7 +269,7 @@
diff --git a/lang/perl5.10/files/patch-ac b/lang/perl5.10/files/patch-ac
index aa988cd..3a0c075 100644
--- a/lang/perl5.10/files/patch-ac
+++ b/lang/perl5.10/files/patch-ac
@@ -1,5 +1,7 @@
---- hints/freebsd.sh.ORIG Tue Apr 10 20:24:51 2001
-+++ hints/freebsd.sh Tue Apr 10 20:27:45 2001
+$FreeBSD$
+
+--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
++++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@
d_setreuid='define'
d_setegid='undef'
@@ -17,3 +19,12 @@
;;
esac
+@@ -115,7 +121,8 @@
+ fi
+ lddlflags='-Bshareable'
+ fi
+- cccdlflags='-DPIC -fpic'
++ cccdlflags='-DPIC -fPIC'
++ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ ;;
+ esac
diff --git a/lang/perl5.10/files/patch-ad b/lang/perl5.10/files/patch-ad
index a31ff2d..fa9bf3e 100644
--- a/lang/perl5.10/files/patch-ad
+++ b/lang/perl5.10/files/patch-ad
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- perl.h.ORIG Thu Mar 22 07:05:02 2001
+++ perl.h Tue Apr 10 20:29:46 2001
@@ -151,6 +151,15 @@
diff --git a/lang/perl5.10/files/patch-ae b/lang/perl5.10/files/patch-ae
index 24dfa02..27c3d9b 100644
--- a/lang/perl5.10/files/patch-ae
+++ b/lang/perl5.10/files/patch-ae
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- makedepend.SH.ORIG Fri Jul 24 06:00:58 1998
+++ makedepend.SH Thu Jul 30 17:08:37 1998
@@ -68,6 +68,7 @@
diff --git a/lang/perl5.10/files/patch-af b/lang/perl5.10/files/patch-af
index cd4d3cd..2c7b3f7 100644
--- a/lang/perl5.10/files/patch-af
+++ b/lang/perl5.10/files/patch-af
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- Configure.ORIG Mon Mar 19 05:03:33 2001
+++ Configure Tue Apr 10 20:31:56 2001
@@ -296,7 +296,7 @@
diff --git a/lang/perl5.10/files/patch-makedepend b/lang/perl5.10/files/patch-makedepend
index 9cfd396..39d99bc 100644
--- a/lang/perl5.10/files/patch-makedepend
+++ b/lang/perl5.10/files/patch-makedepend
@@ -1,4 +1,4 @@
-$Id$
+$FreeBSD$
--- makedepend.SH.orig Wed May 29 19:29:05 2002
+++ makedepend.SH Wed May 29 19:31:31 2002
diff --git a/lang/perl5.10/files/patch-perl.c b/lang/perl5.10/files/patch-perl.c
new file mode 100644
index 0000000..b9b348b
--- /dev/null
+++ b/lang/perl5.10/files/patch-perl.c
@@ -0,0 +1,58 @@
+$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.10/pkg-descr b/lang/perl5.10/pkg-descr
index 8493844..53b0315 100644
--- a/lang/perl5.10/pkg-descr
+++ b/lang/perl5.10/pkg-descr
@@ -1,6 +1,8 @@
-Perl is a language that combines some of the features of C, sed,
-awk and shell. See the manual page for more hype. There are also
-many published by O'Reilly & Assoc. See pod/perlbook.pod for more
+Perl is a language that combines some of the features of C, sed, awk and
+shell. See the manual page for more hype. There are also many books
+published by O'Reilly & Assoc. See pod/perlbook.pod for more
information.
+WWW: http://perl.com/
+
- MarkM
diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile
index 0f3421d..45c41b7 100644
--- a/lang/perl5.12/Makefile
+++ b/lang/perl5.12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/}
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
-Dman3dir=${PREFIX}/lib/perl5/${PERL_VER}/man/man3 \
-Dsitearch=${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} \
-Dsitelib=${PREFIX}/lib/perl5/site_perl/${PERL_VER} \
- -Ui_gdbm -Ui_malloc -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
+ -Ui_gdbm -Ui_malloc -Ui_iconv -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
INSTALLS_SHLIB= yes
INCLUDEDIR= /usr/include
diff --git a/lang/perl5.12/files/patch-ab b/lang/perl5.12/files/patch-ab
index 5945ef4..3cb0692 100644
--- a/lang/perl5.12/files/patch-ab
+++ b/lang/perl5.12/files/patch-ab
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- installperl.ORIG Thu Jul 30 15:58:50 1998
+++ installperl Thu Jul 30 16:02:16 1998
@@ -269,7 +269,7 @@
diff --git a/lang/perl5.12/files/patch-ac b/lang/perl5.12/files/patch-ac
index aa988cd..3a0c075 100644
--- a/lang/perl5.12/files/patch-ac
+++ b/lang/perl5.12/files/patch-ac
@@ -1,5 +1,7 @@
---- hints/freebsd.sh.ORIG Tue Apr 10 20:24:51 2001
-+++ hints/freebsd.sh Tue Apr 10 20:27:45 2001
+$FreeBSD$
+
+--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
++++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@
d_setreuid='define'
d_setegid='undef'
@@ -17,3 +19,12 @@
;;
esac
+@@ -115,7 +121,8 @@
+ fi
+ lddlflags='-Bshareable'
+ fi
+- cccdlflags='-DPIC -fpic'
++ cccdlflags='-DPIC -fPIC'
++ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ ;;
+ esac
diff --git a/lang/perl5.12/files/patch-ad b/lang/perl5.12/files/patch-ad
index a31ff2d..fa9bf3e 100644
--- a/lang/perl5.12/files/patch-ad
+++ b/lang/perl5.12/files/patch-ad
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- perl.h.ORIG Thu Mar 22 07:05:02 2001
+++ perl.h Tue Apr 10 20:29:46 2001
@@ -151,6 +151,15 @@
diff --git a/lang/perl5.12/files/patch-ae b/lang/perl5.12/files/patch-ae
index 24dfa02..27c3d9b 100644
--- a/lang/perl5.12/files/patch-ae
+++ b/lang/perl5.12/files/patch-ae
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- makedepend.SH.ORIG Fri Jul 24 06:00:58 1998
+++ makedepend.SH Thu Jul 30 17:08:37 1998
@@ -68,6 +68,7 @@
diff --git a/lang/perl5.12/files/patch-af b/lang/perl5.12/files/patch-af
index cd4d3cd..2c7b3f7 100644
--- a/lang/perl5.12/files/patch-af
+++ b/lang/perl5.12/files/patch-af
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- Configure.ORIG Mon Mar 19 05:03:33 2001
+++ Configure Tue Apr 10 20:31:56 2001
@@ -296,7 +296,7 @@
diff --git a/lang/perl5.12/files/patch-makedepend b/lang/perl5.12/files/patch-makedepend
index 9cfd396..39d99bc 100644
--- a/lang/perl5.12/files/patch-makedepend
+++ b/lang/perl5.12/files/patch-makedepend
@@ -1,4 +1,4 @@
-$Id$
+$FreeBSD$
--- makedepend.SH.orig Wed May 29 19:29:05 2002
+++ makedepend.SH Wed May 29 19:31:31 2002
diff --git a/lang/perl5.12/files/patch-perl.c b/lang/perl5.12/files/patch-perl.c
new file mode 100644
index 0000000..b9b348b
--- /dev/null
+++ b/lang/perl5.12/files/patch-perl.c
@@ -0,0 +1,58 @@
+$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.12/pkg-descr b/lang/perl5.12/pkg-descr
index 8493844..53b0315 100644
--- a/lang/perl5.12/pkg-descr
+++ b/lang/perl5.12/pkg-descr
@@ -1,6 +1,8 @@
-Perl is a language that combines some of the features of C, sed,
-awk and shell. See the manual page for more hype. There are also
-many published by O'Reilly & Assoc. See pod/perlbook.pod for more
+Perl is a language that combines some of the features of C, sed, awk and
+shell. See the manual page for more hype. There are also many books
+published by O'Reilly & Assoc. See pod/perlbook.pod for more
information.
+WWW: http://perl.com/
+
- MarkM
diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile
index 0f3421d..45c41b7 100644
--- a/lang/perl5.14/Makefile
+++ b/lang/perl5.14/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/}
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
-Dman3dir=${PREFIX}/lib/perl5/${PERL_VER}/man/man3 \
-Dsitearch=${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} \
-Dsitelib=${PREFIX}/lib/perl5/site_perl/${PERL_VER} \
- -Ui_gdbm -Ui_malloc -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
+ -Ui_gdbm -Ui_malloc -Ui_iconv -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
INSTALLS_SHLIB= yes
INCLUDEDIR= /usr/include
diff --git a/lang/perl5.14/files/patch-ab b/lang/perl5.14/files/patch-ab
index 5945ef4..3cb0692 100644
--- a/lang/perl5.14/files/patch-ab
+++ b/lang/perl5.14/files/patch-ab
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- installperl.ORIG Thu Jul 30 15:58:50 1998
+++ installperl Thu Jul 30 16:02:16 1998
@@ -269,7 +269,7 @@
diff --git a/lang/perl5.14/files/patch-ac b/lang/perl5.14/files/patch-ac
index aa988cd..3a0c075 100644
--- a/lang/perl5.14/files/patch-ac
+++ b/lang/perl5.14/files/patch-ac
@@ -1,5 +1,7 @@
---- hints/freebsd.sh.ORIG Tue Apr 10 20:24:51 2001
-+++ hints/freebsd.sh Tue Apr 10 20:27:45 2001
+$FreeBSD$
+
+--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
++++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@
d_setreuid='define'
d_setegid='undef'
@@ -17,3 +19,12 @@
;;
esac
+@@ -115,7 +121,8 @@
+ fi
+ lddlflags='-Bshareable'
+ fi
+- cccdlflags='-DPIC -fpic'
++ cccdlflags='-DPIC -fPIC'
++ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ ;;
+ esac
diff --git a/lang/perl5.14/files/patch-ad b/lang/perl5.14/files/patch-ad
index a31ff2d..fa9bf3e 100644
--- a/lang/perl5.14/files/patch-ad
+++ b/lang/perl5.14/files/patch-ad
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- perl.h.ORIG Thu Mar 22 07:05:02 2001
+++ perl.h Tue Apr 10 20:29:46 2001
@@ -151,6 +151,15 @@
diff --git a/lang/perl5.14/files/patch-ae b/lang/perl5.14/files/patch-ae
index 24dfa02..27c3d9b 100644
--- a/lang/perl5.14/files/patch-ae
+++ b/lang/perl5.14/files/patch-ae
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- makedepend.SH.ORIG Fri Jul 24 06:00:58 1998
+++ makedepend.SH Thu Jul 30 17:08:37 1998
@@ -68,6 +68,7 @@
diff --git a/lang/perl5.14/files/patch-af b/lang/perl5.14/files/patch-af
index cd4d3cd..2c7b3f7 100644
--- a/lang/perl5.14/files/patch-af
+++ b/lang/perl5.14/files/patch-af
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- Configure.ORIG Mon Mar 19 05:03:33 2001
+++ Configure Tue Apr 10 20:31:56 2001
@@ -296,7 +296,7 @@
diff --git a/lang/perl5.14/files/patch-makedepend b/lang/perl5.14/files/patch-makedepend
index 9cfd396..39d99bc 100644
--- a/lang/perl5.14/files/patch-makedepend
+++ b/lang/perl5.14/files/patch-makedepend
@@ -1,4 +1,4 @@
-$Id$
+$FreeBSD$
--- makedepend.SH.orig Wed May 29 19:29:05 2002
+++ makedepend.SH Wed May 29 19:31:31 2002
diff --git a/lang/perl5.14/files/patch-perl.c b/lang/perl5.14/files/patch-perl.c
new file mode 100644
index 0000000..b9b348b
--- /dev/null
+++ b/lang/perl5.14/files/patch-perl.c
@@ -0,0 +1,58 @@
+$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.14/pkg-descr b/lang/perl5.14/pkg-descr
index 8493844..53b0315 100644
--- a/lang/perl5.14/pkg-descr
+++ b/lang/perl5.14/pkg-descr
@@ -1,6 +1,8 @@
-Perl is a language that combines some of the features of C, sed,
-awk and shell. See the manual page for more hype. There are also
-many published by O'Reilly & Assoc. See pod/perlbook.pod for more
+Perl is a language that combines some of the features of C, sed, awk and
+shell. See the manual page for more hype. There are also many books
+published by O'Reilly & Assoc. See pod/perlbook.pod for more
information.
+WWW: http://perl.com/
+
- MarkM
diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile
index 0f3421d..45c41b7 100644
--- a/lang/perl5.16/Makefile
+++ b/lang/perl5.16/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/}
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
-Dman3dir=${PREFIX}/lib/perl5/${PERL_VER}/man/man3 \
-Dsitearch=${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} \
-Dsitelib=${PREFIX}/lib/perl5/site_perl/${PERL_VER} \
- -Ui_gdbm -Ui_malloc -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
+ -Ui_gdbm -Ui_malloc -Ui_iconv -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
INSTALLS_SHLIB= yes
INCLUDEDIR= /usr/include
diff --git a/lang/perl5.16/files/patch-ab b/lang/perl5.16/files/patch-ab
index 5945ef4..3cb0692 100644
--- a/lang/perl5.16/files/patch-ab
+++ b/lang/perl5.16/files/patch-ab
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- installperl.ORIG Thu Jul 30 15:58:50 1998
+++ installperl Thu Jul 30 16:02:16 1998
@@ -269,7 +269,7 @@
diff --git a/lang/perl5.16/files/patch-ac b/lang/perl5.16/files/patch-ac
index aa988cd..3a0c075 100644
--- a/lang/perl5.16/files/patch-ac
+++ b/lang/perl5.16/files/patch-ac
@@ -1,5 +1,7 @@
---- hints/freebsd.sh.ORIG Tue Apr 10 20:24:51 2001
-+++ hints/freebsd.sh Tue Apr 10 20:27:45 2001
+$FreeBSD$
+
+--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
++++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@
d_setreuid='define'
d_setegid='undef'
@@ -17,3 +19,12 @@
;;
esac
+@@ -115,7 +121,8 @@
+ fi
+ lddlflags='-Bshareable'
+ fi
+- cccdlflags='-DPIC -fpic'
++ cccdlflags='-DPIC -fPIC'
++ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ ;;
+ esac
diff --git a/lang/perl5.16/files/patch-ad b/lang/perl5.16/files/patch-ad
index a31ff2d..fa9bf3e 100644
--- a/lang/perl5.16/files/patch-ad
+++ b/lang/perl5.16/files/patch-ad
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- perl.h.ORIG Thu Mar 22 07:05:02 2001
+++ perl.h Tue Apr 10 20:29:46 2001
@@ -151,6 +151,15 @@
diff --git a/lang/perl5.16/files/patch-ae b/lang/perl5.16/files/patch-ae
index 24dfa02..27c3d9b 100644
--- a/lang/perl5.16/files/patch-ae
+++ b/lang/perl5.16/files/patch-ae
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- makedepend.SH.ORIG Fri Jul 24 06:00:58 1998
+++ makedepend.SH Thu Jul 30 17:08:37 1998
@@ -68,6 +68,7 @@
diff --git a/lang/perl5.16/files/patch-af b/lang/perl5.16/files/patch-af
index cd4d3cd..2c7b3f7 100644
--- a/lang/perl5.16/files/patch-af
+++ b/lang/perl5.16/files/patch-af
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- Configure.ORIG Mon Mar 19 05:03:33 2001
+++ Configure Tue Apr 10 20:31:56 2001
@@ -296,7 +296,7 @@
diff --git a/lang/perl5.16/files/patch-makedepend b/lang/perl5.16/files/patch-makedepend
index 9cfd396..39d99bc 100644
--- a/lang/perl5.16/files/patch-makedepend
+++ b/lang/perl5.16/files/patch-makedepend
@@ -1,4 +1,4 @@
-$Id$
+$FreeBSD$
--- makedepend.SH.orig Wed May 29 19:29:05 2002
+++ makedepend.SH Wed May 29 19:31:31 2002
diff --git a/lang/perl5.16/files/patch-perl.c b/lang/perl5.16/files/patch-perl.c
new file mode 100644
index 0000000..b9b348b
--- /dev/null
+++ b/lang/perl5.16/files/patch-perl.c
@@ -0,0 +1,58 @@
+$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.16/pkg-descr b/lang/perl5.16/pkg-descr
index 8493844..53b0315 100644
--- a/lang/perl5.16/pkg-descr
+++ b/lang/perl5.16/pkg-descr
@@ -1,6 +1,8 @@
-Perl is a language that combines some of the features of C, sed,
-awk and shell. See the manual page for more hype. There are also
-many published by O'Reilly & Assoc. See pod/perlbook.pod for more
+Perl is a language that combines some of the features of C, sed, awk and
+shell. See the manual page for more hype. There are also many books
+published by O'Reilly & Assoc. See pod/perlbook.pod for more
information.
+WWW: http://perl.com/
+
- MarkM
diff --git a/lang/perl5.6/Makefile b/lang/perl5.6/Makefile
index 0f3421d..45c41b7 100644
--- a/lang/perl5.6/Makefile
+++ b/lang/perl5.6/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/}
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
-Dman3dir=${PREFIX}/lib/perl5/${PERL_VER}/man/man3 \
-Dsitearch=${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} \
-Dsitelib=${PREFIX}/lib/perl5/site_perl/${PERL_VER} \
- -Ui_gdbm -Ui_malloc -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
+ -Ui_gdbm -Ui_malloc -Ui_iconv -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
INSTALLS_SHLIB= yes
INCLUDEDIR= /usr/include
diff --git a/lang/perl5.6/files/patch-ab b/lang/perl5.6/files/patch-ab
index 5945ef4..3cb0692 100644
--- a/lang/perl5.6/files/patch-ab
+++ b/lang/perl5.6/files/patch-ab
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- installperl.ORIG Thu Jul 30 15:58:50 1998
+++ installperl Thu Jul 30 16:02:16 1998
@@ -269,7 +269,7 @@
diff --git a/lang/perl5.6/files/patch-ac b/lang/perl5.6/files/patch-ac
index aa988cd..3a0c075 100644
--- a/lang/perl5.6/files/patch-ac
+++ b/lang/perl5.6/files/patch-ac
@@ -1,5 +1,7 @@
---- hints/freebsd.sh.ORIG Tue Apr 10 20:24:51 2001
-+++ hints/freebsd.sh Tue Apr 10 20:27:45 2001
+$FreeBSD$
+
+--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
++++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@
d_setreuid='define'
d_setegid='undef'
@@ -17,3 +19,12 @@
;;
esac
+@@ -115,7 +121,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
index a31ff2d..fa9bf3e 100644
--- a/lang/perl5.6/files/patch-ad
+++ b/lang/perl5.6/files/patch-ad
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- perl.h.ORIG Thu Mar 22 07:05:02 2001
+++ perl.h Tue Apr 10 20:29:46 2001
@@ -151,6 +151,15 @@
diff --git a/lang/perl5.6/files/patch-ae b/lang/perl5.6/files/patch-ae
index 24dfa02..27c3d9b 100644
--- a/lang/perl5.6/files/patch-ae
+++ b/lang/perl5.6/files/patch-ae
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- makedepend.SH.ORIG Fri Jul 24 06:00:58 1998
+++ makedepend.SH Thu Jul 30 17:08:37 1998
@@ -68,6 +68,7 @@
diff --git a/lang/perl5.6/files/patch-af b/lang/perl5.6/files/patch-af
index cd4d3cd..2c7b3f7 100644
--- a/lang/perl5.6/files/patch-af
+++ b/lang/perl5.6/files/patch-af
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- Configure.ORIG Mon Mar 19 05:03:33 2001
+++ Configure Tue Apr 10 20:31:56 2001
@@ -296,7 +296,7 @@
diff --git a/lang/perl5.6/files/patch-makedepend b/lang/perl5.6/files/patch-makedepend
index 9cfd396..39d99bc 100644
--- a/lang/perl5.6/files/patch-makedepend
+++ b/lang/perl5.6/files/patch-makedepend
@@ -1,4 +1,4 @@
-$Id$
+$FreeBSD$
--- makedepend.SH.orig Wed May 29 19:29:05 2002
+++ makedepend.SH Wed May 29 19:31:31 2002
diff --git a/lang/perl5.6/files/patch-perl.c b/lang/perl5.6/files/patch-perl.c
new file mode 100644
index 0000000..b9b348b
--- /dev/null
+++ b/lang/perl5.6/files/patch-perl.c
@@ -0,0 +1,58 @@
+$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/pkg-descr b/lang/perl5.6/pkg-descr
index 8493844..53b0315 100644
--- a/lang/perl5.6/pkg-descr
+++ b/lang/perl5.6/pkg-descr
@@ -1,6 +1,8 @@
-Perl is a language that combines some of the features of C, sed,
-awk and shell. See the manual page for more hype. There are also
-many published by O'Reilly & Assoc. See pod/perlbook.pod for more
+Perl is a language that combines some of the features of C, sed, awk and
+shell. See the manual page for more hype. There are also many books
+published by O'Reilly & Assoc. See pod/perlbook.pod for more
information.
+WWW: http://perl.com/
+
- MarkM
diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile
index 0f3421d..45c41b7 100644
--- a/lang/perl5.8/Makefile
+++ b/lang/perl5.8/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/}
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
-Dman3dir=${PREFIX}/lib/perl5/${PERL_VER}/man/man3 \
-Dsitearch=${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} \
-Dsitelib=${PREFIX}/lib/perl5/site_perl/${PERL_VER} \
- -Ui_gdbm -Ui_malloc -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
+ -Ui_gdbm -Ui_malloc -Ui_iconv -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
INSTALLS_SHLIB= yes
INCLUDEDIR= /usr/include
diff --git a/lang/perl5.8/files/patch-ab b/lang/perl5.8/files/patch-ab
index 5945ef4..3cb0692 100644
--- a/lang/perl5.8/files/patch-ab
+++ b/lang/perl5.8/files/patch-ab
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- installperl.ORIG Thu Jul 30 15:58:50 1998
+++ installperl Thu Jul 30 16:02:16 1998
@@ -269,7 +269,7 @@
diff --git a/lang/perl5.8/files/patch-ac b/lang/perl5.8/files/patch-ac
index aa988cd..3a0c075 100644
--- a/lang/perl5.8/files/patch-ac
+++ b/lang/perl5.8/files/patch-ac
@@ -1,5 +1,7 @@
---- hints/freebsd.sh.ORIG Tue Apr 10 20:24:51 2001
-+++ hints/freebsd.sh Tue Apr 10 20:27:45 2001
+$FreeBSD$
+
+--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
++++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@
d_setreuid='define'
d_setegid='undef'
@@ -17,3 +19,12 @@
;;
esac
+@@ -115,7 +121,8 @@
+ fi
+ lddlflags='-Bshareable'
+ fi
+- cccdlflags='-DPIC -fpic'
++ cccdlflags='-DPIC -fPIC'
++ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ ;;
+ esac
diff --git a/lang/perl5.8/files/patch-ad b/lang/perl5.8/files/patch-ad
index a31ff2d..fa9bf3e 100644
--- a/lang/perl5.8/files/patch-ad
+++ b/lang/perl5.8/files/patch-ad
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- perl.h.ORIG Thu Mar 22 07:05:02 2001
+++ perl.h Tue Apr 10 20:29:46 2001
@@ -151,6 +151,15 @@
diff --git a/lang/perl5.8/files/patch-ae b/lang/perl5.8/files/patch-ae
index 24dfa02..27c3d9b 100644
--- a/lang/perl5.8/files/patch-ae
+++ b/lang/perl5.8/files/patch-ae
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- makedepend.SH.ORIG Fri Jul 24 06:00:58 1998
+++ makedepend.SH Thu Jul 30 17:08:37 1998
@@ -68,6 +68,7 @@
diff --git a/lang/perl5.8/files/patch-af b/lang/perl5.8/files/patch-af
index cd4d3cd..2c7b3f7 100644
--- a/lang/perl5.8/files/patch-af
+++ b/lang/perl5.8/files/patch-af
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- Configure.ORIG Mon Mar 19 05:03:33 2001
+++ Configure Tue Apr 10 20:31:56 2001
@@ -296,7 +296,7 @@
diff --git a/lang/perl5.8/files/patch-makedepend b/lang/perl5.8/files/patch-makedepend
index 9cfd396..39d99bc 100644
--- a/lang/perl5.8/files/patch-makedepend
+++ b/lang/perl5.8/files/patch-makedepend
@@ -1,4 +1,4 @@
-$Id$
+$FreeBSD$
--- makedepend.SH.orig Wed May 29 19:29:05 2002
+++ makedepend.SH Wed May 29 19:31:31 2002
diff --git a/lang/perl5.8/files/patch-perl.c b/lang/perl5.8/files/patch-perl.c
new file mode 100644
index 0000000..b9b348b
--- /dev/null
+++ b/lang/perl5.8/files/patch-perl.c
@@ -0,0 +1,58 @@
+$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.8/pkg-descr b/lang/perl5.8/pkg-descr
index 8493844..53b0315 100644
--- a/lang/perl5.8/pkg-descr
+++ b/lang/perl5.8/pkg-descr
@@ -1,6 +1,8 @@
-Perl is a language that combines some of the features of C, sed,
-awk and shell. See the manual page for more hype. There are also
-many published by O'Reilly & Assoc. See pod/perlbook.pod for more
+Perl is a language that combines some of the features of C, sed, awk and
+shell. See the manual page for more hype. There are also many books
+published by O'Reilly & Assoc. See pod/perlbook.pod for more
information.
+WWW: http://perl.com/
+
- MarkM
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 0f3421d..45c41b7 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -7,7 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/}
@@ -30,7 +30,7 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \
-Dman3dir=${PREFIX}/lib/perl5/${PERL_VER}/man/man3 \
-Dsitearch=${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH} \
-Dsitelib=${PREFIX}/lib/perl5/site_perl/${PERL_VER} \
- -Ui_gdbm -Ui_malloc -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
+ -Ui_gdbm -Ui_malloc -Ui_iconv -Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
INSTALLS_SHLIB= yes
INCLUDEDIR= /usr/include
diff --git a/lang/perl5/files/patch-ab b/lang/perl5/files/patch-ab
index 5945ef4..3cb0692 100644
--- a/lang/perl5/files/patch-ab
+++ b/lang/perl5/files/patch-ab
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- installperl.ORIG Thu Jul 30 15:58:50 1998
+++ installperl Thu Jul 30 16:02:16 1998
@@ -269,7 +269,7 @@
diff --git a/lang/perl5/files/patch-ac b/lang/perl5/files/patch-ac
index aa988cd..3a0c075 100644
--- a/lang/perl5/files/patch-ac
+++ b/lang/perl5/files/patch-ac
@@ -1,5 +1,7 @@
---- hints/freebsd.sh.ORIG Tue Apr 10 20:24:51 2001
-+++ hints/freebsd.sh Tue Apr 10 20:27:45 2001
+$FreeBSD$
+
+--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
++++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@
d_setreuid='define'
d_setegid='undef'
@@ -17,3 +19,12 @@
;;
esac
+@@ -115,7 +121,8 @@
+ fi
+ lddlflags='-Bshareable'
+ fi
+- cccdlflags='-DPIC -fpic'
++ cccdlflags='-DPIC -fPIC'
++ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ ;;
+ esac
diff --git a/lang/perl5/files/patch-ad b/lang/perl5/files/patch-ad
index a31ff2d..fa9bf3e 100644
--- a/lang/perl5/files/patch-ad
+++ b/lang/perl5/files/patch-ad
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- perl.h.ORIG Thu Mar 22 07:05:02 2001
+++ perl.h Tue Apr 10 20:29:46 2001
@@ -151,6 +151,15 @@
diff --git a/lang/perl5/files/patch-ae b/lang/perl5/files/patch-ae
index 24dfa02..27c3d9b 100644
--- a/lang/perl5/files/patch-ae
+++ b/lang/perl5/files/patch-ae
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- makedepend.SH.ORIG Fri Jul 24 06:00:58 1998
+++ makedepend.SH Thu Jul 30 17:08:37 1998
@@ -68,6 +68,7 @@
diff --git a/lang/perl5/files/patch-af b/lang/perl5/files/patch-af
index cd4d3cd..2c7b3f7 100644
--- a/lang/perl5/files/patch-af
+++ b/lang/perl5/files/patch-af
@@ -1,3 +1,5 @@
+$FreeBSD$
+
--- Configure.ORIG Mon Mar 19 05:03:33 2001
+++ Configure Tue Apr 10 20:31:56 2001
@@ -296,7 +296,7 @@
diff --git a/lang/perl5/files/patch-makedepend b/lang/perl5/files/patch-makedepend
index 9cfd396..39d99bc 100644
--- a/lang/perl5/files/patch-makedepend
+++ b/lang/perl5/files/patch-makedepend
@@ -1,4 +1,4 @@
-$Id$
+$FreeBSD$
--- makedepend.SH.orig Wed May 29 19:29:05 2002
+++ makedepend.SH Wed May 29 19:31:31 2002
diff --git a/lang/perl5/files/patch-perl.c b/lang/perl5/files/patch-perl.c
new file mode 100644
index 0000000..b9b348b
--- /dev/null
+++ b/lang/perl5/files/patch-perl.c
@@ -0,0 +1,58 @@
+$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/pkg-descr b/lang/perl5/pkg-descr
index 8493844..53b0315 100644
--- a/lang/perl5/pkg-descr
+++ b/lang/perl5/pkg-descr
@@ -1,6 +1,8 @@
-Perl is a language that combines some of the features of C, sed,
-awk and shell. See the manual page for more hype. There are also
-many published by O'Reilly & Assoc. See pod/perlbook.pod for more
+Perl is a language that combines some of the features of C, sed, awk and
+shell. See the manual page for more hype. There are also many books
+published by O'Reilly & Assoc. See pod/perlbook.pod for more
information.
+WWW: http://perl.com/
+
- MarkM
OpenPOWER on IntegriCloud