mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Add option to build with -pthread, default to on. Note this is not the same
as threaded perl. PR: ports/163878 Submitted by: swills (myself) Approved by: portmgr (erwin) Discussed with: tobez With hat: perl@
This commit is contained in:
parent
19f927ddd9
commit
24e120163b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291382
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= perl
|
||||
PORTVERSION= ${PERL_VERSION}
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= lang devel perl5
|
||||
MASTER_SITES= CPAN \
|
||||
${MASTER_SITE_LOCAL:S/$/:local/} \
|
||||
@ -34,6 +34,7 @@ OPTIONS= DEBUGGING "Build with debugging support" off \
|
||||
PERL_MALLOC "Use Perl malloc" off \
|
||||
PERL_64BITINT "Use 64 bit integers (on i386)" on \
|
||||
THREADS "Build threaded perl" off \
|
||||
PTHREAD "Build with -pthread" on \
|
||||
MULTIPLICITY "Use multiplicity" off \
|
||||
SUIDPERL "Build set-user-id suidperl binary" off \
|
||||
SITECUSTOMIZE "Run-time customization of @INC" off \
|
||||
@ -129,6 +130,7 @@ WITH_PERL_MALLOC= yes
|
||||
#XXX .endif
|
||||
CONFIGURE_ARGS+= -Dusethreads=y
|
||||
PKGNAMESUFFIX= -threaded
|
||||
WITH_PTHREAD= yes
|
||||
# it seems perl malloc has problems with threaded perl on FreeBSD
|
||||
.undef WITH_PERL_MALLOC
|
||||
.else
|
||||
@ -199,7 +201,7 @@ post-patch:
|
||||
${BSDPAN_WRKSRC}/ExtUtils/*.pm
|
||||
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
||||
${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
|
||||
.if defined(WITH_THREADS)
|
||||
.if defined(WITH_PTHREAD)
|
||||
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \
|
||||
-e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \
|
||||
${WRKSRC}/hints/freebsd.sh
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= perl
|
||||
PORTVERSION= ${PERL_VERSION}
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= lang devel perl5
|
||||
MASTER_SITES= CPAN \
|
||||
${MASTER_SITE_LOCAL:S/$/:local/} \
|
||||
@ -33,6 +33,7 @@ OPTIONS= DEBUGGING "Build with debugging support" off \
|
||||
PERL_MALLOC "Use Perl malloc" off \
|
||||
PERL_64BITINT "Use 64 bit integers (on i386)" on \
|
||||
THREADS "Build threaded perl" off \
|
||||
PTHREAD "Build with -pthread" on \
|
||||
MULTIPLICITY "Use multiplicity" off \
|
||||
SITECUSTOMIZE "Run-time customization of @INC" off \
|
||||
USE_PERL "Rewrite links in /usr/bin" on
|
||||
@ -119,6 +120,7 @@ WITH_PERL_MALLOC= yes
|
||||
#XXX .endif
|
||||
CONFIGURE_ARGS+= -Dusethreads=y
|
||||
PKGNAMESUFFIX= -threaded
|
||||
WITH_PTHREAD= yes
|
||||
# it seems perl malloc has problems with threaded perl on FreeBSD
|
||||
.undef WITH_PERL_MALLOC
|
||||
.else
|
||||
@ -189,7 +191,7 @@ post-patch:
|
||||
${BSDPAN_WRKSRC}/ExtUtils/*.pm
|
||||
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
||||
${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
|
||||
.if defined(WITH_THREADS)
|
||||
.if defined(WITH_PTHREAD)
|
||||
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \
|
||||
-e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \
|
||||
${WRKSRC}/hints/freebsd.sh
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= perl
|
||||
PORTVERSION= ${PERL_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang devel perl5
|
||||
MASTER_SITES= CPAN \
|
||||
${MASTER_SITE_LOCAL:S/$/:local/} \
|
||||
@ -32,6 +33,7 @@ OPTIONS= DEBUGGING "Build with debugging support" off \
|
||||
PERL_MALLOC "Use Perl malloc" off \
|
||||
PERL_64BITINT "Use 64 bit integers (on i386)" on \
|
||||
THREADS "Build threaded perl" off \
|
||||
PTHREAD "Build with -pthread" on \
|
||||
MULTIPLICITY "Use multiplicity" off \
|
||||
SITECUSTOMIZE "Run-time customization of @INC" off \
|
||||
USE_PERL "Rewrite links in /usr/bin" on
|
||||
@ -118,6 +120,7 @@ WITH_PERL_MALLOC= yes
|
||||
#XXX .endif
|
||||
CONFIGURE_ARGS+= -Dusethreads=y
|
||||
PKGNAMESUFFIX= -threaded
|
||||
WITH_PTHREAD= yes
|
||||
# it seems perl malloc has problems with threaded perl on FreeBSD
|
||||
.undef WITH_PERL_MALLOC
|
||||
.else
|
||||
@ -188,7 +191,7 @@ post-patch:
|
||||
${BSDPAN_WRKSRC}/ExtUtils/*.pm
|
||||
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
||||
${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
|
||||
.if defined(WITH_THREADS)
|
||||
.if defined(WITH_PTHREAD)
|
||||
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \
|
||||
-e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \
|
||||
${WRKSRC}/hints/freebsd.sh
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= perl
|
||||
PORTVERSION= ${PERL_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang devel perl5
|
||||
MASTER_SITES= CPAN \
|
||||
${MASTER_SITE_LOCAL:S/$/:local/} \
|
||||
@ -32,6 +33,7 @@ OPTIONS= DEBUGGING "Build with debugging support" off \
|
||||
PERL_MALLOC "Use Perl malloc" off \
|
||||
PERL_64BITINT "Use 64 bit integers (on i386)" on \
|
||||
THREADS "Build threaded perl" off \
|
||||
PTHREAD "Build with -pthread" on \
|
||||
MULTIPLICITY "Use multiplicity" off \
|
||||
SITECUSTOMIZE "Run-time customization of @INC" off \
|
||||
USE_PERL "Rewrite links in /usr/bin" on
|
||||
@ -118,6 +120,7 @@ WITH_PERL_MALLOC= yes
|
||||
#XXX .endif
|
||||
CONFIGURE_ARGS+= -Dusethreads=y
|
||||
PKGNAMESUFFIX= -threaded
|
||||
WITH_PTHREAD= yes
|
||||
# it seems perl malloc has problems with threaded perl on FreeBSD
|
||||
.undef WITH_PERL_MALLOC
|
||||
.else
|
||||
@ -188,7 +191,7 @@ post-patch:
|
||||
${BSDPAN_WRKSRC}/ExtUtils/*.pm
|
||||
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
||||
${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
|
||||
.if defined(WITH_THREADS)
|
||||
.if defined(WITH_PTHREAD)
|
||||
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \
|
||||
-e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \
|
||||
${WRKSRC}/hints/freebsd.sh
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= perl
|
||||
PORTVERSION= ${PERL_VERSION}
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= lang devel perl5
|
||||
MASTER_SITES= CPAN \
|
||||
${MASTER_SITE_LOCAL:S/$/:local/} \
|
||||
@ -37,6 +37,7 @@ OPTIONS= DEBUGGING "Build with debugging support" off \
|
||||
PERL_MALLOC "Use Perl malloc" on \
|
||||
PERL_64BITINT "Use 64 bit integers (on i386)" on \
|
||||
THREADS "Build threaded perl" off \
|
||||
PTHREAD "Build with -pthread" on \
|
||||
SUIDPERL "Build set-user-id suidperl binary" off \
|
||||
SITECUSTOMIZE "Run-time customization of @INC" off \
|
||||
USE_PERL "Rewrite links in /usr/bin" on
|
||||
@ -131,6 +132,7 @@ WITH_PERL_MALLOC= yes
|
||||
#XXX .endif
|
||||
CONFIGURE_ARGS+= -Dusethreads=y
|
||||
PKGNAMESUFFIX= -threaded
|
||||
WITH_PTHREAD= yes
|
||||
# it seems perl malloc has problems with threaded perl on FreeBSD
|
||||
.undef WITH_PERL_MALLOC
|
||||
.else
|
||||
@ -198,7 +200,7 @@ post-patch:
|
||||
${BSDPAN_WRKSRC}/ExtUtils/*.pm
|
||||
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
|
||||
${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
|
||||
.if defined(WITH_THREADS)
|
||||
.if defined(WITH_PTHREAD)
|
||||
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \
|
||||
-e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \
|
||||
${WRKSRC}/hints/freebsd.sh
|
||||
|
Loading…
Reference in New Issue
Block a user