diff options
author | jlam <jlam> | 2004-11-25 22:02:49 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-11-25 22:02:49 +0000 |
commit | 8762e85b0524a50c70943e418af811d2569d4281 (patch) | |
tree | 0b99f0bca41418495bdcbc76b966151e3ed1cefe /mk | |
parent | cc2092d70b38fbb8206f8ecd021dce2f03757651 (diff) | |
download | pkgsrc-8762e85b0524a50c70943e418af811d2569d4281.tar.gz |
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".
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 12 |
1 files changed, 1 insertions, 11 deletions
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 |