1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/x11/workrave/files/patch-configure
Martin Wilke 61f6fcd5fc - Update to 1.10.1
PR:		190906
Submitted by:	ports fury
2014-06-14 05:59:13 +00:00

40 lines
926 B
Plaintext

--- configure.orig
+++ configure
@@ -19237,36 +19237,6 @@
enable_monitors="${enable_monitors}x11events"
fi
- loop=${enable_monitors},
-
- while echo $loop | grep \, &> /dev/null
- do
- monitor=${loop%%\,*}
- loop=${loop#*\,}
-
- case "$monitor" in
- record)
- if test "x$have_xrecord" != "xyes" ; then
- as_fn_error $? "record activity monitor not supported." "$LINENO" 5
- fi
- ;;
-
- x11events)
- ;;
-
- screensaver)
- if test "x$have_xscreensaver" != "xyes" ; then
- as_fn_error $? "screensaver activity monitor not supported." "$LINENO" 5
- fi
- ;;
-
- *)
- as_fn_error $? "unknown activity monitor: $monitor" "$LINENO" 5
- ;;
-
- esac
- done
-
cat >>confdefs.h <<_ACEOF
#define HAVE_MONITORS "$enable_monitors"