Index: lang/perl5.8/Makefile =================================================================== RCS file: /home/pcvs/ports/lang/perl5.8/Makefile,v retrieving revision 1.118 diff -u -u -r1.118 Makefile --- lang/perl5.8/Makefile 12 Sep 2011 13:46:54 -0000 1.118 +++ lang/perl5.8/Makefile 6 Jan 2012 19:33:38 -0000 @@ -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 @@ PERL_MALLOC "Use Perl malloc" on \ PERL_64BITINT "Use 64 bit integers (on i386)" on \ THREADS "Build threaded perl" off \ + PTHREAD "Build -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 @@ #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 @@ ${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 Index: lang/perl5.10/Makefile =================================================================== RCS file: /home/pcvs/ports/lang/perl5.10/Makefile,v retrieving revision 1.130 diff -u -u -r1.130 Makefile --- lang/perl5.10/Makefile 10 Nov 2011 10:28:25 -0000 1.130 +++ lang/perl5.10/Makefile 6 Jan 2012 19:33:38 -0000 @@ -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 @@ 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 @@ #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 @@ ${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 Index: lang/perl5.12/Makefile =================================================================== RCS file: /home/pcvs/ports/lang/perl5.12/Makefile,v retrieving revision 1.138 diff -u -u -r1.138 Makefile --- lang/perl5.12/Makefile 10 Nov 2011 10:28:25 -0000 1.138 +++ lang/perl5.12/Makefile 6 Jan 2012 19:33:38 -0000 @@ -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 @@ 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 @@ #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 @@ ${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 Index: lang/perl5.14/Makefile =================================================================== RCS file: /home/pcvs/ports/lang/perl5.14/Makefile,v retrieving revision 1.139 diff -u -u -r1.139 Makefile --- lang/perl5.14/Makefile 19 Dec 2011 19:36:46 -0000 1.139 +++ lang/perl5.14/Makefile 6 Jan 2012 19:33:38 -0000 @@ -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 @@ 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 @@ #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 @@ ${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