diff options
author | jlam <jlam@pkgsrc.org> | 2005-01-14 05:15:39 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-01-14 05:15:39 +0000 |
commit | 5702523c4e7769f20b96f64637baa4ab8cf2bc7e (patch) | |
tree | 36720cad74f7b206737993c7c57d987ba77a74d6 /security/PAM | |
parent | 05820dbfe4bcc088ff7689a7382cb6ae342db9ab (diff) | |
download | pkgsrc-5702523c4e7769f20b96f64637baa4ab8cf2bc7e.tar.gz |
Create a pam.buildlink3.mk file that is used by PAM-using packages.
It includes the correct buildlink3.mk file from either Linux-PAM
(security/PAM) or OpenPAM (security/openpam) and eventually will
support solaris-pam. pam.buildlink3.mk will:
* set PAMBASE to the base directory of the PAM files;
* set PAM_TYPE to the PAM implementation used.
There are two variables that can be used to tweak the selection of
the PAM implementation:
PAM_DEFAULT is a user-settable variable whose value is the default
PAM implementation to use.
PAM_ACCEPTED is a package-settable list of PAM implementations
that may be used by the package.
Modify most packages that include PAM/buildlink3.mk to include
pam.buildlink3.mk instead.
Diffstat (limited to 'security/PAM')
-rw-r--r-- | security/PAM/module.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/security/PAM/module.mk b/security/PAM/module.mk index 45e1c420f8b..67cd4cef241 100644 --- a/security/PAM/module.mk +++ b/security/PAM/module.mk @@ -1,14 +1,14 @@ -# $NetBSD: module.mk,v 1.3 2005/01/14 00:08:46 jlam Exp $ +# $NetBSD: module.mk,v 1.4 2005/01/14 05:15:39 jlam Exp $ .if !defined(PAM_MODULE_MK) PAM_MODULE_MK= # defined .if empty(USE_BUILDLINK3:M[nN][oO]) -. include "../../security/PAM/buildlink3.mk" +. include "../../mk/pam.buildlink3.mk" .endif -.if defined(DEFAULT_VIEW.linux-pam) -DEFAULT_VIEW.${PKGBASE}= ${DEFAULT_VIEW.linux-pam} +.if defined(DEFAULT_VIEW.${PAM_TYPE}) +DEFAULT_VIEW.${PKGBASE}= ${DEFAULT_VIEW.${PAM_TYPE}} .endif PAM_MODULEDIR= ${VIEWBASE}/lib/security |