diff options
author | jlam <jlam@pkgsrc.org> | 2004-11-25 22:02:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-11-25 22:02:49 +0000 |
commit | b0427900c82e3ba633b145fe510ed03552b5d34e (patch) | |
tree | 0b99f0bca41418495bdcbc76b966151e3ed1cefe /mk/bsd.pkg.mk | |
parent | da7546fb87bbf4836639fecac227efe12809675f (diff) | |
download | pkgsrc-b0427900c82e3ba633b145fe510ed03552b5d34e.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/bsd.pkg.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 |