From 8762e85b0524a50c70943e418af811d2569d4281 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 25 Nov 2004 22:02:49 +0000 Subject: Perl is all about loadable perl modules, so include dlopen.buildlink3.mk. If we include pthread.buildlink3.mk, then build with Perl ithreads support. Bump the PKGREVISION. Nuke the perl58-thread package. The perl package can now be forcibly built with thread support by setting PERL5_USE_THREADS to "yes". --- mk/bsd.pkg.mk | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index ca3c7f77859..bcd14e8d387 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1541 2004/11/25 21:33:36 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1542 2004/11/25 22:02:49 jlam Exp $ # # This file is in the public domain. # @@ -306,17 +306,7 @@ USE_PERL5:= run _PERL5_DEPMETHOD= DEPENDS . endif _PERL5_DEPENDS= {perl>=${_PERL5_REQD},perl-thread>=${_PERL5_REQD}} -# -# On platforms that have native pthreads, default to installing the -# threaded perl. This can be overridden by explicitly setting -# PERL5_USE_THREADS. -# -. if exists(/usr/include/pthread.h) && \ - !empty(PREFER_NATIVE_PTHREADS:M[yY][eE][sS]) -PERL5_PKGSRCDIR?= ../../lang/perl58-thread -. else PERL5_PKGSRCDIR?= ../../lang/perl58 -. endif . if !defined(BUILDLINK_DEPENDS.perl) ${_PERL5_DEPMETHOD}+= ${_PERL5_DEPENDS}:${PERL5_PKGSRCDIR} . endif -- cgit v1.2.3