devel/p5-threads: remove antique port

The threads module has been part of Perl core since 5.7.3. The version
in ports is very old (from 5.27.8), and does not see releases.
This commit is contained in:
Mathieu Arnold 2025-04-24 16:41:11 +02:00
parent 5fc97f350e
commit 070366381b
No known key found for this signature in database
GPG key ID: 7F620E0A9E9D41BE
7 changed files with 2 additions and 51 deletions

1
MOVED
View file

@ -4325,3 +4325,4 @@ graphics/linux-rl9-tiff|graphics/linux-rl9-imageformats-libs|2025-04-21|Merged i
graphics/linux-rl9-openjpeg|graphics/linux-rl9-imageformats-libs|2025-04-21|Merged into imageformats-libs
graphics/linux-rl9-webp|graphics/linux-rl9-imageformats-libs|2025-04-21|Merged into imageformats-libs
textproc/py-grapheme||2025-04-21|Has expired: Upstream is inactive for 4 years
devel/p5-threads|lang/perl5.36|2025-04-24|part of Perl core since 5.7.3, the port was from 5.27.8

View file

@ -4018,7 +4018,6 @@
SUBDIR += p5-subversion
SUBDIR += p5-superclass
SUBDIR += p5-syntax
SUBDIR += p5-threads
SUBDIR += p5-threads-shared
SUBDIR += p5-true
SUBDIR += p5-uni-perl

View file

@ -1,6 +1,6 @@
PORTNAME= Thread-Cancel
PORTVERSION= 1.13
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -9,9 +9,6 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Cancel (i.e., kill) threads
WWW= https://metacpan.org/release/Thread-Cancel
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-threads>=1.34:devel/p5-threads
USES= perl5
USE_PERL5= configure

View file

@ -1,21 +0,0 @@
PORTNAME= threads
PORTVERSION= 2.21
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:JDHEDDEN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl interpreter-based threads
WWW= https://metacpan.org/release/threads
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/threads/threads.so
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
TIMESTAMP = 1516713265
SHA256 (threads-2.21.tar.gz) = 28394c98a2bcae6f20ffb8a3d965a1c194b764c650169e2050ee38dbaa10f110
SIZE (threads-2.21.tar.gz) = 113446

View file

@ -1,19 +0,0 @@
Perl 5.6 introduced something called interpreter threads. Interpreter
threads are different from 5005threads (the thread model of Perl 5.005)
by creating a new Perl interpreter per thread, and not sharing any
data or state between threads by default.
Prior to Perl 5.8, this has only been available to people embedding
Perl, and for emulating fork() on Windows.
The threads API is loosely based on the old Thread.pm API. It is very
important to note that variables are not shared between threads, all
variables are by default thread local. To use shared variables one
must use threads::shared.
It is also important to note that you must enable threads by doing use
threads as early as possible in the script itself, and that it is not
possible to enable threading inside an eval "", do, require, or use.
In particular, if you are intending to share variables with
threads::shared, you must use threads before you use threads::shared.
(threads will emit a warning if you do it the other way around.)

View file

@ -1,3 +0,0 @@
%%SITE_ARCH%%/auto/threads/threads.so
%%SITE_ARCH%%/threads.pm
%%PERL5_MAN3%%/threads.3.gz