summaryrefslogtreecommitdiffstats
path: root/package/perl
Commit message (Collapse)AuthorAgeFilesLines
* perl: bump to version 5.24.1Francois Perrad2017-01-232-8/+8
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: fix static build with gdbm + gettextFrancois Perrad2017-01-181-0/+20
| | | | | | | see http://autobuild.buildroot.org/results/d1f/d1f133ca3693b6653eed4fc513effc0bbdcfd9c9/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/perl: change tarball compression to xzJerzy Grzegorek2017-01-062-5/+5
| | | | | | | Also update hash file. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl-cross: bump to version 1.1.2Francois Perrad2017-01-042-7/+6
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: bump to version 5.24.0Francois Perrad2017-01-042-17/+9
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: use $(HOST_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias2016-10-291-3/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: use $(TARGET_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias2016-10-291-4/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: update cnf/config.{sub, guess} using autotools hookErico Nunes2016-10-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | perl may fail to build on newer host architectures such as aarch64 due to its inability to guess the host architecture to build 'miniperl', which is built during the process. An error message looks like this: Configuring build-time miniperl for unknown ERROR: No $target defined (?!) ERROR: configure --mode=buildmini failed This happens because the config.sub and config.guess files from perl are not modified and may become outdated. These files are normally updated automatically by a Buildroot hook for autotools packages, to avoid problems like these. Although perl uses the config.sub and config.guess files, it is not a strict autotools package, so it is not defined as an "autotools-package" in Buildroot and so it doesn't inherit the hook. This commit makes perl borrow the hook from the autotools infrastructure so that it can build on newer build architectures. This has been tested by building it on an aarch64 host machine. Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Acked-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "package/perl: bump version to 5.24.0"Thomas Petazzoni2016-10-042-13/+15
| | | | | | | | | | | | | | | | | | | | | | | This reverts commit e1a4b820fff98cd5ba9ba12c4e7605496e7793b9. As explained by François Perrad: """ perl-cross 1.1.0 is not mature (11 issues opened on september), it is a full refactor, there are already 19 commits after this tag. I never bump a perl version 5.x.0, I always wait the version 5.x.1 If you really need a perl 5.24.0, cross-compiled it with perl-5.24.0-cross-1.0.3. When I bump a perl version, I run on target the full Perl test suite (~ 800 000 tests), and failures are not expected. With cross-perl 1.0.3 and 1.1.0 tags, there have failures described in https://github.com/arsv/perl-cross/issues/33 """ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/perl: bump version to 5.24.0Bernd Kuhls2016-10-032-15/+13
| | | | | | | | | | | | | perl-cross has a new version scheme since 1.1.0: https://github.com/arsv/perl-cross/releases perl does not contain a version-specific perldelta.pod anymore: https://rt.perl.org/Public/Bug/Display.html?id=129328#txn-1424561 Therefore PERL_CROSS_SET_POD was changed accordingly. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: use the <PKG>_TARGET_FINALIZE_HOOKSYann E. MORIN2016-07-051-3/+1
| | | | | | | | | | | | | | | | | | Register package-specific target-finalize hooks with the newly-introduced <PKG>_TARGET_FINALIZE_HOOKS. This incidentally fixes luarocks, which was registering target-finalize hooks even when it was not enabled. To be noted, the skeleton package is not converted, because it is not optional, we always have it; so its hooks would always be registered anyway. Besides, the followup patches would render this conversion moot anyway, since those hooks would be spread across the various skeleton packages. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/perl: use dummy hostnameYann E. MORIN2016-07-051-1/+1
| | | | | | | | | | | | | | | | | | | The hostname does not look like it serves any useful purpose, except maybe to set set perladmin email. Which is undoubtfully useless on the target. A followup commit will make the hostname depend on the default skeleton, so it won't always be available. We can not rely on it to be set. Besides, even today it is not guaranteed to be set; a user may well leave it empty. Use a dummy hostname. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* scancpan: improve message when bad host perl versionFrancois Perrad2016-07-041-0/+1
| | | | | | | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [Thomas: - add comment in scancpan about the version dependency, suggested by Yann E. Morin. - add comment in perl.mk about the need to sync any version change with scancpan, also suggested by Yann E. Morin.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: remove empty host dependencies definitionJulien Floret2016-07-031-4/+0
| | | | | Signed-off-by: Julien Floret <julien.floret@6wind.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: bump to version 5.22.2Francois Perrad2016-04-302-5/+5
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: bump to version 5.22.1Francois Perrad2016-01-122-9/+9
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl-cross: bump to version 1.0.1Francois Perrad2015-11-035-66/+2
| | | | | | | all patches merged Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* host-perl: fix patchingFrancois Perrad2015-10-301-0/+1
| | | | | | | | | | see http://autobuild.buildroot.net/results/c8e/c8e6bbe50ca71835bdde9503a9fe23ace8236a09/ the newest patches are against perl-cross, so we need to extract perl-cross in the host-perl case. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: fetch lastest upstream patches from perl-crossFrancois Perrad2015-10-274-18/+50
| | | | | | | | | my previous patch about static build (0001-fix-EUMM.patch) was not the good fix. see discussion: http://github.com/arsv/perl-cross/issues/18 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: Remove ccache handlingArnout Vandecappelle2015-10-041-3/+2
| | | | | | | | | Now the ccache handling has moved to the toolchain wrapper, it is no longer necessary to pass TARGET_CC_NOCCACHE. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: fix static buildFrancois Perrad2015-09-131-0/+18
| | | | | | | see http://autobuild.buildroot.net/results/502/502e6a6280451acc48e5f500e774b2bd04c7229e/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: bump to version 5.22.0Francois Perrad2015-09-062-9/+9
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: only run finalize hook when necessaryDanomi Manchego2015-07-211-2/+2
| | | | | | | | | | | | | | | | | The PERL_FINALIZE_TARGET always runs, even if perl is not installed. This results in errors from the find command when it fails to find anything, even when doing "make -s": >>> Finalizing target directory find: `...../output/target/usr/lib/perl5/': No such file or directory find: `...../output/target/usr/lib/perl5/': No such file or directory find: `...../output/target/usr/lib/perl5/': No such file or directory This is not helpful for projects that do not select Perl. Silence this by making the hook conditional on package selection. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: do not use TAR_STRIP_COMPONENTS, but directly --strip-componentsThomas Petazzoni2015-07-121-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl-cross: bump to version 0.9.7Francois Perrad2015-06-292-2/+2
| | | | | | | | fix some build failures, see https://github.com/arsv/perl-cross/issues/17 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/perl: Fix typos in HOSTCC specificationAlbert Lee2015-06-231-2/+2
| | | | | | Signed-off-by: Albert Lee <trisk@omniti.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove non-IPv6 enabler patchesGustavo Zacarias2015-04-221-61/+0
| | | | | | | These are no longer required so remove them. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-4/+0
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: use <pkg>_EXTRA_DOWNLOADSThomas Petazzoni2015-03-301-6/+2
| | | | | | | | | | | | | | Instead of manually using the DOWNLOAD macro (which should remain an internal macro), this commit converts the Perl package to use <pkg>_EXTRA_DOWNLOADS, now that it has been extended to allow full URLs. [Thomas: as suggested by Yann, keep comment explaining how we handle perl-cross.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* perl-cross: bump to version 0.9.6Francois Perrad2015-03-082-4/+3
| | | | | | | | this release contains a fix for yacc/bison issue, see http://github.com/arsv/perl-cross/issues/13 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: fix build caused by bison generated codeFrancois Perrad2015-03-041-0/+1
| | | | | | | | | | | | | | This commit makes sure the date of a C file is newer than the date of the corresponding Bison source file, so that the build process doesn't try to regenerate it. This avoids the need to have host-bison as a dependency for the perl build. Fixes: http://autobuild.buildroot.net/results/1c2/1c261b09f5a4a314d5dcbc1e5811af9c7d18658a/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: bump to version 5.20.2Francois Perrad2015-02-192-5/+5
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: remove poisoned path from dynaloader hintsAlex Suykov2015-02-081-0/+13
| | | | | | | | | Fixes http://autobuild.buildroot.net/results/323a82776cccf17afaa00ebe3483cfc06a06f264/ http://autobuild.buildroot.net/results/7d4cf7b63fda1a062263b7a4e758c699049105af/ Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-031-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: add hash for the perl-cross fileFabio Porcedda2015-01-311-0/+3
| | | | | | | | Fix: WARNING: No hash found for perl-5.20.1-cross-0.9.4.tar.gz Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* perl-cross: bump to version 0.9.4Francois Perrad2014-11-181-1/+1
| | | | | | | | | this release fixes the build when BR2_PREFER_STATIC_LIB see http://autobuild.buildroot.net/results/057/057a4b9976fd6b9c5cddd117a3f29de51efe719f/build-end.log see https://github.com/arsv/perl-cross/issues/11 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2014-10-251-5/+5
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* host-perl: fix dependenciesFrancois Perrad2014-10-201-0/+4
| | | | | | | | | see autobuilder http://autobuild.buildroot.net/results/5557b262bfc344700ed04563a40f10bc2a23eb31/ http://autobuild.buildroot.net/results/8b22b950ba9d1635991a97e477ad5268f08b4004/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl-cross: bump to version 0.9.3Francois Perrad2014-10-171-3/+2
| | | | | | | | this version fixes the issue with big endian, see https://github.com/arsv/perl-cross/issues/10 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: remove useless hacksFrancois Perrad2014-10-171-26/+0
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: add host variantFrancois Perrad2014-10-171-0/+18
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* .mk files: bulk aligment and whitespace cleanup of assignmentsThomas De Schampheleire2014-10-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Buildroot coding style defines one space around make assignments and does not align the assignment symbols. This patch does a bulk fix of offending packages. The package infrastructures (or more in general assignments to calculated variable names, like $(2)_FOO) are not touched. Alignment of line continuation characters (\) is kept as-is. The sed command used to do this replacement is: find * -name "*.mk" | xargs sed -i \ -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*$#\1 \2#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\]\+\)$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\ \t]\+\s*\\\)\s*$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\(\s*\\\)#\1 \2\3#' Brief explanation of this command: ^\([A-Z0-9a-z_]\+\) a regular variable at the beginning of the line \([?:+]\?=\) any assignment character =, :=, ?=, += \([^\\]\+\) any string not containing a line continuation \([^\\ \t]\+\s*\\\) string, optional whitespace, followed by a line continuation character \(\s*\\\) optional whitespace, followed by a line continuation character Hence, the first subexpression handles empty assignments, the second handles regular assignments, the third handles regular assignments with line continuation, and the fourth empty assignments with line continuation. This expression was tested on following test text: (initial tab not included) FOO = spaces before FOO = spaces before and after FOO = tab before FOO = tab and spaces before FOO = tab after FOO = tab and spaces after FOO = spaces and tab after FOO = \ FOO = bar \ FOO = bar space \ FOO = \ GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse FOO += spaces before FOO ?= spaces before and after FOO := FOO = FOO = FOO = FOO = $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C AT91BOOTSTRAP3_DEFCONFIG = \ AXEL_DISABLE_I18N=--i18n=0 After this bulk change, following manual fixups were done: - fix line continuation alignment in cegui06 and spice (the sed expression leaves the number of whitespace between the value and line continuation character intact, but the whitespace before that could have changed, causing misalignment. - qt5base was reverted, as this package uses extensive alignment which actually makes the code more readable. Finally, the end result was manually reviewed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Cc: Yann E. Morin <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: fix build on big endian archFrancois Perrad2014-10-051-0/+1
| | | | | | | | see http://autobuild.buildroot.org/results/3a1/3a1c2f0bc802d3cec26ffd4ded8f5c04473a3d4b/build-end.log Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-6/+6
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* perl: bump to version 5.20.1Francois Perrad2014-10-023-9/+16
| | | | | | [Peter: squash 'add hash' patch into it] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* perl: fix build of native modulesFrancois Perrad2014-09-211-0/+1
| | | | | | | | CORE/vutil.h is required when the host perl version is 5.20 see http://autobuild.buildroot.net/results/c3d/c3d48c3b3d6c1e616d8e20a2f65d8ba33abe61da/ Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* 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>
OpenPOWER on IntegriCloud