summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-14 07:41:08 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-05-14 07:41:08 +0800
commit4a1599141c70d3b80cd665189459c8109ace46ab (patch)
tree3493a85bdba7bb5cc772c6345312bc38fccd05d1 /x11
parent70a29b5c65b49d7a583a6a3ebe2a417e5b3c393a (diff)
downloadmarcuscom-ports-4a1599141c70d3b80cd665189459c8109ace46ab.tar
marcuscom-ports-4a1599141c70d3b80cd665189459c8109ace46ab.tar.gz
marcuscom-ports-4a1599141c70d3b80cd665189459c8109ace46ab.tar.bz2
marcuscom-ports-4a1599141c70d3b80cd665189459c8109ace46ab.tar.lz
marcuscom-ports-4a1599141c70d3b80cd665189459c8109ace46ab.tar.xz
marcuscom-ports-4a1599141c70d3b80cd665189459c8109ace46ab.tar.zst
marcuscom-ports-4a1599141c70d3b80cd665189459c8109ace46ab.zip
Add optional PAM support.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6251 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-screensaver/Makefile14
1 files changed, 10 insertions, 4 deletions
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 <marcus@FreeBSD.org>
#
# $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 <bsd.port.pre.mk>
.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" | \