[88800] trunk/dports/gnome/gnucash

dports at macports.org dports at macports.org
Wed Jan 11 21:17:22 PST 2012


Revision: 88800
          http://trac.macports.org/changeset/88800
Author:   dports at macports.org
Date:     2012-01-11 21:17:17 -0800 (Wed, 11 Jan 2012)
Log Message:
-----------
gnucash: work around a configure bug that causes --disable-dbi to be
ignored

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

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

Modified: trunk/dports/gnome/gnucash/Portfile
===================================================================
--- trunk/dports/gnome/gnucash/Portfile	2012-01-12 00:39:18 UTC (rev 88799)
+++ trunk/dports/gnome/gnucash/Portfile	2012-01-12 05:17:17 UTC (rev 88800)
@@ -5,6 +5,7 @@
 
 name              gnucash
 version           2.4.9
+revision          1
 categories        gnome x11
 license           GPL-2+
 maintainers       dports openmaintainer
@@ -33,6 +34,10 @@
 # to use dbus-launch or muck with DYLD_LIBRARY_PATH.
 patchfiles        patch-configure.diff
 
+# work around a bug with --disable-dbi:
+# https://bugzilla.gnome.org/show_bug.cgi?id=665245
+patchfiles-append patch-configure-dbi.diff
+
 post-patch {
     # gnc-fq-dump needs to be patched to use MacPorts perl.
     # (autoconf takes care of the other perl scripts.)

Added: trunk/dports/gnome/gnucash/files/patch-configure-dbi.diff
===================================================================
--- trunk/dports/gnome/gnucash/files/patch-configure-dbi.diff	                        (rev 0)
+++ trunk/dports/gnome/gnucash/files/patch-configure-dbi.diff	2012-01-12 05:17:17 UTC (rev 88800)
@@ -0,0 +1,11 @@
+--- configure.orig	2012-01-11 23:35:54.000000000 -0500
++++ configure	2012-01-11 23:36:35.000000000 -0500
+@@ -21155,7 +21155,7 @@
+   CUSTOM_GNC_DBD_DIR_FALSE=
+ fi
+ 
+- if test "x$ac_cv_header_dbi_dbi_h" != xno; then
++ if test "x$want_dbi" != xfalse; then
+   WITH_DBI_TRUE=
+   WITH_DBI_FALSE='#'
+ else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120111/950f80bb/attachment.html>


More information about the macports-changes mailing list