pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Add OS conditional blocks to exclude some PAM imple...
details: https://anonhg.NetBSD.org/pkgsrc/rev/89b9ad7beb42
branches: trunk
changeset: 493011:89b9ad7beb42
user: tv <tv%pkgsrc.org@localhost>
date: Mon Apr 25 14:21:47 2005 +0000
description:
Add OS conditional blocks to exclude some PAM implementations from
selection, thus allowing "none" to be a correct result on systems where
PAM is currently unavailable.
diffstat:
mk/pam.buildlink3.mk | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 27941afd4e4f -r 89b9ad7beb42 mk/pam.buildlink3.mk
--- a/mk/pam.buildlink3.mk Mon Apr 25 13:54:39 2005 +0000
+++ b/mk/pam.buildlink3.mk Mon Apr 25 14:21:47 2005 +0000
@@ -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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index