summaryrefslogtreecommitdiff
path: root/x11/gnome-screensaver
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-05-13 23:38:15 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-05-13 23:38:15 +0000
commit8390d733e552ee5db830eb2f73d94c154778a8f6 (patch)
tree24c7325f79d39f597dec8f4ecfa20f1898dd153a /x11/gnome-screensaver
parentRemove obsolete patch, forgotten in previous commit. (diff)
Allow PAM support to be enabled in gnome-screensaver. g-s will use the
"other" PAM service since OpenPAM does not recognize ${X11BASE}/etc/pam.d. Requested by: Sean McNeil <sean@mcneil.com>
Notes
Notes: svn path=/head/; revision=162268
Diffstat (limited to 'x11/gnome-screensaver')
-rw-r--r--x11/gnome-screensaver/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile
index 5b0d5859d48b..0591edb484bb 100644
--- a/x11/gnome-screensaver/Makefile
+++ b/x11/gnome-screensaver/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gnome-screensaver
PORTVERSION= 2.14.1
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -23,8 +24,7 @@ USE_X_PREFIX= yes
USE_GMAKE= 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" \
@@ -36,12 +36,18 @@ PLIST= ${WRKDIR}/pkg-plist
XSCREENSAVER_DIR= ${X11BASE}/share/xscreensaver/config
+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+= --without-pam
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/configure