FreeBSD Bugzilla – Attachment 245347 Details for
Bug 274192
lang/perl5*: Drop threads option and always enable it
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for perl5
perl-threads.patch (text/plain), 4.82 KB, created by
Daniel Engberg
on 2023-10-01 08:00:25 UTC
(
hide
)
Description:
Patch for perl5
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2023-10-01 08:00:25 UTC
Size:
4.82 KB
patch
obsolete
>diff --git a/lang/perl5.34/Makefile b/lang/perl5.34/Makefile >index 7f9c6c0f7ce4..5e1b7a67f2f4 100644 >--- a/lang/perl5.34/Makefile >+++ b/lang/perl5.34/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= perl > DISTVERSION= ${PERL_VERSION} >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= lang devel perl5 > MASTER_SITES= CPAN/../../src/5.0 > DIST_SUBDIR= perl >@@ -50,6 +50,7 @@ CONFIGURE_ARGS= -Darchlib=${PREFIX}/${_ARCH_LIB} \ > -Dsiteman3dir=${SITE_MAN3} \ > -Dusenm=n \ > -Duseshrplib \ >+ -Dusethreads=y \ > -sde \ > -Ui_iconv \ > -Ui_malloc \ >@@ -127,8 +128,8 @@ PERLMANPREFIX= ${PREFIX}/${PERLMANPREFIX_REL} > MANDIRS= ${PERLMANPREFIX}/man > > OPTIONS_DEFINE= DEBUG DOT_INC DTRACE GDBM MULTIPLICITY PERL_64BITINT \ >- PERL_MALLOC SITECUSTOMIZE THREADS >-OPTIONS_DEFAULT= DTRACE MULTIPLICITY PERL_64BITINT THREADS >+ PERL_MALLOC SITECUSTOMIZE >+OPTIONS_DEFAULT= DTRACE MULTIPLICITY PERL_64BITINT > > .if !exists(/usr/sbin/dtrace) > OPTIONS_EXCLUDE= DTRACE >@@ -146,7 +147,6 @@ MULTIPLICITY_DESC= Use multiplicity > PERL_64BITINT_DESC= Use 64 bit integers (on i386) > PERL_MALLOC_DESC= Use Perl malloc > SITECUSTOMIZE_DESC= Run-time customization of @INC >-THREADS_DESC= Build threaded perl > > DEBUG_CONFIGURE_ON= -DDEBUGGING \ > -Doptimize="-g" >@@ -163,8 +163,6 @@ PERL_64BITINT_CONFIGURE_ON= -Duse64bitint > PERL_MALLOC_CONFIGURE_ON= -Dusemymalloc=y > PERL_MALLOC_CONFIGURE_OFF= -Dusemymalloc=n > SITECUSTOMIZE_CONFIGURE_ON= -Dusesitecustomize >-THREADS_CONFIGURE_ON= -Dusethreads=y >-THREADS_CONFIGURE_OFF= -Dusethreads=n > > # Why this is required is explained in: > # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227356#c5 >diff --git a/lang/perl5.36/Makefile b/lang/perl5.36/Makefile >index eacaa878d387..776ac6272987 100644 >--- a/lang/perl5.36/Makefile >+++ b/lang/perl5.36/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= perl > DISTVERSION= ${PERL_VERSION} >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= lang devel perl5 > MASTER_SITES= CPAN/../../src/5.0 > DIST_SUBDIR= perl >@@ -49,6 +49,7 @@ CONFIGURE_ARGS= -Accflags='-DUSE_THREAD_SAFE_LOCALE' \ > -Dsitelib=${SITE_PERL} \ > -Dsiteman1dir=${SITE_MAN1} \ > -Dsiteman3dir=${SITE_MAN3} \ >+ -Dusethreads=y \ > -Dusenm=n \ > -Duseshrplib \ > -sde \ >@@ -127,8 +128,8 @@ PERLMANPREFIX= ${PREFIX}/${PERLMANPREFIX_REL} > MANDIRS= ${PERLMANPREFIX}/man > > OPTIONS_DEFINE= DEBUG DOT_INC DTRACE GDBM MULTIPLICITY PERL_64BITINT \ >- PERL_MALLOC SITECUSTOMIZE THREADS >-OPTIONS_DEFAULT= DTRACE MULTIPLICITY PERL_64BITINT THREADS >+ PERL_MALLOC SITECUSTOMIZE >+OPTIONS_DEFAULT= DTRACE MULTIPLICITY PERL_64BITINT > > .if !exists(/usr/sbin/dtrace) > OPTIONS_EXCLUDE= DTRACE >@@ -146,7 +147,6 @@ MULTIPLICITY_DESC= Use multiplicity > PERL_64BITINT_DESC= Use 64 bit integers (on i386) > PERL_MALLOC_DESC= Use Perl malloc > SITECUSTOMIZE_DESC= Run-time customization of @INC >-THREADS_DESC= Build threaded perl > > DEBUG_CONFIGURE_ON= -DDEBUGGING \ > -Doptimize="-g" >@@ -163,8 +163,6 @@ PERL_64BITINT_CONFIGURE_ON= -Duse64bitint > PERL_MALLOC_CONFIGURE_ON= -Dusemymalloc=y > PERL_MALLOC_CONFIGURE_OFF= -Dusemymalloc=n > SITECUSTOMIZE_CONFIGURE_ON= -Dusesitecustomize >-THREADS_CONFIGURE_ON= -Dusethreads=y >-THREADS_CONFIGURE_OFF= -Dusethreads=n > > # Why this is required is explained in: > # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227356#c5 >diff --git a/lang/perl5.38/Makefile b/lang/perl5.38/Makefile >index cf0ea90b5f2e..99975878237f 100644 >--- a/lang/perl5.38/Makefile >+++ b/lang/perl5.38/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= perl > DISTVERSION= ${PERL_VERSION} >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= lang devel perl5 > MASTER_SITES= CPAN/../../src/5.0 > DIST_SUBDIR= perl >@@ -48,6 +48,7 @@ CONFIGURE_ARGS= -Darchlib=${PREFIX}/${_ARCH_LIB} \ > -Dsitelib=${SITE_PERL} \ > -Dsiteman1dir=${SITE_MAN1} \ > -Dsiteman3dir=${SITE_MAN3} \ >+ -Dusethreads=y \ > -Dusenm=n \ > -Duseshrplib \ > -sde \ >@@ -126,8 +127,8 @@ PERLMANPREFIX= ${PREFIX}/${PERLMANPREFIX_REL} > MANDIRS= ${PERLMANPREFIX}/man > > OPTIONS_DEFINE= DEBUG DOT_INC DTRACE GDBM MULTIPLICITY PERL_64BITINT \ >- PERL_MALLOC SITECUSTOMIZE THREADS >-OPTIONS_DEFAULT= DTRACE MULTIPLICITY PERL_64BITINT THREADS >+ PERL_MALLOC SITECUSTOMIZE >+OPTIONS_DEFAULT= DTRACE MULTIPLICITY PERL_64BITINT > > .if !exists(/usr/sbin/dtrace) > OPTIONS_EXCLUDE= DTRACE >@@ -145,7 +146,6 @@ MULTIPLICITY_DESC= Use multiplicity > PERL_64BITINT_DESC= Use 64 bit integers (on i386) > PERL_MALLOC_DESC= Use Perl malloc > SITECUSTOMIZE_DESC= Run-time customization of @INC >-THREADS_DESC= Build threaded perl > > DEBUG_CONFIGURE_ON= -DDEBUGGING \ > -Doptimize="-g" >@@ -162,8 +162,6 @@ PERL_64BITINT_CONFIGURE_ON= -Duse64bitint > PERL_MALLOC_CONFIGURE_ON= -Dusemymalloc=y > PERL_MALLOC_CONFIGURE_OFF= -Dusemymalloc=n > SITECUSTOMIZE_CONFIGURE_ON= -Dusesitecustomize >-THREADS_CONFIGURE_ON= -Dusethreads=y >-THREADS_CONFIGURE_OFF= -Dusethreads=n > > # Why this is required is explained in: > # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227356#c5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274192
: 245347