perl: update to 5.16.3.
This commit is contained in:
parent
25c211e5e5
commit
ade478e3f1
|
@ -1,14 +1,14 @@
|
||||||
# Template build file for 'perl'.
|
# Template build file for 'perl'.
|
||||||
pkgname=perl
|
pkgname=perl
|
||||||
version=5.16.2
|
version=5.16.3
|
||||||
revision=2
|
revision=1
|
||||||
makedepends="which gdbm-devel db-devel less groff"
|
makedepends="which gdbm-devel db-devel less groff"
|
||||||
short_desc="Practical Extraction and Report Language"
|
short_desc="Practical Extraction and Report Language"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.perl.org"
|
homepage="http://www.perl.org"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="http://www.cpan.org/src/5.0/perl-${version}.tar.bz2"
|
distfiles="http://www.cpan.org/src/5.0/perl-${version}.tar.bz2"
|
||||||
checksum=5ba91d9aa40220c615b644bb48fa5df7fbca4afb1c9e911bdc0ce2a93f072d7d
|
checksum=bb7bc735e6813b177dcfccd480defcde7eddefa173b5967eac11babd1bfa98e8
|
||||||
|
|
||||||
# Before updating this package to a new major version, run ${FILESDIR}/provides.pl
|
# Before updating this package to a new major version, run ${FILESDIR}/provides.pl
|
||||||
# against ${wrksrc} to find the list of built in packages.
|
# against ${wrksrc} to find the list of built in packages.
|
||||||
|
@ -151,7 +151,7 @@ for _f in ${_provides}; do
|
||||||
replaces="${replaces} ${_p}>=0"
|
replaces="${replaces} ${_p}>=0"
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
||||||
makedepends="perl>=${version} which less groff"
|
makedepends="perl>=${version} which less groff"
|
||||||
crossmakedepends="zlib-devel bzip2-devel db-devel gdbm-devel"
|
crossmakedepends="zlib-devel bzip2-devel db-devel gdbm-devel"
|
||||||
fi
|
fi
|
||||||
|
@ -169,7 +169,7 @@ do_configure() {
|
||||||
-Dvendorscript=/usr/lib/perl5/vendor_perl/bin
|
-Dvendorscript=/usr/lib/perl5/vendor_perl/bin
|
||||||
-Dinc_version_list=none -Dman1ext=1p -Dman3ext=3p"
|
-Dinc_version_list=none -Dman1ext=1p -Dman3ext=3p"
|
||||||
|
|
||||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
||||||
# Copy target files
|
# Copy target files
|
||||||
cp -f ${FILESDIR}/${XBPS_CROSS_TRIPLET}/* .
|
cp -f ${FILESDIR}/${XBPS_CROSS_TRIPLET}/* .
|
||||||
cp -f ${FILESDIR}/Configure.cross .
|
cp -f ${FILESDIR}/Configure.cross .
|
||||||
|
@ -183,7 +183,7 @@ do_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
||||||
export HOST_PERL=/usr/bin/perl
|
export HOST_PERL=/usr/bin/perl
|
||||||
export PERL_TO_USE=$HOST_PERL
|
export PERL_TO_USE=$HOST_PERL
|
||||||
export HOST_PERL_LIBS=/usr/lib/perl5/core_perl
|
export HOST_PERL_LIBS=/usr/lib/perl5/core_perl
|
||||||
|
@ -204,7 +204,7 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
if [ -n "$XBPS_CROSS_BUILD" ]; then
|
||||||
export HOST_PERL=/usr/bin/perl
|
export HOST_PERL=/usr/bin/perl
|
||||||
export PERL_TO_USE=$HOST_PERL
|
export PERL_TO_USE=$HOST_PERL
|
||||||
export HOST_PERL_LIBS=/usr/lib/perl5/core_perl
|
export HOST_PERL_LIBS=/usr/lib/perl5/core_perl
|
||||||
|
|
Loading…
Reference in a new issue