Felix Fietkau
9f8e5aca34
treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with changes in trunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
9 years ago
Marcel Denia
1c8c372e9c
perl: Properly override PERL_INC for subdirectory builds
Signed-off-by: Marcel Denia <naoir@gmx.net>
9 years ago
Marcel Denia
7a545cc9b3
perl: Update to 5.22.0
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
273d4bd6a7
perl: Have perl's major version number in one central place
This will simplify updating the package in the future.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
3c7528d2f4
perl: Pass _LARGEFILE_SOURCE and _FILE_OFFSET_BITS in cflags
Fixes broken largefile support.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
3f7e3977a5
perl: Allow changing the default directory for perlmod/Compile
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
828800508d
perl: Add "-rdynamic" to LDDLFLAGS override in perlmod/Configure
perl would have done the same.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
Marcel Denia
9474e497c6
perl: Override cpprun configuration symbol
This will not change any existing packages' functionality. All packages
that used this symbol before during build(with it's value being "cc -E") most
likely would've failed compilation.
Note that this change is only in effect during build.
Signed-off-by: Marcel Denia <naoir@gmx.net>
10 years ago
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
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
1549919b71
perl: Also strip begin, end and for pragmas
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
c56aabec0e
perl: Add perlmod host rules
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
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
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
2bc4222ffb
lang/perl: Clean up, add comments
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
e7263f63ca
lang/perl: Fix paths in perlmod.mk
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