summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-03-05 00:10:56 +0000
committerderaadt <deraadt@openbsd.org>2002-03-05 00:10:56 +0000
commitc6487bed5085cd590d739f9f3b493c939a5541ab (patch)
tree9284a0cd26a28052a75d8c2edcc64b99b4c28883
parenthandle constification from new openssl (diff)
downloadwireguard-openbsd-c6487bed5085cd590d739f9f3b493c939a5541ab.tar.xz
wireguard-openbsd-c6487bed5085cd590d739f9f3b493c939a5541ab.zip
must pull -ldes too
-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}