summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron>2002-02-17 21:12:07 +0000
committertron <tron>2002-02-17 21:12:07 +0000
commit9cac6a7985a37fc47f26a073623fc8ff2e85f697 (patch)
tree2e7b53f9ea4441658778495ad34c965fa09a9a83 /net
parent9c088b7d931b96e46fa6f47227b8118cf2c1a66f (diff)
downloadpkgsrc-9cac6a7985a37fc47f26a073623fc8ff2e85f697.tar.gz
Fix build problems caused by update of "ucd-snmp" package. This fixes
PR pkg/15631 by Michael van Elst.
Diffstat (limited to 'net')
-rw-r--r--net/pchar/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/pchar/Makefile b/net/pchar/Makefile
index 5e8c50e1b5d..ec06197cb2a 100644
--- a/net/pchar/Makefile
+++ b/net/pchar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/09/27 23:18:30 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2002/02/17 21:12:07 tron Exp $
DISTNAME= pchar-1.4
CATEGORIES= net
@@ -20,12 +20,15 @@ CONFIGURE_ARGS+= --with-ipv6
# XXX Not fully integrated
.if ${OPSYS} == "NetBSD"
-DEPENDS+= ucd-snmp-[0-9]*:../../net/ucd-snmp
-CONFIGURE_ARGS+= --with-snmp=${PREFIX}
+.include "..//ucd-snmp/buildlink.mk"
+
+CONFIGURE_ARGS+= --with-snmp=${BUILDLINK_DIR}
+LIBS+= -lsnmp -lssl -lcrypto
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pchar ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/pchar.8 ${PREFIX}/man/man8
+.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"