pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/PAM First cut at a common module.mk file to b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/acd9a6fa3829
branches: trunk
changeset: 465900:acd9a6fa3829
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Jan 08 00:08:23 2004 +0000
description:
First cut at a common module.mk file to be included by PAM module packages.
diffstat:
security/PAM/module.mk | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diffs (25 lines):
diff -r 7a69e926113f -r acd9a6fa3829 security/PAM/module.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/PAM/module.mk Thu Jan 08 00:08:23 2004 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: module.mk,v 1.1 2004/01/08 00:08:23 jlam Exp $
+
+.if !defined(PAM_MODULE_MK)
+PAM_MODULE_MK= # defined
+
+.if !defined(NO_BUILDLINK)
+. if empty(USE_BUILDLINK3:M[nN][oO])
+. include "../../security/PAM/buildlink3.mk"
+. elif empty(USE_BUILDLINK2:M[nN][oO])
+. include "../../security/PAM/buildlink2.mk"
+. endif
+.endif
+
+.if defined(DEFAULT_VIEW.pam)
+DEFAULT_VIEW.${PKGBASE}= ${DEFAULT_VIEW.pam}
+.endif
+
+PAM_MODULEDIR= ${VIEWBASE}/lib/security
+PAM_INSTMODULEDIR= ${PREFIX}/${PAM_MODULEDIR:S,${VIEWBASE}/,,}
+
+.endif # PAM_MODULE_MK
Home |
Main Index |
Thread Index |
Old Index