Marcel Denia
c6d65000d8
perl: Allow changing the default directory for perlmod/Configure
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
John Crispin
98be2ca3e0
global: change all instances of USE_EGLIBC to USE_GLIBC
Signed-off-by: John Crispin <blogic@openwrt.org>
10 years ago
Marcel Denia
404a4362ac
perl: Update to 5.20.2
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
325128f754
perl: Improve CONFIG_PERL_TESTS help text
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
d091b65926
perl: Enable CONFIG_PERL_THREADS properly by default for x86
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
052129858e
perl: Upgrade configuration files to perl 5.20.2
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
39518078d8
perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
7236fe401f
perl: Provide correct CFLAGS through perlmod.mk
In case threading is enabled, perl is compiled with -D_REENTRANT
and -D_GNU_SOURCE, which, apart from other things, enables usage
of off64_t. As we override module CFLAGS manually, we'll have to
pass that flags as well.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
60b61d35fb
perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
8ab3731392
perl: Cleanup
- Update copyright notice
- Make perlbase-experimental's TITLE show up in menuconfig again
- Formatting changes
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
30753fd5e5
perl: Add threading configuration for all remaining architectures
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
fe91afba66
perl: Add i486 threading configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
4248b8b72d
perl: Add new CONFIG_PERL_THREADS option for enabling threading support
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
a32cb24122
perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
14d601c0eb
perl: Fix version configuration symbols
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
c68e888e88
perl: Add mips64 configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
13f4a02172
perl: Update to 5.20.1
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
4fd4aa0fbd
perl: Mark test support as experimental
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
771b776a19
perl: Fix signal order for i486
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
ce54424c81
perl: Update perlbase.mk
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
1549919b71
perl: Also strip begin, end and for pragmas
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
671a43167f
perl: Set nv_overflows_integers_at configuration symbol
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
95058be605
perl: Add basic test support
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
4715296a79
perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
ef3ac53da2
perl: Don't try to link against libnsl
And also remove all other references to avoid confusion.
libnsl isn't really needed. Removing it allows glibc based
toolchains to build perl.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
4456537077
perl: Make I8/I16/I32 types explicitly signed for PPC
Type signedness is undefined for char. char may actually be unsigned for
some CPUs.
This fixes various bugs on PPC, like negative array indices.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
John Crispin
1881ab2550
perl: create the Host install path before using it
this caused a compile fail on the BB builder
Signed-off-by: John Crispin <blogic@openwrt.org>
10 years ago
Marcel Denia
3d32350026
perl: Remove unused helper scripts
They're broken anyway
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
2f2601deda
perl: Update license identifiers to match SPDX
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
0589ca524f
perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
a68e78c748
perl: Add proper dependencies for all perlbase packages
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
d98f1cc781
perl: Unify host and target build directories
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
505bf74aa3
perl: Include installed extensions in host-perl
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
71b97e4f88
perl: Add host-perl relink hack
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
c56aabec0e
perl: Add perlmod host rules
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
c02ebc0072
perl: Install libperl.so
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
dfc4b6969f
perl: Install full /usr/lib/perl5 tree into STAGING_DIR
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
c64769bd8f
perl: Build shared libperl
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
7436f597b4
lang/perl: Include overloading.pm in perlbase-essential
Needed by perl-dbi.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
3e7876c22f
lang/perl: Strip encoding pragma
The "encoding" pragma is officially deprecated.
Makes HTML::Parser/HTML::Entities work.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
edebd9121a
lang/perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
8995386673
lang/perl: Cleanup
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
3e4f400a49
lang/perl: Update license information
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
d94b738420
lang/perl: Use target headers for external modules
Before, external modules actually used host-perl headers.
Aside from obviously being the wrong thing to do, it made them misbehave if
host and target architectures differ too much.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
51850177b9
lang/perl: Install target headers to staging directory
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
9e9110eff7
lang/perl: Adjust some leftover x86_64 configuration symbols
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
a1993737aa
lang/perl: Make I8/I16/I32 types explicitly signed for ARM
Type signedness is undefined for char. char may actually be unsigned for
some CPUs.
This fixes various bugs on ARM, for example negative array indices.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
e04bd7368a
lang/perl: Override CCFLAGS configuration symbol in perlmod
This makes external perl modules compile their native code with the
correct CFLAGS, not with the one host-perl is using.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
8f8698ad20
lang/perl: Filter -g3 in TARGET_CFLAGS
-g3 will make the build fail in Compress-Raw-Zlib with
ld: final link failed: Memory exhausted
This bug is actually documented[1] and fixed by filtering that flag. Since
we're passing CFLAGS manually, we need to do the same to make things work.
I suspect that this is actually a linker or library bug, but for now let's
just replicate the official fix.
[1] https://rt.cpan.org/Public/Bug/Display.html?id=88936
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
8b5c73e859
lang/perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago