[40415] users/afb/Pinkie/xfce4-session/files/patch-darwin.diff
afb at macports.org
afb at macports.org
Tue Sep 30 23:47:12 PDT 2008
Revision: 40415
http://trac.macports.org/changeset/40415
Author: afb at macports.org
Date: 2008-09-30 23:47:11 -0700 (Tue, 30 Sep 2008)
Log Message:
-----------
clean up xfce4-session patch
Modified Paths:
--------------
users/afb/Pinkie/xfce4-session/files/patch-darwin.diff
Modified: users/afb/Pinkie/xfce4-session/files/patch-darwin.diff
===================================================================
--- users/afb/Pinkie/xfce4-session/files/patch-darwin.diff 2008-10-01 02:53:38 UTC (rev 40414)
+++ users/afb/Pinkie/xfce4-session/files/patch-darwin.diff 2008-10-01 06:47:11 UTC (rev 40415)
@@ -4,8 +4,8 @@
if test x"`uname | grep \"CYGWIN\"`" != x""; then
AC_DEFINE([HAVE_OS_CYGWIN], [1], [Compiling under cygwin])
fi
-+AM_CONDITIONAL([HAVE_OS_DARWIN], [test x"`uname | grep \"DARWIN\"`" != x""])
-+if test "`uname`" = "Darwin"; then
++AM_CONDITIONAL([HAVE_OS_DARWIN], [test x"`uname`" = x"Darwin"])
++if test x"`uname`" = x"Darwin"; then
+ AC_DEFINE([HAVE_OS_DARWIN], [1], [Compiling under darwin])
+fi
@@ -26,7 +26,7 @@
_ACEOF
fi
-+ if test "`uname`" = "Darwin"; then
++ if test x"`uname`" = x"Darwin"; then
+ HAVE_OS_DARWIN_TRUE=
+ HAVE_OS_DARWIN_FALSE='#'
+else
@@ -34,7 +34,7 @@
+ HAVE_OS_DARWIN_FALSE=
+fi
+
-+if test "`uname`" = "Darwin"; then
++if test x"`uname`" = x"Darwin"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_OS_DARWIN 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080930/71405058/attachment.html
More information about the macports-changes
mailing list