Commit graph

389 commits

Author SHA1 Message Date
Mathieu Arnold
0666402ee1
lang/perl5*: synchronize comments 2024-06-05 14:14:02 +02:00
Mathieu Arnold
0665211e12 lang/perl5-devel: update to 5.39.10
While there, switch to released tarballs
2024-05-25 15:30:03 +02:00
Muhammad Moinur Rahman
bbab7f59e9 */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
2023-12-31 01:37:05 +01:00
Tijl Coosemans
0b59b92764 lang/perl5*: Link with -pthread instead of -lpthread
During configure of security/p5-Crypt-GCrypt a test program is
compiled and run to test libgcrypt.  This program segfaults when perl5
is built with the THREADS option.  Libgcrypt links with libgpg-error
which has an init function which calls into libintl (gettext) which
calls pthread functions before libthr is initialised.

The compiler command line is provided by perl and it includes both
-pthread and -lpthread.  Patch perl to remove -lpthread.  With -pthread
the compiler will pass -lpthread to the linker such that it is
initialised early.

Discovered by the exp-run for gettext 0.22.

While here also remove -lc unconditionally and remove the code that
replaced it with -lc_r for old version of FreeBSD because the version
test is incorrect (missing a dot).  The -pthread flag already tells
the compiler to use -lc_r on those old versions.

PR:		272210
2023-07-11 22:10:58 +02:00
Mathieu Arnold
0624811656
lang/perl5-devel: update to latest commit 2023-07-07 15:34:27 +02:00
Mathieu Arnold
062338767e
lang/perl5-devel: update to latest commit
(cherry picked from commit 9bd6ffdcb83d03f14dd9075b0d8967fe094cba59)
2023-06-24 20:53:28 +02:00
Dimitry Andric
33b05a16fc lang/perl5*: remove workarounds for lld 15 and dtrace enabled
After https://cgit.freebsd.org/src/commit/?id=be39466a1035, there is no
need anymore to patch the perl5 Makefiles to add
"-Wl,--allow-multiple-definition" to the linker flags. They should now
link with lld 15 and later without any issues.

PR:		265516
Fixes:		8c69fc20e6
MFH:		2022Q4
2022-12-12 14:34:48 +01:00
Dimitry Andric
8c69fc20e6 lang/perl5*: alternative workaround for lld 15 and dtrace enabled
Modify the workaround committed in 4ae8ff941b by only adding
-Wl,--allow-multiple-definition to the two link command lines that
require it, instead of adding it to hints/freebsd.sh

Otherwise, that linker flag is emitted into perl's global configuration
(/usr/local/lib/perl5/5.xx/mach/Config_heavy.pl), and might be used by
other ports which link in libperl, such as www/mod_perl2, which cannot
correctly handle any unexpected linker flags, leading to errors.

PR:		265516
Reported by:	lev
Approved by:	maintainer timeout (1 month)
Fixes:		4ae8ff941b
MFH:		2022Q3
2022-09-21 22:26:53 +02:00
Dimitry Andric
4ae8ff941b lang/perl5*: work around duplicate symbol errors with lld 15 and dtrace enabled
Building any of the lang/perl5* ports with clang and lld 15, and the
DTRACE option enabled (which is default on) results in link errors
similar to:

    cc -pthread -Wl,-E  -fstack-protector-strong -L/usr/local/lib -o miniperl  mpdtrace/opmini.o mpdtrace/perlmini.o mpdtrace/universalmini.o mpdtrace/gv.o mpdtrace/toke.o mpdtrace/perly.o mpdtrace/pad.o mpdtrace/regcomp.o mpdtrace/dump.o mpdtrace/util.o mpdtrace/mg.o mpdtrace/reentr.o mpdtrace/mro_core.o mpdtrace/keywords.o mpdtrace/builtin.o mpdtrace/hv.o mpdtrace/av.o mpdtrace/run.o mpdtrace/pp_hot.o mpdtrace/sv.o mpdtrace/pp.o mpdtrace/scope.o mpdtrace/pp_ctl.o mpdtrace/pp_sys.o mpdtrace/doop.o mpdtrace/doio.o mpdtrace/regexec.o mpdtrace/utf8.o mpdtrace/taint.o mpdtrace/deb.o mpdtrace/globals.o mpdtrace/perlio.o mpdtrace/numeric.o mpdtrace/mathoms.o mpdtrace/locale.o mpdtrace/pp_pack.o mpdtrace/pp_sort.o mpdtrace/caretx.o mpdtrace/dquote.o mpdtrace/time64.o mpdtrace/miniperlmain.o dtrace_mini.o -lpthread -lm -lcrypt -lutil
    ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry
    >>> defined in mpdtrace/pp_hot.o
    >>> defined in mpdtrace/pp_sort.o

    ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry
    >>> defined in mpdtrace/pp_hot.o
    >>> defined in mpdtrace/regexec.o

    ld: error: duplicate symbol: __dtraceenabled_perl___op__entry
    >>> defined in mpdtrace/perlmini.o
    >>> defined in mpdtrace/run.o

    ld: error: duplicate symbol: __dtraceenabled_perl___op__entry
    >>> defined in mpdtrace/perlmini.o
    >>> defined in mpdtrace/dump.o

    ld: error: duplicate symbol: __dtraceenabled_perl___sub__entry
    >>> defined in mpdtrace/pp_hot.o
    >>> defined in mpdtrace/pp_ctl.o
    cc: error: linker command failed with exit code 1 (use -v to see invocation)

Work around these errors by allowing multiple definitions during
linking, using the --allow-multiple-definition linker flag. (Note: this
flag is also supported by GNU ld.)

PR:		265516
Approved by:	maintainer timeout (1 month)
MFH:		2022Q3
2022-09-19 20:54:14 +02:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Mathieu Arnold
189caff608
lang/perl5-devel: update to latest commit 2022-06-20 12:51:54 +02:00
Mathieu Arnold
10c0ba4383
lang/perl5-devel: update to v5.37.0-193-g7511199464 2022-06-14 14:12:23 +02:00
Mathieu Arnold
038304c7bf
lang/perl5-devel: update to v5.37.0-91-g975aa39f26 2022-06-01 14:17:47 +02:00
Mathieu Arnold
f28be269fa
lang/perl5-devel: add a small knit so I don't forget next year 2022-06-01 14:17:42 +02:00
Mathieu Arnold
dedac46dc8
lang/perl5-devel: Update to v5.35.10-86-g66f51c878f 2022-04-11 10:21:15 +02:00
Mathieu Arnold
bdbcd8d442
lang/perl5-devel: update to v5.35.10-49-ga3ccbff349 2022-04-04 09:08:44 +02:00
Mathieu Arnold
8a3724353c
lang/perl5-devel: update to v5.35.10-22-gf97596086d 2022-03-28 11:50:28 +02:00
Mathieu Arnold
ace362323d
lang/perl5-devel: update to v5.35.10-15-g7ddf4b5513 2022-03-24 18:02:10 +01:00
Mathieu Arnold
c2993d6835
lang/perl5-devel: update to v5.35.8-60-gafded0c3c2 2022-02-10 16:35:37 +01:00
Mathieu Arnold
1541c8d646
lang/perl5-devel: update to v5.35.4-102-ge43d289c7c 2021-10-11 17:09:48 +02:00
Rene Ladan
620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00
Mathieu Arnold
7f4b7cf97a
lang/perl5-devel: update to v5.35.4-44-ge36174629b 2021-09-27 15:14:44 +02:00
Mathieu Arnold
41dc4521fa
lang/perl5-devel: update to latest commit 2021-09-20 19:23:18 +02:00
Mathieu Arnold
79ec777c0e
lang/perl5-devel: Update to v5.35.1-99-g6cc408b0b0 2021-07-07 16:40:46 +02:00
Mathieu Arnold
faaeab3228
lang/perl5-devel: Update to v5.35.1-50-gfc0b7d587a 2021-06-28 17:10:48 +02:00
Mathieu Arnold
98d0a70261
lang/perl5-devel: Update to v5.35.1-20-gc5082864c7 2021-06-21 09:53:28 +02:00
Mathieu Arnold
8e209d22d4
lang/perl5-devel: Update to v5.35.0-138-g9b7a2e9a50 2021-06-15 10:59:01 +02:00
Piotr Kubaj
e4fa411860 lang/perl5-devel: enable DTRACE on powerpc 2021-06-10 12:13:07 +00:00
Mathieu Arnold
e3fa333615
lang/perl5-devel: Update to v5.35.0-115-g1c1bafd87b. 2021-06-07 10:21:21 +02:00
Mathieu Arnold
b7e879ef51
lang/perl5-devel: Update to v5.35.0-91-gfef07e7ee7. 2021-05-31 08:43:07 +02:00
Mathieu Arnold
0081349c71
lang/perl5-devel: Update to v5.35.0-68-gfd007c55e2. 2021-05-25 09:46:30 +02:00
Mathieu Arnold
05ed3e73e6
Update to v5.34.0-RC2-3-gf212efc79f. 2021-05-17 10:51:07 +02:00
Mathieu Arnold
29f583dca2
lang/perl5-devel: Update to v5.34.0-RC1-7-g1e43c13e1f. 2021-05-10 09:49:01 +02:00
Mathieu Arnold
ea82eb2b0d
Update to v5.33.9-19-gacd998d763. 2021-05-03 14:56:00 +02:00
Mathieu Arnold
0e379903e5
lang/perl5-devel: Update to v5.33.9-8-gcc442aa116. 2021-04-26 10:32:06 +02:00
Mathieu Arnold
9a956aba20
lang/perl5-devel: Update to v5.33.8-57-gebdbfbc13a. 2021-04-19 11:54:27 +02:00
Mathieu Arnold
fe2da27a69
Update to v5.33.8-32-g79bd11b047. 2021-04-12 17:38:37 +02:00
Mathieu Arnold
cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Mathieu Arnold
5e2685089f
lang/perl5-devel: Update to latest commit. 2021-04-06 11:39:23 +02:00
Mathieu Arnold
349ceaa80f Update to v5.33.8-12-g99155265b6. 2021-03-29 09:02:46 +00:00
Mathieu Arnold
0077fd048a Update to v5.33.8-8-g3e25f6d2dc. 2021-03-22 15:13:59 +00:00
Mathieu Arnold
2ba6eb3af7 Fix an obscure sed message while going through check-plist.
The obscure message being:
sed: 4: /tmp/sed_plist_sub.1i0ZNBB8: RE error: trailing backslash (\)

Thanks to:	kevans
2021-03-22 15:13:55 +00:00
Mathieu Arnold
62c3c4a301 Update to v5.33.7-42-gbbb5866436. 2021-03-15 16:09:34 +00:00
Mathieu Arnold
6d178a21ba Update to v5.33.7-24-ge00f60209b. 2021-03-08 12:53:22 +00:00
Mathieu Arnold
e19c1d0ce2 Update to v5.33.7-17-g5f41fa466a, 2021-03-01 17:17:10 +00:00
Mathieu Arnold
fedda1ccc7 Update to v5.33.7-10-g5d273abb14. 2021-02-22 15:33:26 +00:00
Mathieu Arnold
71c8df6d7a Update to v5.33.6-105-g397e6c111f 2021-02-15 13:03:25 +00:00
Mathieu Arnold
1539c99bb1 Update to v5.33.6-31-g8c5e15d0d7. 2021-02-01 15:44:40 +00:00