summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmarks/bonnie++/Makefile9
-rw-r--r--benchmarks/hbench/Makefile7
-rw-r--r--benchmarks/lmbench/Makefile7
-rw-r--r--biology/bioperl/Makefile5
-rw-r--r--cad/spiceprm/Makefile10
-rw-r--r--chat/gtkyahoo/Makefile7
-rw-r--r--chat/sirc/Makefile5
-rw-r--r--comms/pilotmgr/Makefile11
-rw-r--r--converters/rpm2cpio/Makefile8
-rw-r--r--converters/txt2html/Makefile10
-rw-r--r--databases/jdb/Makefile10
-rw-r--r--databases/postgresql-plperl/Makefile5
-rw-r--r--devel/autoconf/Makefile13
-rw-r--r--devel/automake/Makefile11
-rw-r--r--devel/cvs2cl/Makefile14
-rw-r--r--devel/global/Makefile11
-rw-r--r--devel/p5-IPC-ShareLite/Makefile7
-rw-r--r--x11/p5-Tk/Makefile5
18 files changed, 86 insertions, 69 deletions
diff --git a/benchmarks/bonnie++/Makefile b/benchmarks/bonnie++/Makefile
index ca0d3f5c488..9d5570e955b 100644
--- a/benchmarks/bonnie++/Makefile
+++ b/benchmarks/bonnie++/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/07/18 10:31:20 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/11/28 05:20:38 jlam Exp $
#
DISTNAME= bonnie++-1.01
@@ -10,9 +10,9 @@ MAINTAINER= root@garbled.net
HOMEPAGE= http://www.coker.com.au/bonnie++/
COMMENT= Enhanced performance Test of Filesystem I/O
-GNU_CONFIGURE= yes
-USE_PERL5= yes
-REPLACE_PERL= bon_csv2txt.in bon_csv2html.in
+USE_BUILDLINK_ONLY= YES
+GNU_CONFIGURE= YES
+REPLACE_PERL= bon_csv2txt.in bon_csv2html.in
benchmark:
@(cd ${WRKSRC}; ./bonnie++ -u 0:0 | tee bonnie.out)
@@ -21,4 +21,5 @@ results:
@${MKDIR} /tmp/benches/`domainname`
-@${CP} ${WRKSRC}/bonnie.out /tmp/benches/`domainname`/bonnie++.`uname`-`uname -m`-`uname -r`.`hostname`
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/hbench/Makefile b/benchmarks/hbench/Makefile
index 759fb792466..23f84ee05cd 100644
--- a/benchmarks/hbench/Makefile
+++ b/benchmarks/hbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2001/10/26 12:54:24 agc Exp $
+# $NetBSD: Makefile,v 1.17 2001/11/28 05:20:38 jlam Exp $
DISTNAME= hbench-OS-1.0
PKGNAME= hbench-1.0nb1
@@ -11,9 +11,9 @@ COMMENT= Suite of portable benchmarks to measure the OS and the hardware
DEPENDS+= gnuplot>=3.7:../../graphics/gnuplot
-OSVERSION_SPECIFIC= yes
+USE_BUILDLINK_ONLY= YES
+OSVERSION_SPECIFIC= YES
ALL_TARGET= build
-USE_PERL5= yes
WRKSRC= ${WRKDIR}/hbench-OS
PLIST_SRC= ${WRKDIR}/PLIST-src
@@ -61,4 +61,5 @@ results:
-@cd ${WRKSRC} ; \
tar -cf /tmp/benches/`domainname`/hbench.`uname`-`uname -m`-`uname -r`.`hostname`.tar results conf
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile
index e9ef9d6741a..1a917319102 100644
--- a/benchmarks/lmbench/Makefile
+++ b/benchmarks/lmbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2001/10/26 12:56:21 agc Exp $
+# $NetBSD: Makefile,v 1.14 2001/11/28 05:20:38 jlam Exp $
DISTNAME= lmbench-2alpha11
PKGNAME= lmbench-2.11a
@@ -10,9 +10,9 @@ MAINTAINER= root@garbled.net
HOMEPAGE= http://www.bitmover.com/lm/lmbench/
COMMENT= Complete benchmark that gives a large amount of information
+USE_BUILDLINK_ONLY= YES
+USE_GMAKE= YES
ALL_TARGET= build
-USE_GMAKE= yes
-USE_PERL5= yes
MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
post-configure:
@@ -53,4 +53,5 @@ results:
-@cd ${PREFIX}/share/lmbench ; \
tar -cf /tmp/benches/`domainname`/lmbench.`uname`-`uname -m`-`uname -r`.`hostname`.tar results
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/bioperl/Makefile b/biology/bioperl/Makefile
index 34ffc6f2a7c..963551ca7c7 100644
--- a/biology/bioperl/Makefile
+++ b/biology/bioperl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/11/14 14:47:53 agc Exp $
+# $NetBSD: Makefile,v 1.6 2001/11/28 05:20:39 jlam Exp $
#
DISTNAME= bioperl-0.7.0
@@ -9,7 +9,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://bioperl.org/
COMMENT= Perl tools for computational molecular biology
-USE_PERL5= # defined
+USE_BUILDLINK_ONLY= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Bio/.packlist
do-configure:
@@ -19,4 +19,5 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bioperl
cd ${WRKSRC}/examples && ${PAX} -rw . ${PREFIX}/share/examples/bioperl
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/cad/spiceprm/Makefile b/cad/spiceprm/Makefile
index 70c62b762c7..d121e6e6664 100644
--- a/cad/spiceprm/Makefile
+++ b/cad/spiceprm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/06/27 11:41:51 zuntum Exp $
+# $NetBSD: Makefile,v 1.6 2001/11/28 05:20:40 jlam Exp $
#
DISTNAME= spiceprm-0.11
@@ -9,10 +9,9 @@ MASTER_SITES= http://metalab.unc.edu/pub/Linux/apps/circuits/
MAINTAINER= packages@netbsd.org
COMMENT= Spice preprocessor for parameterized subcircuits
-NO_BUILD= # defined
-NO_CONFIGURE= # defined
-USE_PERL5= # defined
-REPLACE_PERL= spiceprm
+USE_BUILDLINK_ONLY= YES
+NO_BUILD= YES
+REPLACE_PERL= spiceprm
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/spiceprm ${PREFIX}/bin/spiceprm
@@ -21,4 +20,5 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/spiceprm
${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${PREFIX}/share/examples/spiceprm
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/gtkyahoo/Makefile b/chat/gtkyahoo/Makefile
index 365ee9acca2..15e2dae6374 100644
--- a/chat/gtkyahoo/Makefile
+++ b/chat/gtkyahoo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/10/24 22:10:48 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2001/11/28 05:20:41 jlam Exp $
DISTNAME= gtkyahoo-0.18.2
CATEGORIES= chat
@@ -9,11 +9,9 @@ MAINTAINER= ken@246gt.com
HOMEPAGE= http://www.unixtools.org/gtkyahoo/
COMMENT= GTK+ client for Yahoo! Messenger
-BUILD_DEPENDS+= bison:../../devel/bison
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
USE_BUILDLINK_ONLY= YES
-USE_PERL5= YES
-
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-libyahoo="${BUILDLINK_DIR}"
@@ -21,6 +19,7 @@ pre-configure:
${RM} -rf ${WRKSRC}/libyahoo
.include "../../chat/libyahoo/buildlink.mk"
+.include "../../lang/perl5/buildlink.mk"
.include "../../x11/gtk/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/sirc/Makefile b/chat/sirc/Makefile
index 79741b68930..d45fbb39969 100644
--- a/chat/sirc/Makefile
+++ b/chat/sirc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/03/05 16:40:48 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/11/28 05:20:42 jlam Exp $
DISTNAME= sirc-2.211
PKGNAME= sirc-2.211nb1
@@ -14,8 +14,6 @@ COMMENT= IRC client written and programmable in perl
DEPENDS+= p5-Socket6>=0.07:../../net/p5-Socket6
-USE_PERL5= # defined
-
# supports IPv6 (actually, af independent)
BUILD_DEFS+= USE_INET6
@@ -76,4 +74,5 @@ do-install:
${ECHO} installing $$i ; \
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$i ${PREFIX}/lib/sirc/scripts/$$i ; done
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/pilotmgr/Makefile b/comms/pilotmgr/Makefile
index 65684587196..dd94c5c2ea9 100644
--- a/comms/pilotmgr/Makefile
+++ b/comms/pilotmgr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2001/10/02 06:43:39 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2001/11/28 05:20:42 jlam Exp $
DISTNAME= pilotmgr-1.107p2
CATEGORIES= comms
@@ -14,10 +14,9 @@ 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
-USE_X11= # defined
-USE_PERL5= # defined
-HAS_CONFIGURE= # defined
-NO_BUILD= # defined
+USE_BUILDLINK_ONLY= YES
+HAS_CONFIGURE= YES
+NO_BUILD= YES
CONFIGURE_ARGS= </dev/null
CONFIGURE_SCRIPT= ./Setup
@@ -52,4 +51,6 @@ do-install:
done
${LN} -fs ${PM_DOC_DIR} ${PM_PERL_DIR}/docs
+.include "../../lang/perl5/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/rpm2cpio/Makefile b/converters/rpm2cpio/Makefile
index 5aee3569d8f..b078f189305 100644
--- a/converters/rpm2cpio/Makefile
+++ b/converters/rpm2cpio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/10/24 00:38:51 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/11/28 05:20:43 jlam Exp $
# FreeBSD Id: ports/misc/rpm2cpio/Makefile,v 1.2 1999/08/25 07:22:29 obrien Exp
DISTNAME= rpm2cpio
@@ -11,15 +11,17 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.iagora.com/~espel/index.html
COMMENT= Convert .rpm files for extraction with cpio, needs just perl
+USE_BUILDLINK_ONLY= YES
+
DIST_SUBDIR= ${PKGNAME}
-USE_PERL5= # defined
REPLACE_PERL= rpm2cpio
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} .
WRKSRC= ${WRKDIR}
-NO_BUILD= # defined
+NO_BUILD= YES
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/rpm2cpio ${PREFIX}/bin/rpm2cpio.pl
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/txt2html/Makefile b/converters/txt2html/Makefile
index cdc3fa75bca..7e353895b88 100644
--- a/converters/txt2html/Makefile
+++ b/converters/txt2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/04/16 17:21:45 zuntum Exp $
+# $NetBSD: Makefile,v 1.6 2001/11/28 05:20:43 jlam Exp $
DISTNAME= txt2html-1.28
CATEGORIES= converters www
@@ -8,12 +8,13 @@ MAINTAINER= wennmach@netbsd.org
HOMEPAGE= http://www.aigeek.com/txt2html/
COMMENT= Text to HTML converter
-NO_BUILD= # defined
-USE_PERL5= # defined
+USE_BUILDLINK_ONLY= YES
+NO_BUILD= YES
+REPLACE_PERL= txt2html.pl
do-configure:
${SED} -e "s:@PREFIX@:${PREFIX}:g" \
- ${WRKSRC}/txt2html.pl > ${WRKSRC}/txt2html
+ ${WRKSRC}/txt2html.pl > ${WRKSRC}/txt2html
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/txt2html ${PREFIX}/bin
@@ -23,4 +24,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/sample.html ${PREFIX}/share/txt2html
${INSTALL_DATA} ${WRKSRC}/sample.txt ${PREFIX}/share/txt2html
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/jdb/Makefile b/databases/jdb/Makefile
index 65e9df6af8e..bf852abc183 100644
--- a/databases/jdb/Makefile
+++ b/databases/jdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/02/16 14:17:27 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/11/28 05:20:44 jlam Exp $
DISTNAME= jdb-1.7
CATEGORIES= databases
@@ -8,9 +8,11 @@ MAINTAINER= bad@netbsd.org
HOMEPAGE= http://www.isi.edu/~johnh/SOFTWARE/JDB/index.html
COMMENT= Package of commands for manipulating flat-ASCII databases
-USE_PERL5= yes
-GNU_CONFIGURE= yes
+USE_BUILDLINK_ONLY= YES
+GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --with-perl=${LOCALBASE}/bin --datadir=${PREFIX}/share/jdb
+CONFIGURE_ARGS+= --with-perl=${LOCALBASE}/bin
+CONFIGURE_ARGS+= --datadir=${PREFIX}/share/jdb
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/postgresql-plperl/Makefile b/databases/postgresql-plperl/Makefile
index 58b493ad297..636e0b27700 100644
--- a/databases/postgresql-plperl/Makefile
+++ b/databases/postgresql-plperl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/06/23 19:26:51 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2001/11/28 05:20:45 jlam Exp $
.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS.postgresql-lib= postgresql-lib>=${PG_BASE_VERS}
DEPENDS+= postgresql-server>=${PG_BASE_VERS}:../../databases/postgresql-server
DEPENDS+= libperl>=${LIBPERL5_REQD}:../../lang/libperl
-USE_PERL5= # defined
+USE_BUILDLINK_ONLY= YES
LIBPERL5_REQD= ${PERL5_REQD}
CONFIGURE_ARGS+= --with-perl
@@ -38,4 +38,5 @@ do-install:
.endfor
.include "../../databases/postgresql-lib/buildlink.mk"
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/autoconf/Makefile b/devel/autoconf/Makefile
index c0676258787..b04f271f9ae 100644
--- a/devel/autoconf/Makefile
+++ b/devel/autoconf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2001/10/29 19:58:43 hubertf Exp $
+# $NetBSD: Makefile,v 1.29 2001/11/28 05:20:45 jlam Exp $
# FreeBSD Id: Makefile,v 1.12 1997/06/13 20:00:47 max Exp
#
@@ -12,11 +12,12 @@ COMMENT= Generates automatic source code configuration scripts
DEPENDS= m4-1.4:../../devel/m4
-USE_PERL5= yes
-M4= ${PREFIX}/bin/gm4
+USE_BUILDLINK_ONLY= YES
-GNU_CONFIGURE= yes
-CONFIGURE_ENV+= AWK="${AWK}"
-INFO_FILES= autoconf.info standards.info
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= AWK="${AWK}"
+M4= ${PREFIX}/bin/gm4
+
+INFO_FILES= autoconf.info standards.info
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/automake/Makefile b/devel/automake/Makefile
index 3d9ab8873a3..d6585874c6d 100644
--- a/devel/automake/Makefile
+++ b/devel/automake/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2001/08/27 18:35:54 hubertf Exp $
+# $NetBSD: Makefile,v 1.24 2001/11/28 05:20:46 jlam Exp $
# FreeBSD Id: Makefile,v 1.5 1997/09/19 09:29:04 max Exp
#
@@ -13,11 +13,12 @@ COMMENT= GNU Standards-compliant Makefile generator
DEPENDS= autoconf>=2.13:../../devel/autoconf
-USE_PERL5= # defined
-GNU_CONFIGURE= # defined
-CONFIGURE_ENV= PERL=${PERL5}
-STRIPFLAG= # none
+USE_BUILDLINK_ONLY= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ENV= PERL=${PERL5}
+STRIPFLAG= # none
INFO_FILES= automake.info
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvs2cl/Makefile b/devel/cvs2cl/Makefile
index da10fb0b9e4..fba1d8a72b0 100644
--- a/devel/cvs2cl/Makefile
+++ b/devel/cvs2cl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/02/16 14:38:21 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/11/28 05:20:47 jlam Exp $
#
DISTNAME= cvs2cl-1.117
@@ -10,12 +10,14 @@ MAINTAINER= sakamoto@netbsd.org
HOMEPAGE= http://www.red-bean.com/~kfogel/cvs2cl.shtml
COMMENT= CVS-log-message-to-ChangeLog conversion script
-USE_PERL5= YES
-NO_BUILD= YES
-NO_PATCH= YES
-EXTRACT_CMD= ${ECHO}
+USE_BUILDLINK_ONLY= YES
+NO_BUILD= YES
+EXTRACT_CMD= ${ECHO}
+WRKSRC= ${WRKDIR}
do-install:
- ${INSTALL_SCRIPT} ${DISTDIR}/${DISTNAME} ${LOCALBASE}/bin/${DISTNAME:C/-.*$//}
+ ${INSTALL_SCRIPT} ${DISTDIR}/${DISTNAME} \
+ ${LOCALBASE}/bin/${DISTNAME:C/-.*$//}
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/global/Makefile b/devel/global/Makefile
index 89b1bdac5fb..62d39b42170 100644
--- a/devel/global/Makefile
+++ b/devel/global/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2001/02/25 04:17:41 hubertf Exp $
+# $NetBSD: Makefile,v 1.9 2001/11/28 05:20:47 jlam Exp $
#
DISTNAME= global-4.0.1
@@ -9,9 +9,9 @@ MAINTAINER= abs@netbsd.org
HOMEPAGE= http://www.tamacom.com/global/
COMMENT= Source code tag system including web browser output
-USE_PERL5= yes
-MANCOMPRESSED_IF_MANZ= yes
-GNU_CONFIGURE= yes
+USE_BUILDLINK_ONLY= YES
+MANCOMPRESSED_IF_MANZ= YES
+GNU_CONFIGURE= YES
LDFLAGS+= -L../libutil
MAKE_ENV+= LIBDIR="${PREFIX}/lib"
@@ -20,6 +20,7 @@ MAKE_ENV+= LINTLIBDIR="${PREFIX}/libdata/lint"
MAKE_ENV+= BINDIR="${PREFIX}/bin"
pre-install:
- @if [ ! -d ${PREFIX}/libdata/lint ];then ${INSTALL_DATA_DIR} ${PREFIX}/libdata/lint;fi
+ ${INSTALL_DATA_DIR} ${PREFIX}/libdata/lint
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-IPC-ShareLite/Makefile b/devel/p5-IPC-ShareLite/Makefile
index 4b8fefd439d..dd305ed9884 100644
--- a/devel/p5-IPC-ShareLite/Makefile
+++ b/devel/p5-IPC-ShareLite/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/11/20 08:04:50 mjl Exp $
+# $NetBSD: Makefile,v 1.2 2001/11/28 05:20:47 jlam Exp $
#
DISTNAME= IPC-ShareLite-0.08
@@ -9,10 +9,11 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IPC/}
MAINTAINER= packages@netbsd.org
COMMENT= Light-weight interface to shared memory
-USE_PERL5= # defined
-PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/IPC/ShareLite/.packlist
+USE_BUILDLINK_ONLY= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/IPC/ShareLite/.packlist
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL </dev/null
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/p5-Tk/Makefile b/x11/p5-Tk/Makefile
index 407907509ca..e58be2e8ec9 100644
--- a/x11/p5-Tk/Makefile
+++ b/x11/p5-Tk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2001/10/24 22:11:13 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2001/11/28 05:20:47 jlam Exp $
# FreeBSD Id: Makefile,v 1.14 1997/09/14 04:00:00 jfitz Exp
#
@@ -14,7 +14,7 @@ COMMENT= perl5 interface to Tk
BUILD_DEPENDS= p5-HTML-Parser>=3.19:../../www/p5-HTML-Parser
-USE_PERL5= YES
+USE_BUILDLINK_ONLY= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Tk/.packlist
MAKE_PARAMS= X11=${BUILDLINK_X11_DIR}
@@ -22,6 +22,7 @@ MAKE_PARAMS= X11=${BUILDLINK_X11_DIR}
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
+.include "../../lang/perl5/buildlink.mk"
.include "../../x11/tk/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"