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>
11 years ago
Marcel Denia
51850177b9
lang/perl: Install target headers to staging directory
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
9e9110eff7
lang/perl: Adjust some leftover x86_64 configuration symbols
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 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>
11 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>
11 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>
11 years ago
Marcel Denia
8b5c73e859
lang/perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
1032e88566
lang/perl: Upgrade x86_64 cppsymbols configuration symbol
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
3dc41445fa
lang/perl: Upgrade most x86_64 configuration symbols to match a 64-bit environment
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
98f601e870
lang/perl: Add x86_64 config based on i486 config
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
6dcc322af5
lang/perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
c902e36c80
lang/perl: Set archlib symbol in powerpc configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
249eed6625
lang/perl: Set archlib symbol in mips configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
a447c9b8a5
lang/perl: Set archlib symbol in i486 configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
1179931a30
lang/perl: Set archlib symbol in avr32 configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
08473ed368
lang/perl: Set archlib symbol in armeb configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
0c2bf00787
lang/perl: Set archlib symbol in arm configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
62b042909d
lang/perl: Build relocatable host perl
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
2bc4222ffb
lang/perl: Clean up, add comments
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
ff5b5de7c5
lang/perl: Rename HOST_PERL_DIR to HOST_PERL_PREFIX
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
cc07017bb6
lang/perl: Override perl configuration symbols for cross-compile
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
c72b4ba933
lang/perl: Update paths in perlmod.mk
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
eb52e56950
lang/perl: Remove PERL_LIB from perlmod.mk
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
551609e848
lang/perl: Refactor Makefile
This is a kind of big commit. Summary:
- Integrate better into OpenWRT's infrastructure
- > Build host-perl using host-build.mk
- > Install host-perl to STAGING_DIR_HOST
- Remove microperl(for now)
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
a1e4dd4eba
lang/perl: Set archlib symbol in mipsel configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
d659ba4244
lang/perl: Add some HTTP mirrors
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
402504f53f
lang/perl: Fix typo in PKG_LICENSE_FILES
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
b8570aef8e
lang/perl: Add myself as maintainer
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
599d348eff
lang/perl: Don't build target miniperl
The target miniperl binary wasn't used at all. It is intended
for bootstrapping during build when not cross-compiling.
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
7534bea197
lang/perl: Fixup formatting
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
980773283e
lang/perl: Upgrade powerpc configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
538f455c25
lang/perl: Upgrade mips configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
2e6ad0958b
lang/perl: Upgrade avr32 configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
abda647aea
lang/perl: Upgrade armeb configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
b5100b9d31
lang/perl: Upgrade arm configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
68c59c99e5
lang/perl: Add parallel build support
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
b5967bd21b
lang/perl: Add microperl caretx dependency
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
289dcc2d94
lang/perl: Build ugenerate_uudmap as a host binary
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
1b4505548e
lang/perl: Upgrade i486 configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
5e01c5373c
lang/perl: Add some module dependencies
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
11dec6fc85
lang/perl: Remove old static uudmap handling
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
4c57844f0f
lang/perl: Add hack to make perl always use miniperl during build
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
e7263f63ca
lang/perl: Fix paths in perlmod.mk
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
441898bfc8
lang/perl: Remove deprecated modules
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
d03e38b82c
lang/perl: Upgrade mipsel configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
2099878035
lang/perl: Build just miniperl for host-perl
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
416d887a0f
lang/perl: Adapt Makefile to 5.20.0 behaviour
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
6818ac4313
lang/perl: Rebase patches
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
56763a7a3f
lang/perl: Update to 5.20.0
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago
Marcel Denia
6420bbd712
Import of oldpackages/perl
Signed-off-by: Marcel Denia <naoir@gmx.net>
11 years ago