summaryrefslogtreecommitdiff
path: root/net/pchar
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-02-17 21:12:07 +0000
committertron <tron@pkgsrc.org>2002-02-17 21:12:07 +0000
commitfbf5a2a1322429b6bd921c5e504f72609a7442af (patch)
tree2e7b53f9ea4441658778495ad34c965fa09a9a83 /net/pchar
parent35ee5261ceae96078819554f8f7b4f4962edb8ca (diff)
downloadpkgsrc-fbf5a2a1322429b6bd921c5e504f72609a7442af.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/pchar')
-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"