Add LDADD+= and DPADD+= settings so that this builds on sun2 as well,

where we can't rely on shared libraries expressing the needs of the
program.
This commit is contained in:
he 2009-05-17 11:38:42 +00:00
parent 9c2bd94081
commit 8cce58a8c3
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2009/04/23 06:31:55 agc Exp $
# $NetBSD: Makefile,v 1.2 2009/05/17 11:38:42 he Exp $
.include <bsd.own.mk>
@ -11,6 +11,9 @@ LIBNETPGPDIR!= cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
LDADD+= -L${LIBNETPGPDIR} -lnetpgp
DPADD+= ${LIBNETPGPDIR}/libnetpgp.a
LDADD+= -lcrypto -lz -lbz2
DPADD+= ${LIBCRYPTO} ${LIBZ} ${LIBBZ2}
MAN= netpgp.1
# although the code is/was WARNS=4 clean, when linking, there is a warning