diff options
Diffstat (limited to 'x11/xscreensaver/Makefile')
-rw-r--r-- | x11/xscreensaver/Makefile | 14 |
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) |