pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl58 Update perl to 5.8.4nb1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bcd14d88ac7d
branches:  trunk
changeset: 477034:bcd14d88ac7d
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Jun 25 17:41:47 2004 +0000

description:
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:

 lang/perl58/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r a961c6e2ed80 -r bcd14d88ac7d lang/perl58/Makefile
--- a/lang/perl58/Makefile      Fri Jun 25 17:25:01 2004 +0000
+++ b/lang/perl58/Makefile      Fri Jun 25 17:41:47 2004 +0000
@@ -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 @@
 .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.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



Home | Main Index | Thread Index | Old Index