aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2002-01-21 12:23:07 +0800
committerdougb <dougb@FreeBSD.org>2002-01-21 12:23:07 +0800
commit65c3c858634a23057341c9f8971f56fd33d82ab3 (patch)
tree26d075646c6e2c6668b67930c25df8f6dff316f9 /x11
parent3bccbccc0462bba26f94538c64e6fe211cb9fe3d (diff)
downloadfreebsd-ports-gnome-65c3c858634a23057341c9f8971f56fd33d82ab3.tar.gz
freebsd-ports-gnome-65c3c858634a23057341c9f8971f56fd33d82ab3.tar.zst
freebsd-ports-gnome-65c3c858634a23057341c9f8971f56fd33d82ab3.zip
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.
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 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 \