Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= perl |
8 |
PORTNAME= perl |
9 |
PORTVERSION= ${PERL_VERSION} |
9 |
PORTVERSION= ${PERL_VERSION} |
10 |
PORTREVISION= 6 |
10 |
PORTREVISION= 7 |
11 |
CATEGORIES= lang devel perl5 |
11 |
CATEGORIES= lang devel perl5 |
12 |
MASTER_SITES= CPAN \ |
12 |
MASTER_SITES= CPAN \ |
13 |
${MASTER_SITE_LOCAL:S/$/:local/} \ |
13 |
${MASTER_SITE_LOCAL:S/$/:local/} \ |
Lines 34-39
Link Here
|
34 |
PERL_MALLOC "Use Perl malloc" off \ |
34 |
PERL_MALLOC "Use Perl malloc" off \ |
35 |
PERL_64BITINT "Use 64 bit integers (on i386)" on \ |
35 |
PERL_64BITINT "Use 64 bit integers (on i386)" on \ |
36 |
THREADS "Build threaded perl" off \ |
36 |
THREADS "Build threaded perl" off \ |
|
|
37 |
PTHREAD "Build with -pthread" on \ |
37 |
MULTIPLICITY "Use multiplicity" off \ |
38 |
MULTIPLICITY "Use multiplicity" off \ |
38 |
SUIDPERL "Build set-user-id suidperl binary" off \ |
39 |
SUIDPERL "Build set-user-id suidperl binary" off \ |
39 |
SITECUSTOMIZE "Run-time customization of @INC" off \ |
40 |
SITECUSTOMIZE "Run-time customization of @INC" off \ |
Lines 129-134
Link Here
|
129 |
#XXX .endif |
130 |
#XXX .endif |
130 |
CONFIGURE_ARGS+= -Dusethreads=y |
131 |
CONFIGURE_ARGS+= -Dusethreads=y |
131 |
PKGNAMESUFFIX= -threaded |
132 |
PKGNAMESUFFIX= -threaded |
|
|
133 |
WITH_PTHREAD= yes |
132 |
# it seems perl malloc has problems with threaded perl on FreeBSD |
134 |
# it seems perl malloc has problems with threaded perl on FreeBSD |
133 |
.undef WITH_PERL_MALLOC |
135 |
.undef WITH_PERL_MALLOC |
134 |
.else |
136 |
.else |
Lines 199-205
Link Here
|
199 |
${BSDPAN_WRKSRC}/ExtUtils/*.pm |
201 |
${BSDPAN_WRKSRC}/ExtUtils/*.pm |
200 |
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ |
202 |
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ |
201 |
${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh |
203 |
${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh |
202 |
.if defined(WITH_THREADS) |
204 |
.if defined(WITH_PTHREAD) |
203 |
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \ |
205 |
${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \ |
204 |
-e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \ |
206 |
-e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \ |
205 |
${WRKSRC}/hints/freebsd.sh |
207 |
${WRKSRC}/hints/freebsd.sh |