freebsd-ports/x11/gdm/files/patch-configure
Joe Marcus Clarke 660a0df34f Update to GDM 2.8.0.0.
Submitted by:	sajd on #freebsd-gnome
2005-06-11 02:58:47 +00:00

25 lines
801 B
Text

--- configure.orig Sat Jun 11 03:35:18 2005
+++ configure Sat Jun 11 03:43:21 2005
@@ -22412,6 +22412,8 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <sys/types.h>
+#include <sys/socket.h>
$ac_includes_default
int
main ()
@@ -30210,6 +30212,13 @@
SUSPEND_COMMAND="/usr/openwin/bin/sys-suspend -n"
XSESSION_SHELL=/bin/ksh
;;
+*freebsd*)
+ GDM_USER_PATH="/bin:/usr/bin"
+ HALT_COMMAND="/sbin/shutdown -p now;/usr/sbin/shutdown -p now"
+ REBOOT_COMMAND="/sbin/shutdown -r now;/usr/sbin/shutdown -r now"
+ SUSPEND_COMMAND="/usr/sbin/zzz"
+ XSESSION_SHELL=/bin/sh
+ ;;
*)
GDM_USER_PATH="/bin:/usr/bin"
HALT_COMMAND="/usr/bin/poweroff;/sbin/poweroff;/sbin/shutdown -h now;/usr/sbin/shutdown -h now"