diff options
author | markd <markd@pkgsrc.org> | 2012-03-11 03:22:09 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2012-03-11 03:22:09 +0000 |
commit | 81008f120901f155254e63caedd87df97e83f9bb (patch) | |
tree | b836b5de8f1431f0b895959d12dd147e64592d2e /x11/xlockmore | |
parent | 19bc720daeb9592f10f3a06df3a49cf133d25f5f (diff) | |
download | pkgsrc-81008f120901f155254e63caedd87df97e83f9bb.tar.gz |
Add pam option. Not enabled by default so no PKGREVISION.
Diffstat (limited to 'x11/xlockmore')
-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" |