[129612] trunk/dports/math/libmatheval/Portfile

dports at macports.org dports at macports.org
Tue Dec 16 15:58:01 PST 2014


Revision: 129612
          https://trac.macports.org/changeset/129612
Author:   dports at macports.org
Date:     2014-12-16 15:58:01 -0800 (Tue, 16 Dec 2014)
Log Message:
-----------
libmatheval: use guile18 instead of guile to build; see #29307

Modified Paths:
--------------
    trunk/dports/math/libmatheval/Portfile

Modified: trunk/dports/math/libmatheval/Portfile
===================================================================
--- trunk/dports/math/libmatheval/Portfile	2014-12-16 23:54:56 UTC (rev 129611)
+++ trunk/dports/math/libmatheval/Portfile	2014-12-16 23:58:01 UTC (rev 129612)
@@ -4,6 +4,7 @@
 
 name		libmatheval
 version		1.1.11
+revision        1
 categories	math devel
 platforms	darwin
 license		GPL-3
@@ -26,12 +27,17 @@
 checksums           md5     595420ea60f6ddd75623847f46ca45c4 \
                     rmd160  e48bbe2fdae4237e4e455ea84b10a53874124312 \
                     sha256  474852d6715ddc3b6969e28de5e1a5fbaff9e8ece6aebb9dc1cc63e9e88e89ab
-patchfiles		patch-config.h.in.diff
+#patchfiles		patch-config.h.in.diff
 
-depends_build	port:guile port:flex
+post-patch {
+    reinplace "s/-lguile/-lguile18/" ${worksrcpath}/configure
+    reinplace "s/libguile.h/libguile18.h/g" ${worksrcpath}/configure ${worksrcpath}/tests/matheval.c
+}
 
+depends_build	port:guile18 port:flex
+
 configure.args	--infodir=${prefix}/share/info
-configure.env-append	GUILE=${prefix}/bin/guile GUILE_CONFIG=${prefix}/bin/guile-config GUILE_TOOLS=${prefix}/bin/guile-tools
+configure.env-append	GUILE=${prefix}/bin/guile18 GUILE_CONFIG=${prefix}/bin/guile18-config GUILE_TOOLS=${prefix}/bin/guile18-tools
 
 test.run		yes
 test.target		check
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141216/382d9893/attachment.html>


More information about the macports-changes mailing list