diff options
author | abs <abs@pkgsrc.org> | 2004-06-25 17:41:47 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2004-06-25 17:41:47 +0000 |
commit | 7cd5375a526f3be50ebce6efb336e024615d137b (patch) | |
tree | 148fb6826ef4eb27687fdb53144f017e334efd51 /lang | |
parent | fa20d9dd3bc71b94eacde4314d89a1e669578a7f (diff) | |
download | pkgsrc-7cd5375a526f3be50ebce6efb336e024615d137b.tar.gz |
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.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl58/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
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 |