summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-05 00:10:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-05 00:10:57 +0000
commitf6f94e956255a70c3bc39317d7529a53d644cbe7 (patch)
tree887d5961dba33097988f035ce2b40962a104517d /sbin/isakmpd
parentc20b2a148263b574e0ddce74bcca2f693d1ed7c8 (diff)
must pull -ldes too
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/isakmpd/Makefile b/sbin/isakmpd/Makefile
index d1a94fa0496..1d0fe019263 100644
--- a/sbin/isakmpd/Makefile
+++ b/sbin/isakmpd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.44 2001/08/25 22:22:26 niklas Exp $
+# $OpenBSD: Makefile,v 1.45 2002/03/05 00:10:56 deraadt Exp $
# $EOM: Makefile,v 1.78 2000/10/15 21:33:42 niklas Exp $
#
@@ -161,6 +161,7 @@ SRCS+= dyn.c
.ifdef USE_KEYNOTE
USE_LIBCRYPTO= yes
+USE_LIBDES= yes
LDADD+= -lkeynote -lm
DPADD+= ${LIBKEYNOTE} ${LIBM}
CFLAGS+= -DUSE_KEYNOTE
@@ -177,6 +178,12 @@ LDADD+= -lcrypto
DPADD+= ${LIBCRYPTO}
.endif
+.ifdef USE_LIBDES
+CFLAGS+= -DUSE_LIBDES
+LDADD+= -ldes
+DPADD+= ${LIBDES}
+.endif
+
SRCS+= ${IPSEC_SRCS} ${X509} ${POLICY} ${EC} ${AGGRESSIVE} ${DNSSEC} \
${ISAKMP_CFG}
CFLAGS+= ${IPSEC_CFLAGS} ${DNSSEC_CFLAGS}