diff options
-rw-r--r-- | mk/pam.buildlink3.mk | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/mk/pam.buildlink3.mk b/mk/pam.buildlink3.mk index 00d366ab480..6d74b79f2a6 100644 --- a/mk/pam.buildlink3.mk +++ b/mk/pam.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: pam.buildlink3.mk,v 1.3 2005/01/14 07:54:20 jlam Exp $ +# $NetBSD: pam.buildlink3.mk,v 1.4 2005/04/25 14:21:47 tv Exp $ # # This Makefile fragment is meant to be included by packages that # require a PAM implementation. pam.buildlink3.mk will: @@ -25,7 +25,19 @@ PAM_BUILDLINK3_MK:= ${PAM_BUILDLINK3_MK}+ # This is an exhaustive list of all of the PAM implementations # that may be used with PAM.buildlink3.mk, in order of precedence. # -_PAM_PKGS?= linux-pam openpam solaris-pam +# OS conditionals can exclude implementations not available on +# some platforms. +# +.if ${OPSYS} != "Interix" +_PAM_PKGS+= linux-pam +.endif + +.if ${OPSYS} != "Interix" +_PAM_PKGS+= openpam +.endif + +# builtin only, so no conditional needed +_PAM_PKGS+= solaris-pam BUILDLINK_BUILTIN_MK.linux-pam= ../../security/PAM/builtin.mk BUILDLINK_BUILTIN_MK.openpam= ../../security/openpam/builtin.mk |