summaryrefslogtreecommitdiff
path: root/net/pchar
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-05 03:57:34 +0000
committerwiz <wiz@pkgsrc.org>2002-10-05 03:57:34 +0000
commit78e8742593a1a7a99b0a953c0eaf45e79fafdd5a (patch)
treea15b8abedce5048465ab354441680dbf30a301a7 /net/pchar
parent1493e9226570f08618014e6e38255c7433160889 (diff)
downloadpkgsrc-78e8742593a1a7a99b0a953c0eaf45e79fafdd5a.tar.gz
Convert to buildlink2.
Diffstat (limited to 'net/pchar')
-rw-r--r--net/pchar/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/pchar/Makefile b/net/pchar/Makefile
index 85ace7a1e92..d8964bce894 100644
--- a/net/pchar/Makefile
+++ b/net/pchar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2002/02/17 21:40:31 tron Exp $
+# $NetBSD: Makefile,v 1.16 2002/10/05 04:01:44 wiz Exp $
DISTNAME= pchar-1.4
CATEGORIES= net
@@ -10,6 +10,7 @@ COMMENT= Tool for measuring Internet path characteristics
GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
@@ -20,9 +21,9 @@ CONFIGURE_ARGS+= --with-ipv6
# XXX Not fully integrated
.if ${OPSYS} == "NetBSD"
-.include "../ucd-snmp/buildlink.mk"
+.include "../ucd-snmp/buildlink2.mk"
-CONFIGURE_ARGS+= --with-snmp=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-snmp=${BUILDLINK_PREFIX.ucd-snmp}
LIBS+= -lsnmp -lcrypto
.endif
@@ -30,5 +31,5 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/pchar.8 ${PREFIX}/man/man8
-.include "../../security/openssl/buildlink.mk"
+.include "../../security/openssl/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"