summaryrefslogtreecommitdiffstats
path: root/package/perl
Commit message (Collapse)AuthorAgeFilesLines
* perl: fix warnings at runtimeFrancois Perrad2014-08-111-1/+0
| | | | | | | | | | autosplit.ix files are used by AutoLoader.pm Can't locate auto/Net/SSLeay/autosplit.ix in @INC (@INC contains: /usr/lib/perl5/site_perl/5.18.2/arm-linux /usr/lib/perl5/site_perl/5.18.2 /usr/lib/perl5/5.18.2/arm-linux /usr/lib/perl5/5.18.2 .) at /usr/lib/perl5/5.18.2/AutoLoader.pm line 181. at /usr/lib/perl5/site_perl/5.18.2/arm-linux/Net/SSLeay.pm line 24. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: refactor with TARGET_FINALIZE_HOOKSFrancois Perrad2014-07-291-0/+12
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: handle BR2_PREFER_STATIC_LIBFrancois Perrad2014-07-281-0/+4
| | | | | | | [Thomas: fix commit title, use one line for both CONF_OPT options.] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl-net-ssleay: fix buildFrancois Perrad2014-07-011-2/+3
| | | | | | | | cc_runtime.h is present in old perl distribution see http://autobuild.buildroot.net/results/6dd/6dd6bf7d0a814aa508062636fd72de1d07c1816a/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl-cross: bump to version 0.8.5 and move to githubFrancois Perrad2014-06-111-3/+4
| | | | | | | | | | The perl-cross tarball allows to patch the Perl distribution (in a _POST_EXTRACT_HOOKS). The github helper gives a copy of the project which allows to build this tarball. So, the github helper can not be used here. [Peter: mention the change to github] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pkg-perl: fix for Perl XS packages configured by Makefile.PLFrancois Perrad2014-06-111-0/+21
| | | | | | | | | | | | | | | | | | | ExtUtils::MakeMaker adds all the header files used by the perl as dependencies to the generated Makefile. This means that the generated Makefile will depend on the system's header files. Usually this is not a problem, because when building the target package, these header files will indeed be found in $(STAGING_DIR). However, some distro's add an extra header file to the system's perl. This header is also included in the generated Makefile, which makes the build fail because it doesn't exist in $(STAGING_DIR). As a work-around, explicitly create this header file in $(STAGING_DIR). It doesn't hurt to create it even if the system perl doesn't need it. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: needs MMUFrancois Perrad2014-03-081-0/+1
| | | | | | | see build http://autobuild.buildroot.net/results/ba7/ba71d0d532ccd8e16b727cddd5dcaa5521074945/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: remove PERL_INSTALL_TARGET_GOALSFrancois Perrad2014-02-231-3/+1
| | | | | | | | | | useless since previous commit (removal of BR2_HAVE_DOCUMENTATION) see http://git.buildroot.net/buildroot/diff/package/perl/perl.mk?id=7164a32632d14cb83698ddec45e84ad2f3252e9e Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: remove useless patchFrancois Perrad2014-02-101-16/+0
| | | | | | | | | The Perl infrastructure uses a host version of Module-Build (see previous commit "host-perl-module-build: new package"). The target version is never used, so no need to patch it. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove support for documentation on targetThomas De Schampheleire2014-02-081-4/+0
| | | | | | | | This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl-cross: workaround with PERL5LIB no longer neededFrancois Perrad2014-01-081-5/+3
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: bump to version 5.18.2Francois Perrad2014-01-081-2/+2
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove package clean commandsThomas De Schampheleire2013-12-081-4/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: fix on uClibc without IPv6 supportFrancois Perrad2013-10-271-0/+61
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl-cross: bump to version 0.8.3Francois Perrad2013-10-272-3/+3
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: fix license infoArnout Vandecappelle2013-10-081-2/+2
| | | | | | | | According to the README, perl can be used either under Artistic or under GPLv1+ license, so include both. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* infra: introduce suitable-extractor helper functionThomas De Schampheleire2013-09-061-1/+1
| | | | | | | | | | In order to simplify determining the right extractor tool for a given file type, this patch introduces a make function 'suitable-extractor'. Its usage is $(call suitable-extractor,filename), and it returns the path to the suitable extractor. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: bump to version 5.18.1Francois Perrad2013-09-021-4/+4
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl-cross: bump to version 0.7.4Francois Perrad2013-08-101-1/+1
| | | | | | | since 0.7.3: install paths adjusted to match mainline perl Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl-cross: bump to version 0.7.2Francois Perrad2013-07-261-2/+2
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* eliminate double slashes caused by FOO_SITE ending in a slashShawn J. Goff2013-04-151-1/+1
| | | | | | | | | | When a FOO_SITE variable ends in a slash and gets joined with a FOO_SOURCE variable like $(FOO_SITE)/$(FOO_SOURCE), the resulting URI has a double slash. While double-slashes are fine in unix paths, they are reserved in URIs - the part following '//' must be an authority. Signed-off-by: Shawn J. Goff <shawn7400@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: bump to version 5.16.3Francois Perrad2013-03-171-1/+1
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: refactor configure stepFrancois Perrad2012-12-161-6/+6
| | | | | | | | | | | After discussion with Perl-Cross's author (Alex Suykov) Note: Using -A with variables that aren't option lists makes little sense. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: bump to version 5.16.2Francois Perrad2012-12-051-1/+1
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: fix configure stepFrancois Perrad2012-11-301-8/+8
| | | | | | | | | | | | | Configure -A symbol=val generates a extra space in config.sh, which causes failure like this : Building Module-Runtime-0.013 Unknown OS type ' linux' - using default settings [Arnout: use -A define:foo instead of patching config.sh] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: remove the double configure hackArnout Vandecappelle (Essensium/Mind)2012-11-301-12/+2
| | | | | | | | | | | | | | configure had to be called twice because with --mode=cross the miniperl-step failed. However, just leaving out the --mode parameter is sufficient to make it work. Since GNU_TARGET_NAME is always different from the host's tuple (it has -buildroot- in it), we can safely assume that the configure script will automatically enter cross mode. Also fix a type in perladmin definition. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: substitute perlcross pod with perl-version-specific podArnout Vandecappelle (Essensium/Mind)2012-11-301-1/+9
| | | | | | | As suggested by Dan Pattison at ethertek ca. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: remove redundant patchesArnout Vandecappelle (Essensium/Mind)2012-11-303-114/+0
| | | | | | | | Now we are using perlcross, the patches to make perl work with qemu are redundant, so remove them. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: build with perlcross instead of qemuArnout Vandecappelle2012-11-092-122/+71
| | | | | | | | | | | | | | | | | | | | | The perlcross project makes it possible to properly cross-compile perl. It creates a host-miniperl that is configured for the target and uses that to cross-compile the perl modules. Unfortunately there are still a few hacks needed to make it work. Proper fixes can be developed and upstreamed later. Since there is no longer a dependency on qemu, it works on all architectures again. Also removed some config options: - BR2_PACKAGE_PERL_CUSTOM_INSTALL just allows a selection of modules; this can also be encoded by an empty BR2_PACKAGE_PERL_MODULES. - BR2_PACKAGE_PERL_DB_FILE and BR2_PACKAGE_PERL_GDBM_FILE can be derived automatically from the package configs. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* cpanminus: new packageFrancois Perrad2012-11-031-0/+16
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: add option "custom install"Francois Perrad2012-11-032-0/+48
| | | | | | | allows same behaviour (and footprint) as microperl Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: add GDBM_FileFrancois Perrad2012-11-032-0/+9
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: add DB_FileFrancois Perrad2012-11-032-0/+14
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: new packageFrancois Perrad2012-11-035-0/+231
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud