summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2002-07-24 19:45:22 +0000
committerjlam <jlam>2002-07-24 19:45:22 +0000
commit04ed2224a3ecc359d5c85084b1f05f4629638190 (patch)
tree8d3205091ef102f873815aafda1fc32447c8b6c2
parentad86dcc72c2c3be7128b76a6d1b3884fa7b1e1b7 (diff)
downloadpkgsrc-04ed2224a3ecc359d5c85084b1f05f4629638190.tar.gz
Change explicit build dependencies on perl into "USE_PERL5=build". This
makes these packages build correctly on Darwin where perl>=5.8.0 is required.
-rw-r--r--audio/arts/Makefile4
-rw-r--r--cad/dinotrace/Makefile5
-rw-r--r--comms/esms/Makefile5
-rw-r--r--comms/pilotmgr/Makefile4
-rw-r--r--cross/i386-mingw32/Makefile4
-rw-r--r--databases/p5-MLDBM/Makefile4
-rw-r--r--devel/libgtop/Makefile4
-rw-r--r--devel/nasm-devel/Makefile5
-rw-r--r--devel/ptl2/Makefile5
-rw-r--r--devel/rpc2/Makefile5
-rw-r--r--fonts/jisx0208fonts/Makefile4
-rw-r--r--graphics/gri/Makefile4
-rw-r--r--graphics/plplot/Makefile4
-rw-r--r--lang/moscow_ml/Makefile4
-rw-r--r--mail/courier-maildirmake/Makefile4
-rw-r--r--mail/maildrop/Makefile4
-rw-r--r--misc/kanjipad/Makefile4
-rw-r--r--net/ethereal/Makefile4
-rw-r--r--net/freewais-sf/Makefile5
-rw-r--r--net/md-whois/Makefile4
-rw-r--r--net/p5-Net-Daemon/Makefile4
-rw-r--r--net/wget/Makefile4
-rw-r--r--security/openssh/Makefile4
-rw-r--r--security/openssl/Makefile4
-rw-r--r--security/pgp5/Makefile4
-rw-r--r--security/zebedee/Makefile5
-rw-r--r--sysutils/lavaps/Makefile4
-rw-r--r--sysutils/rconfig/Makefile5
-rw-r--r--sysutils/sh-utils/Makefile5
-rw-r--r--sysutils/xps/Makefile5
-rw-r--r--textproc/openjade/Makefile3
-rw-r--r--textproc/opensp/Makefile4
-rw-r--r--textproc/textutils/Makefile5
-rw-r--r--www/ap-auth-cookie/Makefile5
-rw-r--r--www/ap-auth-postgresql/Makefile5
-rw-r--r--www/ap-csacek/Makefile5
-rw-r--r--www/ap-fastcgi/Makefile5
-rw-r--r--www/ap-gzip/Makefile5
-rw-r--r--www/ap-jk/Makefile5
-rw-r--r--www/ap-jserv/Makefile5
-rw-r--r--www/ap-layout/Makefile5
-rw-r--r--www/ap-mp3/Makefile5
-rw-r--r--www/ap-xslt/Makefile5
-rw-r--r--www/libwww/Makefile4
-rw-r--r--www/mozilla/Makefile4
-rw-r--r--www/php3/Makefile4
-rw-r--r--www/php3/Makefile.module5
-rw-r--r--www/quanta/Makefile4
-rw-r--r--www/squid/Makefile4
-rw-r--r--x11/gnome--/Makefile5
-rw-r--r--x11/gtk--/Makefile4
-rw-r--r--x11/gtk/Makefile4
52 files changed, 107 insertions, 123 deletions
diff --git a/audio/arts/Makefile b/audio/arts/Makefile
index cd7c6f177c2..a07faeb92e8 100644
--- a/audio/arts/Makefile
+++ b/audio/arts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/07/17 07:54:03 skrll Exp $
+# $NetBSD: Makefile,v 1.4 2002/07/24 19:45:22 jlam Exp $
DISTNAME= arts-1.0.2
CATEGORIES= audio
@@ -12,7 +12,7 @@ USE_BUILDLINK_ONLY= yes
LIBTOOL_OVERRIDE+= ${WRKSRC}/libltdl/libtool
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
USE_PTHREAD= native pth-syscall
.include "../../mk/bsd.prefs.mk"
diff --git a/cad/dinotrace/Makefile b/cad/dinotrace/Makefile
index ab7d84887b7..b51c1a3ff16 100644
--- a/cad/dinotrace/Makefile
+++ b/cad/dinotrace/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2002/04/23 02:08:51 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2002/07/24 19:45:22 jlam Exp $
#
DISTNAME= dinotrace-9.1g
@@ -9,13 +9,12 @@ MAINTAINER= dmcmahill@netbsd.org
HOMEPAGE= http://www.veripool.com/dinotrace/
COMMENT= tool for viewing the output of digital simulators
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
-
INFO_FILES= dinotrace.info
USE_BUILDLINK_ONLY= YES
USE_X11BASE= YES
GNU_CONFIGURE= YES
+USE_PERL5= build
.include "../../mk/motif.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
diff --git a/comms/esms/Makefile b/comms/esms/Makefile
index 19e34501302..4859ba64e49 100644
--- a/comms/esms/Makefile
+++ b/comms/esms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/06/17 20:00:36 tron Exp $
+# $NetBSD: Makefile,v 1.2 2002/07/24 19:45:22 jlam Exp $
DISTNAME= esms-0.9.5
CATEGORIES= comms
@@ -8,13 +8,14 @@ MAINTAINER= jmmv@hispabsd.org
HOMEPAGE= http://esms.sourceforge.net/
COMMENT= Command line SMS send tool
-DEPENDS+= perl>=5.6.1:../../lang/perl5
DEPENDS+= p5-libwww>=5.64:../../www/p5-libwww
DEPENDS+= p5-HTML-Parser>=3.25:../../www/p5-HTML-Parser
DEPENDS+= p5-HTML-Tree>=3.11:../../www/p5-HTML-Tree
GNU_CONFIGURE= YES
+USE_PERL5= YES
+PERL5_REQD?= 5.6.1
REPLACE_PERL= esms
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/pilotmgr/Makefile b/comms/pilotmgr/Makefile
index 8ac82cf9949..8a7000dd58b 100644
--- a/comms/pilotmgr/Makefile
+++ b/comms/pilotmgr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2002/03/23 15:28:58 magick Exp $
+# $NetBSD: Makefile,v 1.19 2002/07/24 19:45:22 jlam Exp $
DISTNAME= pilotmgr-1.107p2
PKGNAME= pilotmgr-1.107.2
@@ -11,7 +11,7 @@ MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.moshpit.org/pilotmgr/
COMMENT= synchronize databases on any 3Com Palm device
-DEPENDS+= {p5-Data-Dumper-[0-9]*,perl>=5.6.1nb2}:../../lang/perl5
+DEPENDS+= {p5-Data-Dumper-[0-9]*,perl>=5.6.1nb2}:${PERL5_PKGSRCDIR}
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
DEPENDS+= p5-Tk-[0-9]*:../../x11/p5-Tk
DEPENDS+= p5-pilot-link-[0-9]*:../p5-pilot-link
diff --git a/cross/i386-mingw32/Makefile b/cross/i386-mingw32/Makefile
index 35184b76155..5cc584ecd8c 100644
--- a/cross/i386-mingw32/Makefile
+++ b/cross/i386-mingw32/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/05/12 10:16:46 abs Exp $
+# $NetBSD: Makefile,v 1.9 2002/07/24 19:45:22 jlam Exp $
DISTNAME= cross-${TARGET_ARCH}-1.2
PKGREVISION= 3
@@ -25,7 +25,7 @@ MINGW_WRKSRC= ${WRKDIR}/mingw-runtime-1.2
CROSS_DISTFILES+= w32api-1.2-src.tar.gz
W32_WRKSRC= ${WRKDIR}/w32api-1.2
USE_GMAKE= yes
-BUILD_DEPENDS+= perl-[0-9]*:../../lang/perl5
+USE_PERL5= build
AS_FOR_TARGET= ${BINUTILS_WRKSRC}/gas/as-new
AR_FOR_TARGET= ${BINUTILS_WRKSRC}/binutils/ar
diff --git a/databases/p5-MLDBM/Makefile b/databases/p5-MLDBM/Makefile
index 8a479582f48..ffa4256b6f1 100644
--- a/databases/p5-MLDBM/Makefile
+++ b/databases/p5-MLDBM/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/11/26 06:49:42 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2002/07/24 19:45:23 jlam Exp $
#
DISTNAME= MLDBM-2.00
@@ -11,7 +11,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/MLDBM/MLDBM.html
COMMENT= perl5 module for storing arbitrary data in tied hashes
-DEPENDS+= {p5-Data-Dumper-[0-9]*,perl>=5.6.1nb2}:../../lang/perl5
+DEPENDS+= {p5-Data-Dumper-[0-9]*,perl>=5.6.1nb2}:${PERL5_PKGSRCDIR}
USE_BUILDLINK_ONLY= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/MLDBM/.packlist
diff --git a/devel/libgtop/Makefile b/devel/libgtop/Makefile
index cca59f6800f..8ee9c0850f7 100644
--- a/devel/libgtop/Makefile
+++ b/devel/libgtop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2002/03/13 17:36:51 fredb Exp $
+# $NetBSD: Makefile,v 1.60 2002/07/24 19:45:23 jlam Exp $
DISTNAME= libgtop-1.0.12
PKGREVISION= 2
@@ -9,7 +9,7 @@ MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.home-of-linux.org/gnome/libgtop/
COMMENT= library to retrieve system information, used in GNOME
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
BUILD_USES_MSGFMT= yes
DEPENDS+= gnome-libs>=1.4.1.2nb1:../../x11/gnome-libs
DEPENDS+= guile-[0-9]*:../../lang/guile
diff --git a/devel/nasm-devel/Makefile b/devel/nasm-devel/Makefile
index cbd039c35df..de5974b1ebf 100644
--- a/devel/nasm-devel/Makefile
+++ b/devel/nasm-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/05/21 12:24:13 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2002/07/24 19:45:23 jlam Exp $
#
DISTNAME= nasm-0.98.08
@@ -9,10 +9,9 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://nasm.2y.net/
COMMENT= General-purpose x86 assembler (development version)
-BUILD_DEPENDS+= perl>=5.0:../../lang/perl5
-
INSTALL_TARGET= install_everything
USE_GMAKE= yes
+USE_PERL5= build
INFO_FILES= nasm.info
TEXINFO_OVERRIDE= YES
TEXINFO_PATTERNS+= Makefile
diff --git a/devel/ptl2/Makefile b/devel/ptl2/Makefile
index ecf9266fc22..b257b9a74dd 100644
--- a/devel/ptl2/Makefile
+++ b/devel/ptl2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2002/03/28 12:12:31 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.37 2002/07/24 19:45:23 jlam Exp $
DISTNAME= PTL-2.1.8
PKGNAME= ptl-2.1.8
@@ -11,9 +11,8 @@ MAINTAINER= msaitoh@netbsd.org
HOMEPAGE= http://www.media.osaka-cu.ac.jp/~k-abe/PTL/
COMMENT= Portable user-level Thread Library 2 written by Kota Abe
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
-
USE_BUILDLINK_ONLY= YES
+USE_PERL5= build
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
PLIST_SRC= ${WRKDIR}/PLIST
diff --git a/devel/rpc2/Makefile b/devel/rpc2/Makefile
index 013a281ca32..8b81cf548c4 100644
--- a/devel/rpc2/Makefile
+++ b/devel/rpc2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2002/06/20 19:28:01 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2002/07/24 19:45:23 jlam Exp $
#
DISTNAME= rpc2-1.13
@@ -10,9 +10,8 @@ MAINTAINER= phil@cs.wwu.edu
HOMEPAGE= http://www.coda.cs.cmu.edu/
COMMENT= CMU (Coda) remote procedure call package
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
-
GNU_CONFIGURE= YES
+USE_PERL5= build
USE_LIBTOOL= YES
USE_GMAKE= YES
USE_BUILDLINK_ONLY= YES
diff --git a/fonts/jisx0208fonts/Makefile b/fonts/jisx0208fonts/Makefile
index 25d8b9f9cf1..39db21258dc 100644
--- a/fonts/jisx0208fonts/Makefile
+++ b/fonts/jisx0208fonts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/04/30 04:16:09 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2002/07/24 19:45:24 jlam Exp $
#
DISTNAME= jisx0208fonts-20010112
@@ -54,7 +54,7 @@ PLIST_SRC+= ${PKGDIR}/PLIST.shinonome
SHINONOME_CONFIGURE_ENV=${CONFIGURE_ENV} PERL="${PERL5}"
SHINONOME_CONFIGURE_ARGS=${CONFIGURE_ARGS} --with-fontdir=${FONTDIR} --disable-progressbar
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
.endif
MASTER_SITES+= ftp://ftp.jaist.ac.jp/pub/misc/character/fonts/kappa/
diff --git a/graphics/gri/Makefile b/graphics/gri/Makefile
index 48b9148d081..08d07ab789e 100644
--- a/graphics/gri/Makefile
+++ b/graphics/gri/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/05/03 23:45:10 jtb Exp $
+# $NetBSD: Makefile,v 1.2 2002/07/24 19:45:24 jlam Exp $
DISTNAME= gri-2.8.7
CATEGORIES= graphics
@@ -10,7 +10,6 @@ HOMEPAGE= http://gri.sourceforge.net
COMMENT= language for scientific graphics applications
BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
BUILD_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
BUILD_DEPENDS+= ghostscript-[6-9]*:../../print/ghostscript
@@ -18,6 +17,7 @@ GNU_CONFIGURE= # defined
USE_GMAKE= # defined
USE_BUILDLINK_ONLY= # defined
INFO_FILES= gri.info
+USE_PERL5= build
REPLACE_PERL= ${WRKSRC}/gri_merge ${WRKSRC}/gri_unpage
pre-configure:
diff --git a/graphics/plplot/Makefile b/graphics/plplot/Makefile
index bf5290d96e4..2eb95dd3ec8 100644
--- a/graphics/plplot/Makefile
+++ b/graphics/plplot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2002/02/18 15:14:21 seb Exp $
+# $NetBSD: Makefile,v 1.23 2002/07/24 19:45:24 jlam Exp $
DISTNAME= plplot-5.0.4
CATEGORIES= graphics
@@ -12,12 +12,12 @@ DEPENDS+= tcl>=8.3.0:../../lang/tcl
DEPENDS+= tk>=8.3.0:../../x11/tk
BUILD_DEPENDS+= m4>=1.4:../../devel/m4
BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
GNU_CONFIGURE= #defined
USE_GMAKE= #defined
USE_FORTRAN= #defined
USE_X11= #defined
+USE_PERL5= build
EVAL_PREFIX+= TK_PREFIX=tk
TCL_PREFIX_DEFAULT= ${LOCALBASE}
diff --git a/lang/moscow_ml/Makefile b/lang/moscow_ml/Makefile
index 6685b852e28..f3993263414 100644
--- a/lang/moscow_ml/Makefile
+++ b/lang/moscow_ml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2002/07/23 20:52:24 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2002/07/24 19:45:24 jlam Exp $
DISTNAME= mos20src
PKGNAME= moscow_ml-2.00
@@ -11,7 +11,7 @@ MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.dina.kvl.dk/~sestoft/mosml.html
COMMENT= Moscow ML, a version of Standard ML
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
ALL_TARGET= clean world
diff --git a/mail/courier-maildirmake/Makefile b/mail/courier-maildirmake/Makefile
index 52519b09582..016cdbda8a4 100644
--- a/mail/courier-maildirmake/Makefile
+++ b/mail/courier-maildirmake/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.7 2002/05/28 15:07:05 yyamano Exp $
+# $NetBSD: Makefile,v 1.8 2002/07/24 19:45:24 jlam Exp $
PKGNAME= courier-maildirmake-${BASE_VERS}
PKGREVISION?= 1
COMMENT= Courier Maildir utilities
PERL5_REQD= 5.6.0
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
USE_BUILDLINK_ONLY= yes
REPLACE_PERL= sysconftool
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index 8e5b4a2b85b..f97456563ce 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.10 2002/05/20 09:39:17 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2002/07/24 19:45:25 jlam Exp $
DISTNAME= maildrop-1.3.9
COMMENT= Courier mail delivery agent with filtering abilities
HOMEPAGE= http://www.flounder.net/~mrsam/maildrop/
PERL5_REQD= 5.6.0
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
DEPENDS+= courier-maildirmake>=0.37.1:../../mail/courier-maildirmake
USE_BUILDLINK_ONLY= yes
diff --git a/misc/kanjipad/Makefile b/misc/kanjipad/Makefile
index eb81c2312b4..aeab7428a5b 100644
--- a/misc/kanjipad/Makefile
+++ b/misc/kanjipad/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/07/14 10:03:54 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2002/07/24 19:45:25 jlam Exp $
#
DISTNAME= kanjipad-1.2.1
@@ -9,7 +9,7 @@ MAINTAINER= wiz@netbsd.org
HOMEPAGE= http://www.gtk.org/~otaylor/kanjipad/index.html
COMMENT= Japanese handwriting recognition with GTK interface
-BUILD_DEPENDS+= perl>=5.0:../../lang/perl5
+USE_PERL5= build
USE_BUILDLINK_ONLY= YES
diff --git a/net/ethereal/Makefile b/net/ethereal/Makefile
index cb648d0747c..2f4f1b49ffe 100644
--- a/net/ethereal/Makefile
+++ b/net/ethereal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2002/07/01 17:25:59 toshii Exp $
+# $NetBSD: Makefile,v 1.63 2002/07/24 19:45:25 jlam Exp $
DISTNAME= ethereal-0.9.5
CATEGORIES= net
@@ -9,7 +9,7 @@ MAINTAINER= frueauf@netbsd.org
HOMEPAGE= http://www.ethereal.com/
COMMENT= Network protocol analyzer
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
diff --git a/net/freewais-sf/Makefile b/net/freewais-sf/Makefile
index 554680e7eaf..f81cff4cdf5 100644
--- a/net/freewais-sf/Makefile
+++ b/net/freewais-sf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/02/18 15:14:36 seb Exp $
+# $NetBSD: Makefile,v 1.11 2002/07/24 19:45:25 jlam Exp $
#
DISTNAME= freeWAIS-sf-2.2.12
@@ -10,8 +10,7 @@ MAINTAINER= bad@NetBSD.org
HOMEPAGE= http://ls6-www.informatik.uni-dortmund.de/ir/projects/freeWAIS-sf/index.html
COMMENT= Enhanced Wide Area Information Server
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
-
+USE_PERL5= build
USE_LIBTOOL= # defined
HAS_CONFIGURE= # defined
diff --git a/net/md-whois/Makefile b/net/md-whois/Makefile
index c3aee4a4137..6e107499202 100644
--- a/net/md-whois/Makefile
+++ b/net/md-whois/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/04/30 04:16:10 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2002/07/24 19:45:26 jlam Exp $
DISTNAME= whois_4.5.2
PKGNAME= md-whois-4.5.2
@@ -9,7 +9,7 @@ MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.linux.it/~md/software/
COMMENT= Improved whois client
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
WRKSRC= ${WRKDIR}/whois-4.5.2
diff --git a/net/p5-Net-Daemon/Makefile b/net/p5-Net-Daemon/Makefile
index cd34676db0c..c4644c928a9 100644
--- a/net/p5-Net-Daemon/Makefile
+++ b/net/p5-Net-Daemon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/11/30 14:32:09 mjl Exp $
+# $NetBSD: Makefile,v 1.8 2002/07/24 19:45:26 jlam Exp $
#
DISTNAME= Net-Daemon-0.36
@@ -11,7 +11,7 @@ MAINTAINER= eric@cirr.com
HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/libnet/FAQ.html
COMMENT= perl5 module for writing networking daemons
-DEPENDS+= {p5-Data-Dumper-[0-9]*,perl>=5.6.1nb2}:../../lang/perl5
+DEPENDS+= {p5-Data-Dumper-[0-9]*,perl>=5.6.1nb2}:${PERL5_PKGSRCDIR}
USE_BUILDLINK_ONLY= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Net/Daemon/.packlist
diff --git a/net/wget/Makefile b/net/wget/Makefile
index 3a93e051671..dc540b0fdef 100644
--- a/net/wget/Makefile
+++ b/net/wget/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2002/03/30 13:57:02 pooka Exp $
+# $NetBSD: Makefile,v 1.46 2002/07/24 19:45:26 jlam Exp $
DISTNAME= wget-1.7
CATEGORIES= net
@@ -12,7 +12,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/wget/wget.html
COMMENT= Retrieve files from the 'net via HTTP and FTP
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
BUILD_USES_MSGFMT= YES
USE_BUILDLINK_ONLY= YES
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index 87c099b1ced..36246b57a1f 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2002/06/28 18:00:45 jlam Exp $
+# $NetBSD: Makefile,v 1.84 2002/07/24 19:45:26 jlam Exp $
DISTNAME= openssh-3.4p1
PKGNAME= openssh-3.4.0.1
@@ -17,7 +17,7 @@ COMMENT= Open Source Secure shell client and server (remote login program)
CONFLICTS= sftp-[0-9]*
CONFLICTS+= ssh-[0-9]* ssh6-[0-9]*
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
# 0.9.5a can be used, with blowfish support broken. so require 0.9.6.
USE_OPENSSL_VERSION= ${OPENSSL_VERSION_096}
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 27b72915c24..06902ba4c74 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2002/05/08 11:44:51 kleink Exp $
+# $NetBSD: Makefile,v 1.51 2002/07/24 19:45:27 jlam Exp $
DISTNAME= openssl-0.9.6
PKGREVISION= 2
@@ -10,7 +10,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.openssl.org/
COMMENT= Secure Socket Layer and cryptographic library
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
CONFLICTS= SSLeay-[0-9]* ssleay-[0-9]* base64-[0-9]* \
glimpse-[0-9]
diff --git a/security/pgp5/Makefile b/security/pgp5/Makefile
index c632c049d3d..7534eb39fa0 100644
--- a/security/pgp5/Makefile
+++ b/security/pgp5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2002/03/14 12:35:59 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2002/07/24 19:45:27 jlam Exp $
#
DISTNAME= pgp50i-unix-src
@@ -18,7 +18,7 @@ MAINTAINER= mjl@netbsd.org
HOMEPAGE= http://www.pgpi.com/
COMMENT= Public-Key encryption and digital signature utility
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
CONFLICTS= pgraf-[0-9]* # Both have a `pgps' executable
diff --git a/security/zebedee/Makefile b/security/zebedee/Makefile
index 01dfbe436be..79957e5cf20 100644
--- a/security/zebedee/Makefile
+++ b/security/zebedee/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/05/12 10:16:50 abs Exp $
+# $NetBSD: Makefile,v 1.7 2002/07/24 19:45:27 jlam Exp $
#
DISTNAME= zebedee-2.3.1
@@ -10,8 +10,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.winton.org.uk/zebedee/
COMMENT= Simple tunneling program for TCP or UDP with encryption
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
-
+USE_PERL5= build
USE_GMAKE= # defined
USE_BUILDLINK_ONLY= # defined
diff --git a/sysutils/lavaps/Makefile b/sysutils/lavaps/Makefile
index 8cba81fe86c..2ff8a6ac434 100644
--- a/sysutils/lavaps/Makefile
+++ b/sysutils/lavaps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2001/12/19 20:31:57 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2002/07/24 19:45:27 jlam Exp $
#
DISTNAME= lavaps-1.20
@@ -11,7 +11,7 @@ HOMEPAGE= http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/
COMMENT= Lava lamp of currently running processes
DEPENDS+= tk>=8.3.2:../../x11/tk
-BUILD_DEPENDS+= perl>=5.0:../../lang/perl5
+USE_PERL5= build
WRKSRC= ${WRKDIR}/${PKGNAME}
USE_X11= # defined
diff --git a/sysutils/rconfig/Makefile b/sysutils/rconfig/Makefile
index e28a58ebe25..2a44ad151cf 100644
--- a/sysutils/rconfig/Makefile
+++ b/sysutils/rconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/07/03 13:18:30 abs Exp $
+# $NetBSD: Makefile,v 1.7 2002/07/24 19:45:27 jlam Exp $
DISTNAME= rconfig-0.11
CATEGORIES= sysutils
@@ -10,9 +10,10 @@ COMMENT= Manage configuration files for many machines via rdist trees
DEPENDS+= fping-[0-9]*:../../net/fping
DEPENDS+= freerdist-[0-9]*:../../net/rdist6
-DEPENDS+= perl>=5.0:../../lang/perl5
DEPENDS+= srsh-[0-9]*:../../net/srsh
+USE_PERL5= # defined
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rconfig.pl ${PREFIX}/sbin/rconfig
${INSTALL_SCRIPT} ${WRKSRC}/probe.sh ${PREFIX}/libexec/rconfig_probe
diff --git a/sysutils/sh-utils/Makefile b/sysutils/sh-utils/Makefile
index ed68d4e0d40..616c1365c0b 100644
--- a/sysutils/sh-utils/Makefile
+++ b/sysutils/sh-utils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/02/18 15:14:41 seb Exp $
+# $NetBSD: Makefile,v 1.9 2002/07/24 19:45:28 jlam Exp $
DISTNAME= sh-utils-2.0
PKGREVISION= 1
@@ -9,8 +9,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/shellutils/shellutils.html
COMMENT= GNU shell utilities
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
-
+USE_PERL5= build
USE_GMAKE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --program-prefix=g
diff --git a/sysutils/xps/Makefile b/sysutils/xps/Makefile
index 0d3db08aea1..f97a290fbee 100644
--- a/sysutils/xps/Makefile
+++ b/sysutils/xps/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2001/10/24 22:11:07 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2002/07/24 19:45:28 jlam Exp $
DISTNAME= xps-3.14
CATEGORIES= sysutils
@@ -8,8 +8,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.netwinder.org/~rocky/xps-home/
COMMENT= displays the Unix process list as a hierarchical tree
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
-
+USE_PERL5= build
USE_GMAKE= # defined
USE_X11BASE= # defined
diff --git a/textproc/openjade/Makefile b/textproc/openjade/Makefile
index 7d25f7067da..58c49f38b97 100644
--- a/textproc/openjade/Makefile
+++ b/textproc/openjade/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/09/27 23:18:45 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2002/07/24 19:45:28 jlam Exp $
# FreeBSD Id: ports/textproc/openjade/Makefile,v 1.30 2001/03/04 21:39:19 lioux Exp
DISTNAME= openjade-1.3
@@ -9,6 +9,7 @@ MAINTAINER= kogule@mars.dti.ne.jp
HOMEPAGE= http://openjade.sourceforge.net/
COMMENT= SGML/XML parser toolkit and DSSSL engine, successor to "jade"
+PERL5_REQD= 5.6.0
BUILD_DEPENDS+= perl>=5.6.0:../../lang/perl5:build
CONFLICTS+= opensp-[0-9]*
diff --git a/textproc/opensp/Makefile b/textproc/opensp/Makefile
index b5bfc6d095d..91638d058ca 100644
--- a/textproc/opensp/Makefile
+++ b/textproc/opensp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/12/19 20:29:31 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2002/07/24 19:45:28 jlam Exp $
#
DISTNAME= OpenSP-1.4
@@ -11,7 +11,7 @@ HOMEPAGE= http://openjade.sourceforge.net/doc-1.4/index.htm
COMMENT= SGML parser, successor to "sp"
DEPENDS+= unproven-pthreads-[0-9]*:../../devel/unproven-pthreads
-BUILD_DEPENDS+= perl>=5.0:../../lang/perl5
+USE_PERL5= build
CONFLICTS+= sp-[0-9]*
diff --git a/textproc/textutils/Makefile b/textproc/textutils/Makefile
index 4f7040d1b52..7f2ef51684a 100644
--- a/textproc/textutils/Makefile
+++ b/textproc/textutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/02/18 15:14:43 seb Exp $
+# $NetBSD: Makefile,v 1.11 2002/07/24 19:45:28 jlam Exp $
# FreeBSD Id: ports/textproc/textutils/Makefile,v 1.7 1999/09/18 17:46:30 steve Exp
DISTNAME= textutils-2.0
@@ -9,8 +9,7 @@ MAINTAINER= bouyer@netbsd.org
HOMEPAGE= http://www.gnu.org/software/textutils/textutils.html
COMMENT= GNU text utilities
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
-
+USE_PERL5= build
USE_GMAKE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --program-prefix=g
diff --git a/www/ap-auth-cookie/Makefile b/www/ap-auth-cookie/Makefile
index 96a9502bdc4..671e558aa3d 100644
--- a/www/ap-auth-cookie/Makefile
+++ b/www/ap-auth-cookie/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2001/09/09 20:36:52 agc Exp $
+# $NetBSD: Makefile,v 1.22 2002/07/24 19:45:29 jlam Exp $
#
# There are a few more mod_auth_cookie's out there doing slightly
# different things. This one pkg would be a good place to dump them all in
@@ -15,8 +15,7 @@ HOMEPAGE= ftp://ftp.kciLink.com/pub/mod_auth_cookie.txt
COMMENT= Cookie-based authentication for Apache
DEPENDS+= apache{,6}-1.3.*:../../www/apache
-# For "apxs":
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build # for "apxs"
EXTRACT_CMD= ${DO_NADA}
WRKSRC= ${WRKDIR}
diff --git a/www/ap-auth-postgresql/Makefile b/www/ap-auth-postgresql/Makefile
index b6e705bd87d..9aabc6d6311 100644
--- a/www/ap-auth-postgresql/Makefile
+++ b/www/ap-auth-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/09/27 23:18:50 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2002/07/24 19:45:29 jlam Exp $
DISTNAME= AuthPG-1.2b2
PKGNAME= ap-auth-postgresql-1.2b2
@@ -11,8 +11,7 @@ COMMENT= Module to allow apache authentication against a Postgresql database
DEPENDS+= apache{,6}-1.3.*:../../www/apache
DEPENDS+= postgresql-{6.5.3*,7.0*,lib-[0-9]*}:../../databases/postgresql-lib
-# For "apxs":
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build # for "apxs"
CPPFLAGS+= -I${LOCALBASE}/include/pgsql
LIBS= -lpq -lcrypt
diff --git a/www/ap-csacek/Makefile b/www/ap-csacek/Makefile
index a471ce5162c..882eca98f07 100644
--- a/www/ap-csacek/Makefile
+++ b/www/ap-csacek/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2002/03/10 20:21:57 jdolecek Exp $
+# $NetBSD: Makefile,v 1.15 2002/07/24 19:45:29 jlam Exp $
#
DISTNAME= csacek-2.1.9
@@ -13,8 +13,7 @@ HOMEPAGE= http://www.csacek.cz/
COMMENT= on-fly code set recoder
DEPENDS+= apache{,6}-1.3*:../../www/apache
-# For "apxs":
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build # for "apxs"
HAS_CONFIGURE= yes
diff --git a/www/ap-fastcgi/Makefile b/www/ap-fastcgi/Makefile
index 05b81c6a54a..8971ad85f2d 100644
--- a/www/ap-fastcgi/Makefile
+++ b/www/ap-fastcgi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2001/05/20 05:23:27 jonb Exp $
+# $NetBSD: Makefile,v 1.20 2002/07/24 19:45:29 jlam Exp $
#
DISTNAME= mod_fastcgi_2.2.10
@@ -11,8 +11,7 @@ HOMEPAGE= http://www.fastcgi.com/
COMMENT= New, improved CGI-like interface module for Apache
DEPENDS+= apache{,6}-1.3.*:../../www/apache
-# For "apxs":
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build # for "apxs"
do-build:
@cd ${WRKSRC} && ${PREFIX}/sbin/apxs -c -o mod_fastcgi.so *.c
diff --git a/www/ap-gzip/Makefile b/www/ap-gzip/Makefile
index e48a4bf6a5f..04962bbec16 100644
--- a/www/ap-gzip/Makefile
+++ b/www/ap-gzip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/04/01 17:44:43 tv Exp $
+# $NetBSD: Makefile,v 1.2 2002/07/24 19:45:29 jlam Exp $
#
DISTNAME= mod_gzip.c
@@ -13,8 +13,7 @@ HOMEPAGE= http://www.remotecommunications.com/apache/mod_gzip/
COMMENT= On-the-fly GZIP compression for Apache 1.3.x
DEPENDS+= apache{,6}-1.3.*:../../www/apache
-# For "apxs":
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build # for "apxs"
VERSION= 1.3.19.1a
DIST_SUBDIR= ${PKGNAME}
diff --git a/www/ap-jk/Makefile b/www/ap-jk/Makefile
index 74deeaf4e96..2a09762909f 100644
--- a/www/ap-jk/Makefile
+++ b/www/ap-jk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/04/19 15:54:20 jwise Exp $
+# $NetBSD: Makefile,v 1.9 2002/07/24 19:45:30 jlam Exp $
DISTNAME= jakarta-tomcat-3.2.4-src
PKGNAME= ap-jk-3.2.4
@@ -12,8 +12,7 @@ COMMENT= improved connector for accessing Jakarta Tomcat or JServ from Apache
DEPENDS+= apache{,6}-1.3.*:../../www/apache
USE_JAVA= yes
-# For "apxs":
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build # for "apxs"
EXTRACT_ELEMENTS= ${DISTNAME}/src/native
WRKSRC= ${WRKDIR}/${DISTNAME}/src/native/apache1.3
diff --git a/www/ap-jserv/Makefile b/www/ap-jserv/Makefile
index 97448099ba4..72a5d080413 100644
--- a/www/ap-jserv/Makefile
+++ b/www/ap-jserv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2002/02/28 18:32:19 jlam Exp $
+# $NetBSD: Makefile,v 1.21 2002/07/24 19:45:30 jlam Exp $
DISTNAME= ApacheJServ-1.1.2
PKGNAME= ap-jserv-1.1.2
@@ -12,8 +12,7 @@ COMMENT= older Java Servlet engine for Apache Server
DEPENDS+= {apache-1.3.9*,apache-1.3.[1-9][0-9]*,apache6-1.3.9*,apache6-1.3.[1-9][0-9]*}:../../www/apache
# yes, this needs _exactly_ version 2.0
DEPENDS+= jsdk-2.0:../../www/jsdk20
-# For "apxs":
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build # for "apxs"
.include "../../mk/bsd.prefs.mk"
diff --git a/www/ap-layout/Makefile b/www/ap-layout/Makefile
index 54df937f9e9..a1bb36f44cd 100644
--- a/www/ap-layout/Makefile
+++ b/www/ap-layout/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/02/25 02:55:22 grant Exp $
+# $NetBSD: Makefile,v 1.2 2002/07/24 19:45:30 jlam Exp $
#
DISTNAME= mod_layout-3.0.4
@@ -12,8 +12,7 @@ HOMEPAGE= http://software.tangent.org/
COMMENT= Apache module to wrap static or dynamic content
DEPENDS+= apache{,6}-1.3.*:../../www/apache
-# For "apxs":
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build # for "apxs"
LAYOUT_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_layout
diff --git a/www/ap-mp3/Makefile b/www/ap-mp3/Makefile
index 037024eb3af..05247fc3629 100644
--- a/www/ap-mp3/Makefile
+++ b/www/ap-mp3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/02/25 03:00:49 grant Exp $
+# $NetBSD: Makefile,v 1.2 2002/07/24 19:45:30 jlam Exp $
#
DISTNAME= mod_mp3-0.35
@@ -12,8 +12,7 @@ HOMEPAGE= http://software.tangent.org/media/
COMMENT= apache module for streaming mp3 files
DEPENDS+= apache{,6}-1.3.*:../../www/apache
-# For "apxs":
-BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build # for "apxs"
DOC_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_mp3
diff --git a/www/ap-xslt/Makefile b/www/ap-xslt/Makefile
index 4cc499315da..a9272ac2678 100644
--- a/www/ap-xslt/Makefile
+++ b/www/ap-xslt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/01/22 22:21:41 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2002/07/24 19:45:30 jlam Exp $
DISTNAME= modxslt
PKGNAME= ap-xslt-1.1
@@ -13,8 +13,7 @@ COMMENT= Simple, fast XSLT transformations for apache
DEPENDS+= apache{,6}-1.3.*:../../www/apache
DEPENDS+= sablotron-*:../../textproc/sablotron
-# For "apxs":
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build # for "apxs"
do-install:
${LOCALBASE}/sbin/apxs -i ${WRKSRC}/mod_xslt.so
diff --git a/www/libwww/Makefile b/www/libwww/Makefile
index 78d1314b6d3..093fc6d993f 100644
--- a/www/libwww/Makefile
+++ b/www/libwww/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2002/07/15 14:39:21 fredb Exp $
+# $NetBSD: Makefile,v 1.33 2002/07/24 19:45:31 jlam Exp $
DISTNAME= w3c-libwww-5.3.2
PKGNAME= libwww-5.3.2
@@ -12,13 +12,13 @@ HOMEPAGE= http://www.w3.org/Library/
COMMENT= The W3C Reference Library
BUILD_DEPENDS+= automake>=1.4:../../devel/automake
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
BUILDLINK_DEPENDS.openssl= openssl-*
USE_BUILDLINK_ONLY= YES
USE_GMAKE= YES
USE_LIBTOOL= YES
+USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-zlib --with-regex --without-x
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile
index 8ee2e2e6bf7..210c37532ec 100644
--- a/www/mozilla/Makefile
+++ b/www/mozilla/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.92 2002/07/12 13:07:27 taya Exp $
+# $NetBSD: Makefile,v 1.93 2002/07/24 19:45:31 jlam Exp $
MOZ_VER= 1.0
DISTNAME= mozilla-source-${MOZ_VER}
@@ -13,10 +13,10 @@ MAINTAINER= taya@netbsd.org
HOMEPAGE= http://www.mozilla.org/
COMMENT= Open-source version of the Netscape browser
-BUILD_DEPENDS+= perl>=5.6:../../lang/perl5
BUILD_DEPENDS+= zip>=2.3:../../archivers/zip
BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
+USE_PERL5= build
USE_GMAKE= yes
USE_X11BASE= yes
GNU_CONFIGURE= yes
diff --git a/www/php3/Makefile b/www/php3/Makefile
index db442731c06..d1fc43630c5 100644
--- a/www/php3/Makefile
+++ b/www/php3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2002/02/28 15:07:17 jlam Exp $
+# $NetBSD: Makefile,v 1.34 2002/07/24 19:45:31 jlam Exp $
PKGNAME= php-${BASE_VERS}
PKGREVISION?= 1
@@ -9,7 +9,7 @@ USE_BUILDLINK_ONLY= yes
.include "Makefile.common"
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
CPPFLAGS+= -DPHP_INTERNAL_FUNCS
FILES_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
diff --git a/www/php3/Makefile.module b/www/php3/Makefile.module
index 0477b80bea0..c9e5cab48b2 100644
--- a/www/php3/Makefile.module
+++ b/www/php3/Makefile.module
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile.module,v 1.2 2002/03/02 18:48:24 jlam Exp $
+# $NetBSD: Makefile.module,v 1.3 2002/07/24 19:45:31 jlam Exp $
.include "../../www/php3/Makefile.common"
PKGNAME= php-${MODNAME}-${BASE_VERS}
PKGREVISION?= # empty
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
DEPENDS+= php-${BASE_VERS}*:../../www/php3
+USE_PERL5= build
+
PKGMODNAME= ${MODNAME:S/-/_/}
MODULESDIR= ${WRKSRC}/functions
PLIST_SUBST+= MODNAME=${PKGMODNAME}
diff --git a/www/quanta/Makefile b/www/quanta/Makefile
index 05d4339e11b..2fd631b0511 100644
--- a/www/quanta/Makefile
+++ b/www/quanta/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2002/03/13 17:37:52 fredb Exp $
+# $NetBSD: Makefile,v 1.10 2002/07/24 19:45:31 jlam Exp $
DISTNAME= quanta-2.0-pr2
PKGNAME= quanta-1.9.9.2
@@ -13,11 +13,11 @@ COMMENT= HTML editor suitable for experienced web developers
BUILD_DEPENDS+= qt2-designer-kde>=2.3.1nb2:../../x11/qt2-designer-kde
BUILD_DEPENDS+= automake>=1.4:../../devel/automake
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
BUILD_USES_MSGFMT= YES
USE_BUILDLINK_ONLY= YES
+USE_PERL5= build
USE_GMAKE= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
diff --git a/www/squid/Makefile b/www/squid/Makefile
index b76b832b821..8bf55f7364e 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2002/07/04 06:11:44 tron Exp $
+# $NetBSD: Makefile,v 1.65 2002/07/24 19:45:32 jlam Exp $
DISTNAME= squid-2.4.STABLE7-src
PKGNAME= squid-2.4.7
@@ -11,7 +11,7 @@ MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.squid-cache.org/
COMMENT= Post-Harvest_cached WWW proxy cache and accelerator
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5= build
.include "../../mk/bsd.prefs.mk"
GNU_CONFIGURE= YES
diff --git a/x11/gnome--/Makefile b/x11/gnome--/Makefile
index db5614ba804..202a486905c 100644
--- a/x11/gnome--/Makefile
+++ b/x11/gnome--/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/05/12 10:16:51 abs Exp $
+# $NetBSD: Makefile,v 1.9 2002/07/24 19:45:32 jlam Exp $
#
DISTNAME= gnomemm-1.1.19
@@ -11,9 +11,8 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://gtkmm.sourceforge.net/
COMMENT= C++ binding for the GNOME libraries
-BUILD_DEPENDS+= perl-*:../../lang/perl5
-
GNU_CONFIGURE= YES
+USE_PERL5= build
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_X11BASE= yes
diff --git a/x11/gtk--/Makefile b/x11/gtk--/Makefile
index 4ec0ec76185..307009d7688 100644
--- a/x11/gtk--/Makefile
+++ b/x11/gtk--/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2002/02/14 13:58:24 drochner Exp $
+# $NetBSD: Makefile,v 1.23 2002/07/24 19:45:32 jlam Exp $
# FreeBSD Id: Makefile,v 1.6 1999/01/12 16:50:43 vanilla Exp
#
@@ -13,12 +13,12 @@ HOMEPAGE= http://gtkmm.sourceforge.net/
COMMENT= C++ wrapper for GTK+
BUILD_DEPENDS+= m4>=1.4:../../devel/m4
-BUILD_DEPENDS+= perl-*:../../lang/perl5
USE_X11BASE= YES
USE_BUILDLINK_ONLY= YES
GNU_CONFIGURE= YES
+USE_PERL5= build
USE_GMAKE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/scripts/ltconfig
diff --git a/x11/gtk/Makefile b/x11/gtk/Makefile
index 99bf9d420e8..608e7153ed7 100644
--- a/x11/gtk/Makefile
+++ b/x11/gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2002/07/18 02:19:33 rh Exp $
+# $NetBSD: Makefile,v 1.72 2002/07/24 19:45:32 jlam Exp $
DISTNAME= gtk+-1.2.10
PKGREVISION= 2
@@ -12,10 +12,10 @@ MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.gtk.org/
COMMENT= Gimp toolkit. Libraries for building X11 user interfaces
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
BUILD_USES_MSGFMT= yes
USE_BUILDLINK_ONLY= yes
+USE_PERL5= build
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
USE_X11BASE= yes