summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/openssh-portable/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index 987034efea6c..1bbed11c2659 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -133,14 +133,18 @@ CONFIGURE_LIBS+= -lgssapi_krb5
. endif
# Adapated from 5.7 patch at http://www.sxw.org.uk/computing/patches/
-.if ${PORT_OPTIONS:MKERB_GSSAPI}
+. if ${PORT_OPTIONS:MKERB_GSSAPI}
PATCHFILES+= openssh-6.2p2-gsskex-all-20110125.patch.gz
PATCH_DIST_STRIP=
-.endif
-.if ${OPENSSLBASE} == "/usr"
+. endif
+. if ${OPENSSLBASE} == "/usr"
CONFIGURE_ARGS+= --without-rpath
LDFLAGS= # empty
-.endif
+. endif
+.else
+. if ${PORT_OPTIONS:MKERB_GSSAPI}
+IGNORE= KERB_GSSAPI requires one of MIT HEIMDAL or HEIMDAL_BASE
+. endif
.endif
.if ${OPENSSLBASE} != "/usr"