aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.12/pkg-install
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2005-02-01 21:36:21 +0800
committertobez <tobez@FreeBSD.org>2005-02-01 21:36:21 +0800
commita4e9ddb1705665666c117bfc30c9b9ba2d906f15 (patch)
tree7eb3053e4b7bd19cda6f9a9b36433fe3793f5472 /lang/perl5.12/pkg-install
parent0930f44c166a4c6ba6f3732ff94d50e7d7a49a3c (diff)
downloadfreebsd-ports-gnome-a4e9ddb1705665666c117bfc30c9b9ba2d906f15.tar.gz
freebsd-ports-gnome-a4e9ddb1705665666c117bfc30c9b9ba2d906f15.tar.zst
freebsd-ports-gnome-a4e9ddb1705665666c117bfc30c9b9ba2d906f15.zip
Update to 5.8.6. Also:
- redirect output from h2ph to /dev/null [1]; - fix File::Path insecure file/directory permissions [2]; this resolves CAN-2004-0452 (http://vuxml.freebsd.org/c418d472-6bd1-11d9-93ca-000a95bc6fae.html); - for OSVERSION < 500036, create symlinks in /usr/bin not only for perl and suidperl, but also for a2p, c2ph, find2perl, h2ph, h2xs, perlbug, perlcc, perldoc, pl2pm, pod2html, pod2latex, pod2man, pod2text, s2p, and splain; perl and suidperl are still enough for more recent FreeBSD versions [3]; - clean up created symlinks upon deinstallation [4]; - try to cleanup symlinks created by older versions of lang/perl5 and lang/perl5.8, during both installation and deinstallation [5]; - added support for DISABLE_BSDPAN environment variable [6]; - be explicit about use.perl usage after installation of 4.X systems [7]; - respect __MAKE_CONF partially (the build-time value is used) [8]; - fix threaded build - respect PTHREAD_CFLAGS and PTHREAD_LIBS [9]. - use.perl is now the same as pkg-install is now the same as pkg-deinstall; apart from the changes already mentioned above, this is a shell script now; - use.perl's logic is also simplified in several ways [10]; - fix a BSDPAN bug [11]. Outstanding issues: Module::Build support for BSDPAN, SU_CMD support (PR 70831), PR 64963 (partially), and anything else that I forgot. [1] Nudged by: krion [2] Reported by: nectar Patch from: Chris Turner @ RedHat [3] PR: 55760, 57151, 58406 [4] Requested by: kris PR: 54262 [5] PR: 51281, 51539 [6] PR: 57134 [7] PR: 60736 [8] PR: 74431 [9] PR: 73233 [10] Perl version submitted by des, implemented in sh [11] Reported by: Alexander Nagilum <freebsd %at% nagilum de>
Diffstat (limited to 'lang/perl5.12/pkg-install')
-rw-r--r--lang/perl5.12/pkg-install28
1 files changed, 0 insertions, 28 deletions
diff --git a/lang/perl5.12/pkg-install b/lang/perl5.12/pkg-install
deleted file mode 100644
index f971f4563bd7..000000000000
--- a/lang/perl5.12/pkg-install
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-if [ "$2" != POST-INSTALL ] ; then
- exit 0
-fi
-
-INCLUDEDIR=/usr/include
-
-install -d ${PKG_PREFIX}/lib/perl5/site_perl/5.8.5/mach/auto
-install -d ${PKG_PREFIX}/lib/perl5/site_perl/5.8.5/auto
-install -d ${PKG_PREFIX}/lib/perl5/5.8.5/man/man3
-cd ${INCLUDEDIR} && ${PKG_PREFIX}/bin/h2ph *.h machine/*.h sys/*.h
-
-if [ -z "${OSVERSION}" ]; then
- if [ -f /sbin/sysctl -a -x /sbin/sysctl ] ; then
- osreldate=`/sbin/sysctl -n kern.osreldate`
- else
- osreldate=`/usr/sbin/sysctl -n kern.osreldate`
- fi
-else
- osreldate=${OSVERSION}
-fi
-
-if [ $osreldate -ge 502100 ] ; then
- ${PKG_PREFIX}/bin/use.perl port
-fi
-
-exit 0