summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>2000-10-07 06:59:32 +0000
committerniklas <niklas@openbsd.org>2000-10-07 06:59:32 +0000
commit44e389476e315294791b9fbfdda8f2e7c42ac557 (patch)
tree244674d9f573f3d4224cbb0e279376099b7a9757
parentMerge with EOM 1.42 (diff)
downloadwireguard-openbsd-44e389476e315294791b9fbfdda8f2e7c42ac557.tar.xz
wireguard-openbsd-44e389476e315294791b9fbfdda8f2e7c42ac557.zip
Merge with EOM 1.14
author: ho Add USE_KEYNOTE if policy feature is active
-rw-r--r--sbin/isakmpd/sysdep/openbsd/Makefile.sysdep9
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep b/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep
index 183d647ab44..b6abb458160 100644
--- a/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep
+++ b/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile.sysdep,v 1.8 2000/04/07 22:10:40 niklas Exp $
-# $EOM: Makefile.sysdep,v 1.13 2000/04/07 22:05:57 niklas Exp $
+# $OpenBSD: Makefile.sysdep,v 1.9 2000/10/07 06:59:32 niklas Exp $
+# $EOM: Makefile.sysdep,v 1.14 2000/09/12 16:31:22 ho Exp $
#
# Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved.
@@ -44,7 +44,12 @@ CFLAGS+= -DSYMBOL_PREFIX='"_"'
.endif
USE_LIBCRYPTO= defined
+
+.ifdef FEATURES
+.if ${FEATURES:Mpolicy} == "policy"
USE_KEYNOTE= defined
+.endif
+.endif
.ifndef USE_LIBCRYPTO
DESLIB= -ldes