Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / openssh / options.mk
blob00ac71b1e5ad63f04904184a39669edcb6f94f3a
1 # $NetBSD: options.mk,v 1.24 2013/01/11 12:41:16 jperkin Exp $
3 .include "../../mk/bsd.prefs.mk"
5 PKG_OPTIONS_VAR= PKG_OPTIONS.openssh
6 PKG_SUPPORTED_OPTIONS= kerberos hpn-patch pam
8 .include "../../mk/bsd.options.mk"
10 .if !empty(PKG_OPTIONS:Mkerberos)
11 . include "../../mk/krb5.buildlink3.mk"
12 CONFIGURE_ARGS+= --with-kerberos5=${KRB5BASE:Q}
13 . if ${KRB5_TYPE} == "mit-krb5"
14 CONFIGURE_ENV+= ac_cv_search_k_hasafs=no
15 . endif
16 .endif
18 .if !empty(PKG_OPTIONS:Mhpn-patch)
19 PATCHFILES= openssh-6.2p1-hpn13v14.diff
20 PATCH_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/imil/openssh/
21 PATCH_DIST_STRIP= -p1
22 .endif
24 .if !empty(PKG_OPTIONS:Mpam)
25 .include "../../mk/pam.buildlink3.mk"
26 CONFIGURE_ARGS+= --with-pam
27 PLIST_SRC+= ${.CURDIR}/PLIST.pam
28 MESSAGE_SRC+= ${.CURDIR}/MESSAGE.pam
29 MESSAGE_SUBST+= EGDIR=${EGDIR}
30 .endif