perl: update to 5.18.1; switch {site,vendor} scripts to /usr/bin.

This commit is contained in:
Juan RP 2013-11-23 10:02:02 +01:00
parent 74f608cf4a
commit 2010752bad
5 changed files with 225 additions and 219 deletions

View File

@ -9,9 +9,9 @@
/* Package name : perl5
* Source directory : .
* Configuration time: Sun Feb 24 12:15:56 CET 2013
* Configuration time: Sat Nov 23 09:08:21 CET 2013
* Configured by : juan
* Target system : linux void-rpi 3.6.11_1 #1 preempt tue feb 19 17:40:24 cet 2013 armv6l gnulinux
* Target system : linux void-rpi 3.10.18_4 #1 preempt fri nov 15 10:55:23 cet 2013 armv6l gnulinux
*/
#ifndef _config_h_
@ -890,7 +890,7 @@
* feature tests from Configure are generally more reliable.
*/
#define OSNAME "linux" /**/
#define OSVERS "3.6.11_1" /**/
#define OSVERS "3.10.18_4" /**/
/* USE_CROSS_COMPILE:
* This symbol, if defined, indicates that Perl is being cross-compiled.
@ -916,13 +916,10 @@
/* MEM_ALIGNBYTES:
* This symbol contains the number of bytes required to align a
* double, or a long double when applicable. Usual values are 2,
* 4 and 8. The default is eight, for safety.
* 4 and 8. The default is eight, for safety. For cross-compiling
* or multiarch support, Configure will set a minimum of 8.
*/
#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH)
# define MEM_ALIGNBYTES 8
#else
#define MEM_ALIGNBYTES 8
#endif
/* ARCHLIB:
* This variable, if defined, holds the name of the directory in
@ -962,7 +959,7 @@
*/
#define BIN "/usr/bin" /**/
#define BIN_EXP "/usr/bin" /**/
/*#define PERL_RELOCATABLE_INC / **/
#define PERL_RELOCATABLE_INC "undef" /**/
/* INTSIZE:
* This symbol contains the value of sizeof(int) so that the C
@ -984,7 +981,7 @@
* This symbol holds the hexadecimal constant defined in byteorder,
* in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
* If the compiler supports cross-compiling or multiple-architecture
* binaries (eg. on NeXT systems), use compiler-defined macros to
* binaries (e.g. on NeXT systems), use compiler-defined macros to
* determine the byte order.
* On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture
* Binaries (MAB) on either big endian or little endian machines.
@ -2359,10 +2356,22 @@
* This symbol, if defined, indicates that the struct sockaddr_in6
* structure has a member called sin6_scope_id.
*/
/* HAS_IP_MREQ:
* This symbol, if defined, indicates the availability of
* struct ip_mreq;
*/
/* HAS_IP_MREQ_SOURCE:
* This symbol, if defined, indicates the availability of
* struct ip_mreq_source;
*/
/* HAS_IPV6_MREQ:
* This symbol, if defined, indicates the availability of
* struct ipv6_mreq;
*/
/* HAS_IPV6_MREQ_SOURCE:
* This symbol, if defined, indicates the availability of
* struct ipv6_mreq_source;
*/
#define HAS_SOCKET /**/
#define HAS_SOCKETPAIR /**/
/*#define HAS_SOCKADDR_SA_LEN / **/
@ -2374,7 +2383,10 @@
#define HAS_SCM_RIGHTS /**/
#define HAS_SOCKADDR_IN6 /**/
#define HAS_SIN6_SCOPE_ID /**/
#define HAS_IP_MREQ /**/
#define HAS_IP_MREQ_SOURCE /**/
#define HAS_IPV6_MREQ /**/
/*#define HAS_IPV6_MREQ_SOURCE / **/
/* HAS_SRAND48_R:
* This symbol, if defined, indicates that the srand48_r routine
@ -2661,10 +2673,17 @@
#define DOUBLESIZE 8 /**/
/* EBCDIC:
* This symbol, if defined, indicates that this system uses
* This symbol, if defined, indicates that this system uses
* EBCDIC encoding.
*/
/* BOOTSTRAP_CHARSET:
* This symbol, if defined, indicates that this system needs
* converting various files to the native character set before
* bringing up perl on a system that has a non-ASCII character
* set and no working perl.
*/
/*#define EBCDIC / **/
/*#define BOOTSTRAP_CHARSET / **/
/* Fpos_t:
* This symbol holds the type used to declare file positions in libc.
@ -2679,7 +2698,7 @@
#define Gid_t_f "lu" /**/
/* Gid_t_sign:
* This symbol holds the signedess of a Gid_t.
* This symbol holds the signedness of a Gid_t.
* 1 for unsigned, -1 for signed.
*/
#define Gid_t_sign 1 /* GID sign */
@ -3238,7 +3257,7 @@
#define Uid_t_f "lu" /**/
/* Uid_t_sign:
* This symbol holds the signedess of a Uid_t.
* This symbol holds the signedness of a Uid_t.
* 1 for unsigned, -1 for signed.
*/
#define Uid_t_sign 1 /* UID sign */
@ -3701,7 +3720,7 @@
#define HAS_INT64_T /**/
/* HAS_ISBLANK:
* This manifest constant lets the C program know that isblank
* This manifest constant lets the C program know that isblank
* is available.
*/
#define HAS_ISBLANK /**/
@ -4220,9 +4239,9 @@
*/
#define DB_Hash_t u_int32_t /**/
#define DB_Prefix_t size_t /**/
#define DB_VERSION_MAJOR_CFG 4 /**/
#define DB_VERSION_MINOR_CFG 8 /**/
#define DB_VERSION_PATCH_CFG 30 /**/
#define DB_VERSION_MAJOR_CFG 5 /**/
#define DB_VERSION_MINOR_CFG 3 /**/
#define DB_VERSION_PATCH_CFG 28 /**/
/* I_FP:
* This symbol, if defined, indicates that <fp.h> exists and
@ -4581,7 +4600,7 @@
* This variable contains the size of struct stat's st_ino in bytes.
*/
/* ST_INO_SIGN:
* This symbol holds the signedess of struct stat's st_ino.
* This symbol holds the signedness of struct stat's st_ino.
* 1 for unsigned, -1 for signed.
*/
#define ST_INO_SIGN 1 /* st_ino sign */

File diff suppressed because one or more lines are too long

View File

@ -40,7 +40,8 @@
0,
/* rhash '%' extra data for restricted hashes */
magic_vtable_max | PERL_MAGIC_VALUE_MAGIC,
0,
/* proto '&' my sub prototype CV */
magic_vtable_max,
0,
0,
0,
@ -71,8 +72,7 @@
0,
/* arylen_p '@' to move arylen out of XPVAV */
magic_vtable_max | PERL_MAGIC_VALUE_MAGIC,
/* overload 'A' %OVERLOAD hash */
want_vtbl_amagic,
0,
/* bm 'B' Boyer-Moore (fast string search) */
want_vtbl_regexp | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC,
0,
@ -81,8 +81,7 @@
/* env 'E' %ENV hash */
want_vtbl_env,
0,
/* study 'G' study()ed string */
want_vtbl_regexp | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC,
0,
/* hints 'H' %^H hash */
want_vtbl_hints,
/* isa 'I' @ISA array */
@ -104,7 +103,7 @@
/* uvar 'U' Available for use by extensions */
want_vtbl_uvar,
/* vstring 'V' SV was vstring literal */
want_vtbl_vstring | PERL_MAGIC_VALUE_MAGIC,
magic_vtable_max | PERL_MAGIC_VALUE_MAGIC,
0,
0,
0,
@ -112,12 +111,11 @@
0,
0,
/* checkcall ']' inlining/mutation of call to this CV */
magic_vtable_max | PERL_MAGIC_VALUE_MAGIC,
want_vtbl_checkcall | PERL_MAGIC_VALUE_MAGIC,
0,
0,
0,
0,
/* overload_elem 'a' %OVERLOAD hash element */
want_vtbl_amagicelem,
0,
/* overload_table 'c' Holds overload table (AMT) on stash */
want_vtbl_ovrld,
@ -126,7 +124,7 @@
/* envelem 'e' %ENV hash element */
want_vtbl_envelem,
/* fm 'f' Formline ('compiled' format) */
want_vtbl_regdata | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC,
want_vtbl_regexp | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC,
/* regex_global 'g' m//g target */
want_vtbl_mglob | PERL_MAGIC_READONLY_ACCEPTABLE | PERL_MAGIC_VALUE_MAGIC,
/* hintselem 'h' %^H hash element */

View File

@ -1,13 +0,0 @@
# Set path to perl scripts.
# Add dirs to path if they exist.
for _dir_ in site vendor core; do
if [ -d /usr/lib/perl5/${_dir_}_perl/bin ]; then
PATH=$PATH:/usr/lib/perl5/${_dir_}_perl/bin
fi
done
export PATH
# If you have modules in non-standard directories you can add them here.
#export PERLLIB=dir1:dir2

View File

@ -1,7 +1,7 @@
# Template build file for 'perl'.
pkgname=perl
version=5.16.3
revision=3
version=5.18.1
revision=1
hostmakedepends="which less"
makedepends="zlib-devel bzip2-devel gdbm-devel db-devel>=5.3"
short_desc="Practical Extraction and Report Language"
@ -10,7 +10,7 @@ homepage="http://www.perl.org"
license="GPL-2"
#distfiles="http://www.cpan.org/src/5.0/perl-${version}.tar.bz2"
distfiles="http://ftp.freebsd.org/pub/FreeBSD/distfiles/perl/perl-${version}.tar.bz2"
checksum=bb7bc735e6813b177dcfccd480defcde7eddefa173b5967eac11babd1bfa98e8
checksum=bf46c732c68fb160ea276b4b0cda26971646a206e31951abb8623a60f0ee5249
# Before updating this package to a new major version, run ${FILESDIR}/provides.pl
# against ${wrksrc} to find the list of built in packages.
@ -27,8 +27,7 @@ do_configure() {
-Dsitearch=/usr/lib/perl5/site_perl
-Dvendorlib=/usr/share/perl5/vendor_perl
-Dvendorarch=/usr/lib/perl5/vendor_perl
-Dscriptdir=/usr/lib/perl5/core_perl/bin
-Dvendorscript=/usr/lib/perl5/vendor_perl/bin
-Dscriptdir=/usr/bin -Dvendorscript=/usr/bin
-Dinc_version_list=none -Dman1ext=1p -Dman3ext=3p
-Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3"
@ -49,9 +48,7 @@ do_configure() {
sh ./Configure.cross
perl -Ilib make_patchnum.pl
else
./Configure -des ${_args} \
-Dcccdlflags="-fPIC" \
-Doptimize="${XBPS_CFLAGS}"
./Configure -des ${_args} -Dcccdlflags="-fPIC" -Doptimize="$CFLAGS"
fi
}
@ -60,8 +57,8 @@ do_build() {
export HOST_PERL=/usr/bin/perl
export PERL_TO_USE=$HOST_PERL
export HOST_PERL_LIBS=/usr/lib/perl5/core_perl
export LIB=/usr/$XBPS_CROSS_TRIPLET/lib
export INCLUDE=/usr/$XBPS_CROSS_TRIPLET/include
export LIB=$XBPS_CROSS_BASE/usr/lib
export INCLUDE=$XBPS_CROSS_BASE/usr/include
make SHRPLDFLAGS='-shared -Wl,-soname,libperl.so' \
CROSS_PERL=$HOST_PERL libperl.so ${makejobs}
@ -81,8 +78,8 @@ do_install() {
export HOST_PERL=/usr/bin/perl
export PERL_TO_USE=$HOST_PERL
export HOST_PERL_LIBS=/usr/lib/perl5/core_perl
export LIB=/usr/$XBPS_CROSS_TRIPLET/lib
export INCLUDE=/usr/$XBPS_CROSS_TRIPLET/include
export LIB=$XBPS_CROSS_BASE/usr/lib
export INCLUDE=$XBPS_CROSS_BASE/usr/include
cp -fr $HOST_PERL_LIBS/auto/* lib/auto/
make CROSS_PERL=$HOST_PERL DESTDIR=$DESTDIR install
@ -101,7 +98,7 @@ do_install() {
find ${DESTDIR} -type f -name \*.so -exec chmod 644 {} \;
# Make a link from perl${version} to perl.
cd ${DESTDIR}/usr/bin && ln -sf perl${version} perl
ln -sf /usr/bin/perl${version} ${DESTDIR}/usr/bin/perl
### CPAN Settings ###
# Set CPAN default config to use the site directories.
@ -115,9 +112,6 @@ do_install() {
-e "/{'buildflags'}/ s/'';/'installdirs=site';/" \
-i ${DESTDIR}/usr/share/perl5/core_perl/CPANPLUS/Config.pm
# Profile script so set paths to perl scripts.
vinstall ${FILESDIR}/perlbin.sh 644 etc/profile.d
# Remove all pod files *except* those under
# /usr/share/perl5/core_perl/pod/ (FS#16488)
rm -f ${DESTDIR}/usr/share/perl5/core_perl/*.pod
@ -135,143 +129,143 @@ do_install() {
}
perl_package() {
_provides="
perl-Archive-Extract-0.58_1
perl-Archive-Tar-1.82_1
perl-Attribute-Handlers-0.93_1
perl-AutoLoader-5.72_1
perl-B-Debug-1.17_1
perl-B-Deparse-1.14_01_1
perl-B-Lint-1.14_1
perl-CGI-3.59_1
perl-CPAN-1.9800_1
perl-CPAN-Meta-2.120630_1
perl-CPAN-Meta-YAML-0.007_1
perl-CPANPLUS-0.9121_1
perl-CPANPLUS-Dist-Build-0.62_1
perl-Carp-1.26_1
perl-Compress-Raw-Bzip2-2.048_1
perl-Compress-Raw-Zlib-2.048_1
perl-DB_File-1.826_1
perl-Data-Dumper-2.135_06_1
provides="
perl-Archive-Extract-0.68_1
perl-Archive-Tar-1.90_1
perl-Attribute-Handlers-0.94_1
perl-AutoLoader-5.73_1
perl-B-Debug-1.18_1
perl-B-Deparse-1.20_1
perl-B-Lint-1.17_1
perl-CGI-3.63_1
perl-CPAN-2.00_1
perl-CPAN-Meta-2.120921_1
perl-CPAN-Meta-Requirements-2.122_1
perl-CPAN-Meta-YAML-0.008_1
perl-CPANPLUS-0.9135_1
perl-CPANPLUS-Dist-Build-0.70_1
perl-Carp-1.29_1
perl-Compress-Raw-Bzip2-2.060_1
perl-Compress-Raw-Zlib-2.060_1
perl-Config-Perl-V-0.17_1
perl-DB_File-1.827_1
perl-Data-Dumper-2.145_1
perl-Devel-PPPort-3.20_1
perl-Devel-SelfStubber-1.05_1
perl-Digest-1.17_1
perl-Digest-MD5-2.51_1
perl-Digest-SHA-5.71_1
perl-Digest-MD5-2.52_1
perl-Digest-SHA-5.84_01_1
perl-Dumpvalue-1.17_1
perl-Encode-2.44_1
perl-Env-1.03_1
perl-Exporter-5.66_1
perl-ExtUtils-CBuilder-0.280206_1
perl-Encode-2.49_1
perl-Env-1.04_1
perl-Exporter-5.68_1
perl-ExtUtils-CBuilder-0.280210_1
perl-ExtUtils-Command-1.17_1
perl-ExtUtils-Constant-0.23_1
perl-ExtUtils-Install-1.58_1
perl-ExtUtils-MakeMaker-6.63_02_1
perl-ExtUtils-Manifest-1.61_1
perl-ExtUtils-ParseXS-3.16_1
perl-File-CheckTree-4.41_1
perl-File-Fetch-0.32_1
perl-File-Path-2.08_01_1
perl-File-Temp-0.22_1
perl-Filter-Simple-0.88_1
perl-Filter-Util-Call-1.40_1
perl-Getopt-Long-2.38_1
perl-HTTP-Tiny-0.017_1
perl-ExtUtils-Install-1.59_1
perl-ExtUtils-MakeMaker-6.66_1
perl-ExtUtils-Manifest-1.63_1
perl-ExtUtils-ParseXS-3.18_1
perl-File-CheckTree-4.42_1
perl-File-Fetch-0.38_1
perl-File-Path-2.09_1
perl-File-Temp-0.23_1
perl-Filter-Simple-0.89_1
perl-Filter-Util-Call-1.45_1
perl-Getopt-Long-2.39_1
perl-HTTP-Tiny-0.025_1
perl-I18N-Collate-1.02_1
perl-I18N-LangTags-0.38_1
perl-IO-1.25_06_1
perl-IO-Compress-2.048_1
perl-I18N-LangTags-0.39_1
perl-IO-1.28_1
perl-IO-Compress-2.060_1
perl-IO-Zlib-1.10_1
perl-IPC-Cmd-0.76_1
perl-IPC-Cmd-0.80_1
perl-IPC-SysV-2.03_1
perl-JSON-PP-2.27200_1
perl-Locale-Codes-3.21_1
perl-Locale-Maketext-1.22_1
perl-JSON-PP-2.27202_1
perl-Locale-Codes-3.25_1
perl-Locale-Maketext-1.23_1
perl-Locale-Maketext-Simple-0.21_1
perl-Log-Message-0.04_1
perl-Log-Message-Simple-0.08_1
perl-Log-Message-0.06_1
perl-Log-Message-Simple-0.10_1
perl-MIME-Base64-3.13_1
perl-Math-BigInt-1.998_1
perl-Math-BigInt-1.9991_1
perl-Math-BigInt-FastCalc-0.30_1
perl-Math-BigRat-0.2603_1
perl-Math-BigRat-0.2604_1
perl-Math-Complex-1.59_1
perl-Memoize-1.02_1
perl-Module-Build-0.39_01_1
perl-Module-CoreList-2.76_1
perl-Module-Load-0.22_1
perl-Module-Load-Conditional-0.46_1
perl-Memoize-1.03_1
perl-Module-Build-0.4003_1
perl-Module-CoreList-2.96_1
perl-Module-Load-0.24_1
perl-Module-Load-Conditional-0.54_1
perl-Module-Loaded-0.08_1
perl-Module-Metadata-1.000009_1
perl-Module-Pluggable-4.0_1
perl-Module-Metadata-1.000011_1
perl-Module-Pluggable-4.7_1
perl-NEXT-0.65_1
perl-Net-Ping-2.38_1
perl-Object-Accessor-0.42_1
perl-Net-Ping-2.41_1
perl-Object-Accessor-0.46_1
perl-Package-Constants-0.02_1
perl-Params-Check-0.32_1
perl-Parse-CPAN-Meta-1.4402_1
perl-PathTools-3.39_02_1
perl-Perl-OSType-1.002_1
perl-PerlIO-via-QuotedPrint-0.06_1
perl-Params-Check-0.36_1
perl-Parse-CPAN-Meta-1.4404_1
perl-PathTools-3.40_1
perl-Perl-OSType-1.003_1
perl-PerlIO-via-QuotedPrint-0.07_1
perl-Pod-Checker-1.60_1
perl-Pod-Escapes-1.04_1
perl-Pod-LaTeX-0.60_1
perl-Pod-Parser-1.51_1
perl-Pod-Perldoc-3.17_1
perl-Pod-Simple-3.20_1
perl-Safe-2.31_01_1
perl-Scalar-List-Utils-1.25_1
perl-Search-Dict-1.04_1
perl-SelfLoader-1.20_1
perl-Socket-2.001_1
perl-Storable-2.34_1
perl-Sys-Syslog-0.29_1
perl-Term-ANSIColor-3.01_1
perl-Pod-LaTeX-0.61_1
perl-Pod-Parser-1.60_1
perl-Pod-Perldoc-3.19_1
perl-Pod-Simple-3.28_1
perl-Pod-Usage-1.61_1
perl-Safe-2.35_1
perl-Scalar-List-Utils-1.27_1
perl-Search-Dict-1.07_1
perl-SelfLoader-1.21_1
perl-Socket-2.009_1
perl-Storable-2.41_1
perl-Sys-Syslog-0.32_1
perl-Term-ANSIColor-4.02_1
perl-Term-Cap-1.13_1
perl-Term-Complete-1.402_1
perl-Term-ReadLine-1.09_1
perl-Term-UI-0.30_1
perl-Test-1.25_02_1
perl-Test-Harness-3.23_1
perl-Term-ReadLine-1.12_1
perl-Term-UI-0.34_1
perl-Test-1.26_1
perl-Test-Harness-3.26_1
perl-Test-Simple-0.98_1
perl-Text-Abbrev-1.02_1
perl-Text-Balanced-2.02_1
perl-Text-ParseWords-3.27_1
perl-Text-Soundex-3.03_01_1
perl-Text-Tabs+Wrap-2009.0305_1
perl-Thread-Queue-2.12_1
perl-Text-ParseWords-3.28_1
perl-Text-Soundex-3.04_1
perl-Text-Tabs+Wrap-2012.0818_1
perl-Thread-Queue-3.02_1
perl-Thread-Semaphore-2.12_1
perl-Tie-File-0.98_1
perl-Tie-File-0.99_1
perl-Tie-RefHash-1.39_1
perl-Time-HiRes-1.9725_1
perl-Time-Local-1.2000_1
perl-Time-Local-1.2300_1
perl-Time-Piece-1.20_01_1
perl-Unicode-Collate-0.89_1
perl-Unicode-Normalize-1.14_1
perl-Version-Requirements-0.101022_1
perl-Win32-0.44_1
perl-Win32API-File-0.1200_1
perl-Unicode-Collate-0.97_1
perl-Unicode-Normalize-1.16_1
perl-Win32-0.47_1
perl-Win32API-File-0.1201_1
perl-XSLoader-0.16_1
perl-autodie-2.10_1
perl-autodie-2.13_1
perl-autouse-1.07_1
perl-base-2.18_1
perl-bignum-0.29_1
perl-constant-1.23_1
perl-bignum-0.33_1
perl-constant-1.27_1
perl-encoding-warnings-0.11_1
perl-if-0.0602_1
perl-lib-0.63_1
perl-libnet-1.22_1
perl-parent-0.225_1
perl-perlfaq-5.0150039_1
perl-podlators-2.4.0_1
perl-perlfaq-5.0150042_1
perl-podlators-2.5.1_1
perl-threads-1.86_1
perl-threads-shared-1.40_1
perl-version-0.99_1
perl-threads-shared-1.43_1
perl-version-0.9902_1
"
# Find virtual packages provided by the current perl version.
for _f in ${_provides}; do
_p=$($XBPS_UHELPER_CMD getpkgname ${_f})
provides+=" ${_f}"
replaces+=" ${_p}>=0"
for f in ${provides}; do
replaces+=" $($XBPS_UHELPER_CMD getpkgname ${f})>=0"
done
pkg_install() {