diff options
author | markd <markd> | 2012-03-11 03:22:09 +0000 |
---|---|---|
committer | markd <markd> | 2012-03-11 03:22:09 +0000 |
commit | 25ca479b775cae0490f3c40cdb817f2dffc808c5 (patch) | |
tree | b836b5de8f1431f0b895959d12dd147e64592d2e /x11 | |
parent | e5313b919919c2aa694106d8325f35e4b73f7dc4 (diff) | |
download | pkgsrc-25ca479b775cae0490f3c40cdb817f2dffc808c5.tar.gz |
Add pam option. Not enabled by default so no PKGREVISION.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xlockmore/Makefile.common | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/x11/xlockmore/Makefile.common b/x11/xlockmore/Makefile.common index 9ce353bb4e6..5cc8416a1ff 100644 --- a/x11/xlockmore/Makefile.common +++ b/x11/xlockmore/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.62 2012/02/18 23:50:33 elric Exp $ +# $NetBSD: Makefile.common,v 1.63 2012/03/11 03:22:09 markd Exp $ # # This Makefile.common is included by: # @@ -29,7 +29,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews .include "../../mk/bsd.prefs.mk" PKG_OPTIONS_VAR= PKG_OPTIONS.xlockmore -PKG_SUPPORTED_OPTIONS= xlockmore-allow-root xlockmore-dpms +PKG_SUPPORTED_OPTIONS= xlockmore-allow-root xlockmore-dpms pam .if ${OPSYS} == "NetBSD" PKG_SUPPORTED_OPTIONS+= oss .endif @@ -80,6 +80,13 @@ CONFIGURE_ENV+= ac_cv_path_dpms=${DPMS_ENV:Q} CONFIGURE_ARGS+= --disable-allow-root .endif +.if !empty(PKG_OPTIONS:Mpam) +. include "../../mk/pam.buildlink3.mk" +CONFIGURE_ARGS+= --enable-pam +.else +CONFIGURE_ARGS+= --disable-pam +.endif + # # Special permissions of bin/xlock if any. # @@ -95,6 +102,7 @@ SPECIAL_PERMS+= bin/xlock ${REAL_ROOT_USER} shadow 2511 # the inherited full dependency #BUILDLINK_DEPMETHOD.libXt?= build +.include "../../graphics/ImageMagick/buildlink3.mk" .include "../../x11/libICE/buildlink3.mk" .include "../../x11/libSM/buildlink3.mk" .include "../../x11/libX11/buildlink3.mk" |