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>
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>
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>
lang/perl: Adjust some leftover x86_64 configuration symbols

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl: Install target headers to staging directory

Signed-off-by: Marcel Denia <naoir@gmx.net>
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>
Import aria2 from oldpackages, update to 1.18.7
lang/perl: Update license information

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl: Cleanup

Signed-off-by: Marcel Denia <naoir@gmx.net>
Import of oldpackages/perl-*

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl-*: Update to current upstream

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl-net-telnet: Don't point to a specific version in URL

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl-test-harness: Don't point to a specific version in URL

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl-test-harness: Fix DEPENDS

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl-www-curl: Update 100-perl-www-curl_disable_curl-config_hack.patch

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl-www-curl: Properly link against libcurl

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl-*: Add/update copyright notices

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl-*: Add/update licensing information

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl-*: Update PKG_SOURCE_URL

search.cpan.org seems to have some problems from time to time.

Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl-*: Cleanup, fix formatting

Signed-off-by: Marcel Denia <naoir@gmx.net>