From 7cd5375a526f3be50ebce6efb336e024615d137b Mon Sep 17 00:00:00 2001 From: abs Date: Fri, 25 Jun 2004 17:41:47 +0000 Subject: Update perl to 5.8.4nb1 On >= NetBSD 2.0, if PERL5_USE_THREADS is _not_ defined, add pthread to libs. This does not make perl threaded, but permits it to link against libraries which are. This makes p5-GD (which pulls in threaded freetype) work again. --- lang/perl58/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lang') diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile index 9e7c142577a..4fe5b87c20a 100644 --- a/lang/perl58/Makefile +++ b/lang/perl58/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.46 2004/06/17 16:07:25 xtraeme Exp $ +# $NetBSD: Makefile,v 1.47 2004/06/25 17:41:47 abs Exp $ # The following two variables should have empty values unless we're # building a perl snapshot or release candidate. @@ -9,7 +9,7 @@ PERL5_RC_VERS= # empty .if empty(PERL5_SNAPSHOT) && empty(PERL5_RC_VERS) DISTNAME= perl-${PERL5_VERS} PKGNAME= perl${PERL5_PKGSUFFIX}-${PERL5_VERS} -PKGREVISION= # empty +PKGREVISION= 1 SNAPSHOT_SITES= # empty .else . if !empty(PERL5_SNAPSHOT) @@ -144,6 +144,10 @@ LIBSWANTED.FreeBSD= m crypt LIBSWANTED.IRIX= m crypt LIBSWANTED.NetBSD= m crypt LIBSWANTED.SunOS= m crypt dl socket nsl +. if !empty(PERL5_USE_THREADS:M[nN][oO]) && \ + !empty(MACHINE_PLATFORM:MNetBSD-[2-9]*-i386) +LIBSWANTED.NetBSD+= pthread +. endif # Nail down the directories in which the system libraries may be found. # If this isn't defined, then use the perl defaults for the particular -- cgit v1.2.3