[129585] trunk/dports/science/geda-gaf/Portfile

dports at macports.org dports at macports.org
Mon Dec 15 21:25:26 PST 2014


Revision: 129585
          https://trac.macports.org/changeset/129585
Author:   dports at macports.org
Date:     2014-12-15 21:25:26 -0800 (Mon, 15 Dec 2014)
Log Message:
-----------
geda-gaf: use guile18 port; see #29307

Modified Paths:
--------------
    trunk/dports/science/geda-gaf/Portfile

Modified: trunk/dports/science/geda-gaf/Portfile
===================================================================
--- trunk/dports/science/geda-gaf/Portfile	2014-12-16 05:19:11 UTC (rev 129584)
+++ trunk/dports/science/geda-gaf/Portfile	2014-12-16 05:25:26 UTC (rev 129585)
@@ -6,7 +6,7 @@
 name                geda-gaf
 epoch               1
 version             1.6.2
-revision            2
+revision            3
 set branch          [join [lrange [split ${version} .] 0 1] .]
 platforms           darwin
 categories          science electronics
@@ -30,11 +30,20 @@
 
 depends_build       port:pkgconfig
 depends_lib         port:gtk2 \
-                    port:guile \
+                    port:guile18 \
                     port:libffi
 
 patchfiles          patch-glib-2.32.diff
 
+post-patch {
+    # Use guile18 header files.
+    # (autoconf scripts will prefer guile18 even if guile20 is installed)
+    reinplace s|libguile\.h|libguile18.h|g \
+        ${worksrcpath}/gschem/include/gschem.h \
+        ${worksrcpath}/libgeda/include/libgeda/libgeda.h \
+        ${worksrcpath}/libgeda/include/libgeda_priv.h
+}
+
 configure.args-append   --disable-update-xdg-database
 
 destroot.destdir    DESTDIR=${destroot}/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141215/b49992bb/attachment.html>


More information about the macports-changes mailing list