Commit Graph

75 Commits

Author SHA1 Message Date
Joachim Mairböck
27d318f34c perl: fix doc subpackage (#12054) 2025-07-12 21:25:56 +02:00
Joachim Mairböck
50dce8b8d0 perl: bump to version 5.40.2
This is a bug fix and security update. See perldoc perldelta for the release notes.
2025-06-08 13:20:58 +02:00
Joachim Mairböck
1c706480e6 perl: bump version 2025-02-09 18:30:21 +01:00
Joachim Mairböck
753423afc5 perl: fix build on beta 5 and newer, install man pages
The Configure script apparently detects memrchr now, but uses -std=c99 by
default, so it isn't actually available (it is guarded with _DEFAULT_SOURCE).
Use -std=gnu99 explicitly instead.

Also, set the site and vendor man directories.
Otherwise, packages which install man pages will install them into $prefix/man.
(Although perl packages using ExtUtils::MakeMaker still don't install man pages, it seems.)

Put the man pages of perl itself into a doc subpackage.
2025-01-06 12:13:13 +01:00
Joachim Mairböck
ddcebd047b perl: don't create the site install dirs in non-packaged
That directory isn't needed any more after removing the sitecustomize.pl script.
cpan creates it on demand automatically when installing a package if it doesn't exist.

Fixes #10834.
2024-08-18 16:48:44 +02:00
Joachim Mairböck
0074de8708 perl: fix shebang of scripts installed with MakeMaker
Fixes the root cause of #10788, but not the concrete problem, that requires a
rebuild of exiftool.
2024-08-04 17:59:54 +02:00
Joachim Mairböck
d930816ea7 perl: fix the locking at fork "properly" by reinitializing the mutexes in the child (#10763) 2024-07-29 13:21:37 -04:00
Joachim Mairböck
80cded50f7 perl: bump version, enable threads, don't install sitecustomize.pl (#10626)
See https://perldoc.perl.org/perl#History for details of changes.
Fixes CVE-2023-47038. (the other security fix affects only Windows)

Because this is a major update of perl, this requires rebuilding all perl packages.

Enable threads, which are enabled by most Linux distros as well, apparently.
This required some additional patches.

Don't create and install the `sitecustomize.pl` script any more. I don't think it is actually needed.
Fixes #10624.

Remove a gcc2 build fix from the patchset.
2024-07-05 19:08:05 +02:00
Joachim Mairböck
14c4afa5a9 perl: add back $secondaryArchSuffix to libperl (only)
This is needed to be able to require it explicitly in the correct form and
avoid a policy violation for apps which require it. HaikuPorter checks for
REQUIRES including the secondaryArchSuffix.
2024-06-09 15:15:51 +02:00
Joachim Mairböck
f7bfb6e83f perl: drop gcc2, making perl_x86 the default (#9439)
* perl: drop gcc2, making perl_x86 the default

This is an alternative solution to #9394

* perl: add secondaryArch lib dirs to library path

The variable 'libpth' (the library path) is also used by the DynaLoader, so it should contain all the paths were dynamically loaded libraries (like the SDL ones for sdl_perl) normally are.
2024-06-08 14:53:26 +02:00
Joachim Mairböck
bf8d914527 perl, texinfo-7: provide a secondaryArch package (#9202)
* perl, texinfo-7: provide a secondaryArch package

LilyPond requires a newer texinfo than the 6.1 that is available for x86_gcc2.
Provide a secondary architecture version of texinfo 7 to fix that.

Perl (secondary) is required for texinfo.

* texinfo-7: remove libtool files

* texinfo-7: add conflict between primary and secondary packages

They largely contain the same data files and documentation.
2023-08-17 10:51:52 +00:00
davidkaroly
5db8076f6f perl: enable recipe for arm (#9170) 2023-08-10 10:50:52 +00:00
waddlesplash
4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00
Schrijvers Luc
97c510b9bd Use https over http, fixes problems reported by repology (#5916) 2021-05-15 09:30:48 +02:00
Jerome Duval
7f0268ed3d perl: bump version 2021-04-01 12:48:42 +02:00
Jerome Duval
4a9d9c1b52 perl: bump version 2021-01-17 18:34:23 +01:00
Jerome Duval
184660370f perl: bump version. 2020-05-12 19:54:15 +02:00
Jerome Duval
9471aab3c0 perl: bump version. 2019-11-20 21:02:55 +01:00
Jerome Duval
ccee9818a3 perl: bump version. 2019-07-07 21:55:12 +02:00
Jerome Duval
ff0a38ce24 perl: bump version. 2019-05-05 22:05:38 +02:00
Jerome Duval
085469acf2 perl: fix gcc2 bug in locale.c.
char is promoted to int, which then fails to compare correcly with char.
2019-04-25 23:31:38 +02:00
Jerome Duval
a7b69a4328 perl: add recipe for version 5.28.1. 2019-04-06 19:28:59 +02:00
Jerome Duval
37114df89f perl: update compatibility string for libperl.
no need to rebuild libperl reverse dependencies.
2019-01-08 17:40:47 +01:00
Jerome Duval
2f850ff1ad perl: bump version. 2018-12-18 19:57:43 +01:00
Jerome Duval
f0dbf12da8 perl: use the shortVersion for site and vendor. 2018-03-14 21:47:12 +01:00
Adrien Destugues
99b5ce0a6f perl 5.26: mark as tested on x86_gcc2
Passes 99.25% of tests.
Remove old recipes.
2018-02-10 10:08:28 +01:00
Jerome Duval
39e5c67367 perl: bump version.
* now uses the short version for vendor and site paths: they are
supposed to be compatible for even version numbers. needs to rebuild
perl modules though.
2017-09-29 18:46:23 +02:00
Jerome Duval
a854d846b0 perl: vendor_perl is compatible with $portVersion.
* rebuild recipes depending on vendor_perl.
* beware though, haikuporter might wrongly select both perl 5.18 and
perl 5.26 in the chroot to satisfy the dependencies.
2017-07-25 18:08:41 +02:00
Jerome Duval
c0f1b795cf perl: enable on x86_64.
* be aware that automake 1.15.0 (and before) doesn't work with perl
5.26.
2017-07-15 13:25:56 +02:00
Jerome Duval
24a075db21 perl: add recipe for version 5.26. 2017-06-09 23:40:02 +02:00
RahulAN
ef746d029b perl: add -fno-stack-protector to link flags (#1379)
* fix irssi perl modules build
2017-06-02 08:29:44 +02:00
Augustin Cavalier
f561efbc96 Rename SRC_URI/SRC_FILENAME to SOURCE_URI/SOURCE_FILENAME. 2015-07-02 11:13:12 -04:00
Augustin Cavalier
b0a54f6482 perl: Fix LICENSE.
I didn't bump the revision as there is no functional change here.
2015-07-01 17:54:49 -04:00
Oliver Tappe
52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00
Alexander von Gluck IV
efbc036ece fix: Update perl,diffutils,sed,which,m4,make include grep buildreq 2014-12-03 20:35:06 +00:00
Alexander von Gluck IV
c522c1de50 patch cleanup: Make sure recipes have matching patches.
* Ruby 1.9.3 shouldn't point to the 1.9.1 patch, etc.
2014-06-12 20:44:25 +00:00
Jerome Duval
59330a1e4c perl: enable x86_gcc2 and x86 2014-06-01 21:43:04 +00:00
PulkoMandy
5f9bcb6928 Declare ARM support for packages to bootstrap.
* The bootstrap process won't work without that.
2014-04-22 21:23:55 +02:00
Oliver Tappe
80bbd70b83 Let all recipes use SHA-256 checksums only. 2014-04-21 19:31:51 +02:00
Jonathan Schleifer
0197df2959 Fix perl-5.18.2
* Add missing cmd:awk
* Add missing RMD160 checksum
2014-03-20 15:10:10 +01:00
Jerome Duval
150b5e6d7c perl: recipe for version 5.18.2 2014-03-20 13:13:43 +00:00
noryb009
1fa8788a0c Rewrap dev-lang DESCRIPTIONs 2014-01-02 16:40:56 -05:00
Alexander von Gluck IV
d97a2aabd9 all: Don't use portVersionedName for SOURCE_DIR
* portVersionedName contains the secondary architecture,
  so using it means secondary package builds fail.
  example: $portVersionedName is libwow_x86-0.0.0 when
  doing an x86 build on x86_gcc2
2013-12-25 17:52:56 -06:00
Oliver Tappe
629867c017 Fix warning in our perl-MakeMaker platform module. 2013-10-16 16:26:11 +02:00
Oliver Tappe
00030aa4de Add automatic vendor modules suppport to perl.
* Adjust MakeMaker to automatically switch to vendor directories if
  HAIKU_USE_VENDOR_DIRECTORIES is set.
2013-10-15 21:38:29 +02:00
Oliver Tappe
dbe19c31ba Add arch-specific directory to GLOBAL_WRITABLE_FILES.
* We need to make sure the arch-specific site directory exists, as
  otherwise CPAN's initialization code will believe that it can't
  write to library directories and ask the user to pick a method of
  circumventing this.
2013-10-15 21:38:28 +02:00
Oliver Tappe
120bdddb06 Add patch to perl that adjusts CPAN's can_write_to_libdirs(). 2013-10-15 21:38:27 +02:00
Oliver Tappe
5f73e41ecf Upgrade perl to 5.18.1.
* perl-5.18.1 doesn't exhibit cpan-related problems seen with 5.10.1
* adjusted @INC such that perl modules installed to ~/config
  (or ~/config/non-packaged) are picked up by a perl installed
  into /system, too
* drop public libperl.so and link perl using an rpath instead
* no longer link every module built by ExtUtils::MakeMaker against
  libperl.so, as that isn't required for Haiku at all
* adjust ExtUtils::MakeMaker to not use -rpath when linking dynamic
  perl modules that require other libraries
2013-10-15 21:38:27 +02:00
Oliver Tappe
89d3ae6f21 Fix build of perl on x86_64:
* add x86_64 as supported architecture
* determine the correct archname via invocation of miniperl
2013-09-02 11:51:26 +02:00
Oliver Tappe
27d367d428 Add PATCHES where missing in recipes. 2013-08-25 13:33:05 +02:00