Modified: trunk/dports/gnome/gnucash-devel/Portfile (133443 => 133444)
--- trunk/dports/gnome/gnucash-devel/Portfile 2015-03-01 23:41:00 UTC (rev 133443)
+++ trunk/dports/gnome/gnucash-devel/Portfile 2015-03-01 23:44:10 UTC (rev 133444)
@@ -7,6 +7,7 @@
conflicts gnucash
set my_name gnucash
version 2.6.5
+revision 1
categories gnome x11
license GPL-2+
maintainers dports openmaintainer
@@ -35,6 +36,8 @@
checksums rmd160 187632d0622519d468c1d40a8e64601df397c686 \
sha256 b1b1a943a322e7bf7afb0c2202f491560d4734a2036438bf9820378c34203d65
+patchfiles patch-configure.ac.diff
+
post-patch {
# gnc-fq-dump needs to be patched to use MacPorts perl.
# (autoconf takes care of the other perl scripts.)
@@ -81,6 +84,8 @@
# aqbanking is not universal
universal_variant no
+use_autoreconf yes
+
configure.args --disable-glibtest \
--disable-dependency-tracking \
--disable-aqbanking \
@@ -88,6 +93,10 @@
--disable-dbi \
--with-html-engine=webkit
configure.perl ${prefix}/bin/perl5.16
+configure.env \
+ GUILE=${prefix}/bin/guile18 \
+ GUILE_CONFIG=${prefix}/bin/guile18-config \
+ GUILE_TOOLS=${prefix}/bin/guile18-tools
# this variant is obsolete as the current version of gnucash no longer
# supports libgtkhtml3, only webkit-gtk. It didn't work anyway due to the
Property changes on: trunk/dports/gnome/gnucash-devel/Portfile
___________________________________________________________________
Copied: trunk/dports/gnome/gnucash-devel/files/patch-configure.ac.diff (from rev 133443, trunk/dports/gnome/gnucash/files/patch-configure.ac.diff) (0 => 133444)
--- trunk/dports/gnome/gnucash-devel/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/gnome/gnucash-devel/files/patch-configure.ac.diff 2015-03-01 23:44:10 UTC (rev 133444)
@@ -0,0 +1,25 @@
+--- configure.ac 2014-12-15 17:56:52.000000000 -0500
++++ configure.ac 2015-03-01 17:30:54.000000000 -0500
+@@ -467,21 +467,11 @@
+ [ GUILE1_PROGS ],
+ [ GUILE_PROGS ])])
+ ], [
+- PKG_CHECK_MODULES(GUILE,
+- [guile-2.0 >= 2.0.0],
+- [m4_ifdef([GUILE_PROGS],
+- [ GUILE_PROGS
+- gnc_have_guile_2=yes ],
+- [ AC_MSG_ERROR([ guile 2 is found on your system, but appears
+- to export different autoconf macros than what we expected. Please report this as a bug
+- in GnuCash, so we can fix this for your platform.]) ])
+- ],
+- [AC_MSG_ERROR([
++ AC_MSG_ERROR([
+ guile does not appear to be installed correctly, or is not in the
+ correct version range. Perhaps you have not installed the guile
+ development packages? Gnucash requires at least version 1.8.5 to build.
+ ])])
+-])
+
+ AM_CONDITIONAL(GNC_HAVE_GUILE_2, test "${gnc_have_guile_2}" = yes)
+ AC_SUBST(GUILE_EFFECTIVE_VERSION)