pkgsrc/lang/perl5/version.mk
adam 1f337496f7 Changes 5.14.1:
* Several modules were updated to fix minor bugs.
* Tests were fixed.
* Documentation was improved.

Changes 5.14.0:
* Unicode version 6.0 is now supported.
* Regular expressions can now be reset to the default modifiers.
* Four new regular expression modifiers, "/d", "/l" , "/u", and "/a", were
  introduced.
* The substitution operators now support the modifier "/r" to work
  non-destructively, leaving the original unmodified.
* Larger octals can now be specified.
* Array and hash operators can now experimentally operate directly on hard
  references.
* printf-like functions now understand post-1980 size modifiers.
* Exception handling was made more reliable and consistent.
* Other enhancements and many bug fixes were made

PkgSrc:
* Fixed configuring on Mac OS X 10.7.
2011-08-05 18:06:14 +00:00

35 lines
915 B
Makefile

# $NetBSD: version.mk,v 1.4 2011/08/05 18:06:14 adam Exp $
#
# Distill the PERL5_REQD list into a single value that is the highest
# version of Perl required.
#
# Default to needing Perl 5.
PERL5_REQD+= 5.0
PERL5_REQD+= ${_OPSYS_PERL_REQD}
.if !defined(_PERL5_REQD)
_PERL5_REQD?= none
. for _version_ in ${PERL5_REQD}
. for _pkg_ in perl-${_version_}
. if !empty(_PERL5_REQD:Mnone)
_PERL5_PKG_SATISFIES_DEP= yes
. for _dep_ in ${PERL5_REQD:S/^/perl>=/}
. if !empty(_PERL5_PKG_SATISFIES_DEP:M[yY][eE][sS])
_PERL5_PKG_SATISFIES_DEP!= \
if ${PKG_ADMIN} pmatch ${_dep_:Q} ${_pkg_:Q} 2>/dev/null; then \
${ECHO} yes; \
else \
${ECHO} no; \
fi
. endif
. endfor
. if !empty(_PERL5_PKG_SATISFIES_DEP:M[yY][eE][sS])
_PERL5_REQD= ${_version_}
. endif
. endif
. endfor
. endfor
.endif
PERL5_REQD:= ${_PERL5_REQD}
MAKEVARS+= _PERL5_REQD