summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2003-02-17 15:27:58 +0000
committerdillo <dillo@pkgsrc.org>2003-02-17 15:27:58 +0000
commit5f4ad95078bf93b70aba68eb54ae3ff92d1a0f54 (patch)
tree1af7ef2b2bc5ea7a4f444fbcd0608162da7f6fc3 /net
parentf1349125eb73cfee536105a66c0bab7c5347b686 (diff)
downloadpkgsrc-5f4ad95078bf93b70aba68eb54ae3ff92d1a0f54.tar.gz
convert to use test target from bsd.pkg.mk
addresses PR pkg/19416
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-DNS/Makefile6
-rw-r--r--net/p5-SNMP/Makefile6
2 files changed, 4 insertions, 8 deletions
diff --git a/net/p5-Net-DNS/Makefile b/net/p5-Net-DNS/Makefile
index d7b00678de2..aa50e135eff 100644
--- a/net/p5-Net-DNS/Makefile
+++ b/net/p5-Net-DNS/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2002/10/06 02:37:56 heinz Exp $
+# $NetBSD: Makefile,v 1.8 2003/02/17 15:28:02 dillo Exp $
#
DISTNAME= Net-DNS-0.29
@@ -18,12 +18,10 @@ DEPENDS+= p5-MIME-Base64>=2.11:../../converters/p5-MIME-Base64
BUILDLINK_DEPENDS.perl= perl>=5.6.0
USE_BUILDLINK2= YES
+TEST_TARGET= test
PERL5_CONFIGURE= YES
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Net/DNS/.packlist
-test: build
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKEFLAGS} test
-
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-SNMP/Makefile b/net/p5-SNMP/Makefile
index 6a73fc130e8..02a3278e138 100644
--- a/net/p5-SNMP/Makefile
+++ b/net/p5-SNMP/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2002/10/27 20:48:58 seb Exp $
+# $NetBSD: Makefile,v 1.14 2003/02/17 15:28:02 dillo Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1997/06/27 01:53:13 jfitz Exp
#
@@ -13,6 +13,7 @@ MAINTAINER= packages@netbsd.org
COMMENT= Perl5 module for interfacing to the UCD SNMP library
USE_BUILDLINK2= YES
+TEST_TARGET= test
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/SNMP/.packlist
# Until the source catches up to the current Perl API, we need PERL_POLLUTE
@@ -30,9 +31,6 @@ post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-SNMP
@for i in ${PLFILES} ; do ${INSTALL_SCRIPT} ${WRKDIR}/$$i ${PREFIX}/share/examples/p5-SNMP/$$i ; done
-test:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} test
-
.include "../../lang/perl5/module.mk"
.include "../../net/ucd-snmp/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"