From 4a1599141c70d3b80cd665189459c8109ace46ab Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 13 May 2006 23:41:08 +0000 Subject: Add optional PAM support. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6251 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gnome-screensaver/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'x11') diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile index 17c4f7c3e..e3eba6f39 100644 --- a/x11/gnome-screensaver/Makefile +++ b/x11/gnome-screensaver/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/x11/gnome-screensaver/Makefile,v 1.40 2006/04/30 19:01:23 ahze Exp $ +# $MCom: ports/x11/gnome-screensaver/Makefile,v 1.41 2006/04/30 19:27:00 ahze Exp $ # PORTNAME= gnome-screensaver PORTVERSION= 2.15.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} @@ -25,8 +25,7 @@ USE_GMAKE= yes USE_GETTEXT= yes GNU_CONFIGURE= yes USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui gnomemenus -CONFIGURE_ARGS= --disable-pam \ - --with-gdm-config=${X11BASE}/etc/gdm/custom.conf \ +CONFIGURE_ARGS= --with-gdm-config=${X11BASE}/etc/gdm/custom.conf \ --with-xscreensaverdir=${XSCREENSAVER_DIR} \ --with-xscreensaverhackdir=${X11BASE}/bin/xscreensaver-hacks CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ @@ -37,12 +36,19 @@ PLIST= ${WRKDIR}/pkg-plist XSCREENSAVER_DIR= ${X11BASE}/share/xscreensaver/config SCREENSAVER_DIR= share/gnome/applications/screensavers + +OPTIONS= PAM "Pluggable Authentication Module support" off + .include .if ${OSVERSION} < 500000 BROKEN= Does not build on 4.X .endif +.if !defined(WITH_PAM) +CONFIGURE_ARGS+= --disable-pam +.endif + pre-install: @${CP} ${.CURDIR}/pkg-plist ${PLIST} @cd ${XSCREENSAVER_DIR} && ${FIND} -s * -maxdepth 1 -type f -name "*.xml" | \ -- cgit v1.2.3