diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-08 00:08:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-08 00:08:23 +0000 |
commit | 3d57ea1af7f25a851fdbd2f50b5412a5688678ee (patch) | |
tree | 8ec36d0851999f47ca807db55ba9d2690fc5a7b2 /security/PAM | |
parent | 727f2c9aa1f0d9b71c683fe24f16097001149d31 (diff) | |
download | pkgsrc-3d57ea1af7f25a851fdbd2f50b5412a5688678ee.tar.gz |
First cut at a common module.mk file to be included by PAM module packages.
Diffstat (limited to 'security/PAM')
-rw-r--r-- | security/PAM/module.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/security/PAM/module.mk b/security/PAM/module.mk new file mode 100644 index 00000000000..090f3d9b2b2 --- /dev/null +++ b/security/PAM/module.mk @@ -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 |