[129800] trunk/dports/gnome/gnucash-devel/Portfile

dports at macports.org dports at macports.org
Sat Dec 20 13:31:00 PST 2014


Revision: 129800
          https://trac.macports.org/changeset/129800
Author:   dports at macports.org
Date:     2014-12-20 13:31:00 -0800 (Sat, 20 Dec 2014)
Log Message:
-----------
gnucash-devel: update to v2.6.5; use guile18 instead of guile 2.0 (#46270)
[merge r129799 from gnucash port]

Revision Links:
--------------
    https://trac.macports.org/changeset/129799

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

Property Changed:
----------------
    trunk/dports/gnome/gnucash-devel/Portfile

Modified: trunk/dports/gnome/gnucash-devel/Portfile
===================================================================
--- trunk/dports/gnome/gnucash-devel/Portfile	2014-12-20 21:30:02 UTC (rev 129799)
+++ trunk/dports/gnome/gnucash-devel/Portfile	2014-12-20 21:31:00 UTC (rev 129800)
@@ -6,7 +6,7 @@
 name              gnucash-devel
 conflicts         gnucash
 set my_name       gnucash
-version           2.6.4
+version           2.6.5
 categories        gnome x11
 license           GPL-2+
 maintainers       dports openmaintainer
@@ -32,20 +32,29 @@
 distname          ${my_name}-${version}
 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 \


Property changes on: trunk/dports/gnome/gnucash-devel/Portfile
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk/dports/gnome/gnucash/Portfile:75076,76649,77149,77299,77346,78188,79161,80328,80330,84977,86481,87597,88798,88800,89699,94888,94890,94892,95009,95767,97916,98516,105077,116990,118521,118834-118835,120699,120704,121044,129619
   + /trunk/dports/gnome/gnucash/Portfile:75076,76649,77149,77299,77346,78188,79161,80328,80330,84977,86481,87597,88798,88800,89699,94888,94890,94892,95009,95767,97916,98516,105077,116990,118521,118834-118835,120699,120704,121044,129619,129799
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141220/10ed98df/attachment.html>


More information about the macports-changes mailing list