[129799] trunk/dports/gnome/gnucash/Portfile

dports at macports.org dports at macports.org
Sat Dec 20 13:30:02 PST 2014


Revision: 129799
          https://trac.macports.org/changeset/129799
Author:   dports at macports.org
Date:     2014-12-20 13:30:02 -0800 (Sat, 20 Dec 2014)
Log Message:
-----------
gnucash: update to v2.6.5; use guile18 instead of guile 2.0 (#46270)

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

Modified: trunk/dports/gnome/gnucash/Portfile
===================================================================
--- trunk/dports/gnome/gnucash/Portfile	2014-12-20 21:28:39 UTC (rev 129798)
+++ trunk/dports/gnome/gnucash/Portfile	2014-12-20 21:30:02 UTC (rev 129799)
@@ -4,7 +4,7 @@
 PortSystem        1.0
 
 name              gnucash
-version           2.6.4
+version           2.6.5
 conflicts         gnucash-devel
 categories        gnome x11
 license           GPL-2+
@@ -27,20 +27,29 @@
 
 use_bzip2         yes
 
-checksums         rmd160  ff11fe50416e971cd77ebca109553e21b5d0d642 \
-                  sha256  0320e4c62a741795648929fd211aca7e816d22b48bc7c54226c99b02c56e34bc
+checksums         rmd160  187632d0622519d468c1d40a8e64601df397c686 \
+                  sha256  b1b1a943a322e7bf7afb0c2202f491560d4734a2036438bf9820378c34203d65
 
 post-patch {
     # gnc-fq-dump needs to be patched to use MacPorts perl.
     # (autoconf takes care of the other perl scripts.)
     reinplace "s|^#!/usr/bin/perl|#!${prefix}/bin/perl5.16|" ${worksrcpath}/src/quotes/gnc-fq-dump
+
+    # patch source files to include guile18 header instead of guile.
+    # (Note that gnucash's autoconf scripts prefer guile18 over guile
+    # if both are installed.)
+    fs-traverse f ${worksrcpath} {
+        if [regexp {\.[ch]$} ${f}] {
+            reinplace -locale C "s|<libguile\\.h>|<libguile18.h>|g" ${f}
+        }
+    }
 }
 
 depends_build     port:pkgconfig \
                   port:intltool \
                   port:libtool
 
-depends_lib       port:guile \
+depends_lib       port:guile18 \
                   port:libgnomeui \
                   path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk \
                   port:goffice08 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141220/e71e5c01/attachment-0001.html>


More information about the macports-changes mailing list