summaryrefslogtreecommitdiff
path: root/x11/xscreensaver/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2005-09-18 21:31:21 +0000
committerjlam <jlam>2005-09-18 21:31:21 +0000
commita38b59ab83a397229f46b2bf6576109747e53f44 (patch)
treefaafde446ad781572c890756423399d16f153ea3 /x11/xscreensaver/Makefile
parenta8d4e75ad0af9789987acfad3fe55940ac381ccc (diff)
downloadpkgsrc-a38b59ab83a397229f46b2bf6576109747e53f44.tar.gz
Add "pam" PKG_OPTION to x11/xscreensaver. Addresses part of PR pkg/31338.
Bump the PKGREVISION of x11/xscreensaver to 2.
Diffstat (limited to 'x11/xscreensaver/Makefile')
-rw-r--r--x11/xscreensaver/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index 299f47b95ad..e444cb4bfcc 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.75 2005/07/21 10:59:01 tron Exp $
+# $NetBSD: Makefile,v 1.76 2005/09/18 21:31:21 jlam Exp $
COMMENT= Screen saver and locker for the X window system
-PKGREVISION= 1
+PKGREVISION= 2
CONFLICTS+= xscreensaver-gnome<4.14
# man/man1/barcode.1
@@ -14,6 +14,16 @@ CONFIGURE_ARGS+= --with-xml=${BUILDLINK_PREFIX.libxml2}
CONFIGURE_ARGS+= --with-configdir=${PREFIX}/libexec/xscreensaver/config
.include "../../textproc/libxml2/buildlink3.mk"
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.xscreensaver
+PKG_SUPPORTED_OPTIONS= pam
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mpam)
+. include "../../mk/pam.buildlink3.mk"
+CONFIGURE_ARGS+= --with-pam
+.endif
+
.include "../../mk/bsd.pkg.mk"
.if exists(${WRKSRC}/po/ca.gmo)