Mon Dec 12 16:08:00 2016 UTC ()
Remove duplicate PERL5 definition.

This is already defined in mk/pkginstall/header.


(wiz)
diff -r1.1 -r1.2 pkgsrc/lang/perl5/files/install_threads.tmpl

cvs diff -r1.1 -r1.2 pkgsrc/lang/perl5/files/install_threads.tmpl (expand / switch to unified diff)

--- pkgsrc/lang/perl5/files/install_threads.tmpl 2005/08/12 19:59:03 1.1
+++ pkgsrc/lang/perl5/files/install_threads.tmpl 2016/12/12 16:08:00 1.2
@@ -1,20 +1,18 @@ @@ -1,20 +1,18 @@
1# $NetBSD: install_threads.tmpl,v 1.1 2005/08/12 19:59:03 jlam Exp $ 1# $NetBSD: install_threads.tmpl,v 1.2 2016/12/12 16:08:00 wiz Exp $
2# 2#
3# Require the presence of a pkgsrc Perl installation that supports threads 3# Require the presence of a pkgsrc Perl installation that supports threads
4# during the PRE-INSTALL stage, otherwise we bail out. 4# during the PRE-INSTALL stage, otherwise we bail out.
5 5
6PERL5="@PERL5@" 
7 
8case ${STAGE} in 6case ${STAGE} in
9PRE-INSTALL) 7PRE-INSTALL)
10 if [ ! -x "${PERL5}" ]; then 8 if [ ! -x "${PERL5}" ]; then
11 ${ECHO} "==> ${PERL5} does not exist." 1>&2 9 ${ECHO} "==> ${PERL5} does not exist." 1>&2
12 exit 1 10 exit 1
13 fi 11 fi
14 eval `${PERL5} -V:usethreads` 12 eval `${PERL5} -V:usethreads`
15 case $usethreads in 13 case $usethreads in
16 define*|true|[yY]*) # possible "yes" values in Perl Config.pm 14 define*|true|[yY]*) # possible "yes" values in Perl Config.pm
17 # We found what we were looking for (a threaded perl) so 15 # We found what we were looking for (a threaded perl) so
18 # do nothing. 16 # do nothing.
19 ;; 17 ;;
20 *) 18 *)