summaryrefslogtreecommitdiff
path: root/x11/xscreensaver
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2002-01-21 04:23:07 +0000
committerDoug Barton <dougb@FreeBSD.org>2002-01-21 04:23:07 +0000
commitd8bd7d71ea01cb5f7640ebd272351680d45253d3 (patch)
tree6e719a2f910cc9fc6e4261975e60731f8be23636 /x11/xscreensaver
parento update to 2.11.0. (diff)
A gnome user confirms that the new hooks in xscreensaver work, so
add the WANT_GNOME stuff in a way that looks more or less correct... Thanks to Franz Klammer <klammer@webonaut.com> for giving it a ride.
Notes
Notes: svn path=/head/; revision=53432
Diffstat (limited to 'x11/xscreensaver')
-rw-r--r--x11/xscreensaver/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index 6d47227e0772..fc563ebe60ff 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -19,11 +19,18 @@ USE_X_PREFIX= yes
USE_XPM= yes
USE_MESA= yes
USE_GTK= yes
+WANT_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --without-pam --without-gnome --with-gl --with-gle --with-xpm \
- --with-xml --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \
+CONFIGURE_ARGS= --without-pam --with-gl --with-gle --with-xpm --with-xml \
+ --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \
--with-configdir=${PREFIX}/share/xscreensaver/config/
+.if defined(HAVE_GNOME)
+CONFIGURE_ARGS+= --with-gnome
+.else
+CONFIGURE_ARGS+= --without-gnome
+.endif
+
CONFIGURE_ENV= X_CFLAGS=-I${LOCALBASE}/include/gnome-xml
MAN1= attraction.1 blitspin.1 bouboule.1 braid.1 \