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
Marcel Denia
1032e88566
lang/perl: Upgrade x86_64 cppsymbols configuration symbol
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 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>
10 years ago
Marcel Denia
98f601e870
lang/perl: Add x86_64 config based on i486 config
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
6dcc322af5
lang/perl: Bump PKG_RELEASE
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
c902e36c80
lang/perl: Set archlib symbol in powerpc configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
249eed6625
lang/perl: Set archlib symbol in mips configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
a447c9b8a5
lang/perl: Set archlib symbol in i486 configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
1179931a30
lang/perl: Set archlib symbol in avr32 configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
08473ed368
lang/perl: Set archlib symbol in armeb configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
0c2bf00787
lang/perl: Set archlib symbol in arm configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
62b042909d
lang/perl: Build relocatable host perl
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
2bc4222ffb
lang/perl: Clean up, add comments
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
ff5b5de7c5
lang/perl: Rename HOST_PERL_DIR to HOST_PERL_PREFIX
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
cc07017bb6
lang/perl: Override perl configuration symbols for cross-compile
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
c72b4ba933
lang/perl: Update paths in perlmod.mk
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
eb52e56950
lang/perl: Remove PERL_LIB from perlmod.mk
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 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>
10 years ago
Marcel Denia
a1e4dd4eba
lang/perl: Set archlib symbol in mipsel configuration
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 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