pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 .undef is unnecessary since the temporary v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f31c03f5789e
branches:  trunk
changeset: 494681:f31c03f5789e
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri May 27 22:15:34 2005 +0000

description:
.undef is unnecessary since the temporary variable used in the for loop
goes away by itself.

diffstat:

 lang/perl5/version.mk |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 4434ee7e2e15 -r f31c03f5789e lang/perl5/version.mk
--- a/lang/perl5/version.mk     Fri May 27 16:44:01 2005 +0000
+++ b/lang/perl5/version.mk     Fri May 27 22:15:34 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.1 2005/05/18 22:42:07 jlam Exp $
+# $NetBSD: version.mk,v 1.2 2005/05/27 22:15:34 jlam Exp $
 #
 # Distill the PERL5_REQD list into a single value that is the highest
 # version of Perl required.
@@ -24,15 +24,12 @@
        fi
 .          endif
 .        endfor
-.        undef _vers_
 .        if !empty(_PERL5_PKG_SATISFIES_DEP:M[yY][eE][sS])
 _PERL5_REQD=  ${_version_}
 .        endif
 .      endif
 .    endfor
-.    undef _pkg_
 .  endfor
-.  undef _version_
 .endif
 PERL5_REQD:=   ${_PERL5_REQD}
 MAKEVARS+=     _PERL5_REQD



Home | Main Index | Thread Index | Old Index