summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2012-03-11 03:22:09 +0000
committermarkd <markd@pkgsrc.org>2012-03-11 03:22:09 +0000
commitc689d6fe6886baa7eca9c135bbfa9c6119522a9a (patch)
treeb836b5de8f1431f0b895959d12dd147e64592d2e
parenta5aa07878c57ebcc41a332f66c02fe3cace2701f (diff)
downloadpkgsrc-c689d6fe6886baa7eca9c135bbfa9c6119522a9a.tar.gz
Add pam option. Not enabled by default so no PKGREVISION.
-rw-r--r--x11/xlockmore/Makefile.common12
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"