summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/xscreensaver/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index 6d47227..fc563eb 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 \
OpenPOWER on IntegriCloud