diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile index 88cbde6de2b2..00bdcfce18b3 100644 --- a/security/isakmpd/Makefile +++ b/security/isakmpd/Makefile @@ -22,6 +22,11 @@ COMMENT= OpenBSD IKE daemon BROKEN= "requires IPsec support" .endif +# If keynote is in use, bring the dependency +.if defined(USE_KEYNOTE) +BUILD_DEPENDS+= keynote:${PORTSDIR}/security/keynote +.endif + USE_OPENSSL= yes USE_REINPLACE= yes WRKSRC= ${WRKDIR}/isakmpd diff --git a/security/isakmpd/files/patch-ab b/security/isakmpd/files/patch-ab index 516941d79013..d60ab0e995c1 100644 --- a/security/isakmpd/files/patch-ab +++ b/security/isakmpd/files/patch-ab @@ -9,3 +9,13 @@ # The mkdir below is for installation on OpenBSD pre 2.7 install: +--- Makefile.orig Wed Oct 9 17:15:53 2002 ++++ Makefile Wed Oct 9 17:16:26 2002 +@@ -164,6 +164,7 @@ + USE_LIBDES= yes + LDADD+= -lkeynote -lm + DPADD+= ${LIBKEYNOTE} ${LIBM} ++POLICY= policy.c + CFLAGS+= -DUSE_KEYNOTE + .endif +