[75076] trunk/dports/gnome/gnucash

dports at macports.org dports at macports.org
Fri Jan 14 16:11:07 PST 2011


Revision: 75076
          http://trac.macports.org/changeset/75076
Author:   dports at macports.org
Date:     2011-01-14 16:10:59 -0800 (Fri, 14 Jan 2011)
Log Message:
-----------
gnucash: do not use the OS X/Quartz-specific environment variable
setup even if we are building +no_x11; the standard unix setup is
actually better for our environment because we don't need dbus-launch
or any DYLD_LIBRARY_PATH hacking (see #27938)

Modified Paths:
--------------
    trunk/dports/gnome/gnucash/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gnucash/files/patch-configure.diff

Modified: trunk/dports/gnome/gnucash/Portfile
===================================================================
--- trunk/dports/gnome/gnucash/Portfile	2011-01-14 23:31:24 UTC (rev 75075)
+++ trunk/dports/gnome/gnucash/Portfile	2011-01-15 00:10:59 UTC (rev 75076)
@@ -5,6 +5,7 @@
 
 name              gnucash
 version           2.4.0
+revision          1
 categories        gnome x11
 maintainers       dports openmaintainer
 platforms         darwin
@@ -25,6 +26,13 @@
 
 use_bzip2         yes
 
+# patch configure to not set PLATFORM_OSX_QUARTZ even if we are
+# running gtk +quartz because we want gnucash to set up its
+# environment the same way it does for regular builds, rather than
+# using the gnucash-setup-environment script for OS X. We don't need
+# to use dbus-launch or muck with DYLD_LIBRARY_PATH.
+patchfiles        patch-configure.diff
+
 checksums         md5     3d396acb05a062adfc85bc9c4f8f0b08 \
                   sha1    dd89e3c3d87b0c0c4f3f5ffd886363783d5d5576 \
                   rmd160  ca762a18d18560c44f1bb87fe8bfd7967cccd365

Added: trunk/dports/gnome/gnucash/files/patch-configure.diff
===================================================================
--- trunk/dports/gnome/gnucash/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/gnome/gnucash/files/patch-configure.diff	2011-01-15 00:10:59 UTC (rev 75076)
@@ -0,0 +1,18 @@
+--- configure.orig	2011-01-14 17:48:00.000000000 -0500
++++ configure	2011-01-14 17:48:23.000000000 -0500
+@@ -14681,13 +14681,8 @@
+   PLATFORM_OSX_FALSE=
+ fi
+ 
+- if test "x$platform" = "xdarwin/quartz"; then
+-  PLATFORM_OSX_QUARTZ_TRUE=
+-  PLATFORM_OSX_QUARTZ_FALSE='#'
+-else
+-  PLATFORM_OSX_QUARTZ_TRUE='#'
+-  PLATFORM_OSX_QUARTZ_FALSE=
+-fi
++PLATFORM_OSX_QUARTZ_TRUE='#'
++PLATFORM_OSX_QUARTZ_FALSE=
+ 
+  if test "x$platform" = "xwin32"; then
+   PLATFORM_WIN32_TRUE=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110114/a26a2fa8/attachment.html>


More information about the macports-changes mailing list