<pre style='margin:0'>
tobypeterson pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/27a41ff42572c3938c67aabd7950d11154bc6874">https://github.com/macports/macports-ports/commit/27a41ff42572c3938c67aabd7950d11154bc6874</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 27a41ff libmatheval: depend on flex
</span>27a41ff is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 27a41ff42572c3938c67aabd7950d11154bc6874
</span>Author: Giovanni Bussi <giovanni.bussi@gmail.com>
AuthorDate: Mon Mar 27 08:04:20 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> libmatheval: depend on flex
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Before this fix, libmatheval was correctly building but
</span><span style='display:block; white-space:pre;color:#404040;'> the resulting dylib was not usable unless port flex
</span><span style='display:block; white-space:pre;color:#404040;'> was not explicitly installed. The reason is that libmatheval
</span><span style='display:block; white-space:pre;color:#404040;'> links flex:
</span><span style='display:block; white-space:pre;color:#404040;'> /opt/local/lib/libmatheval.dylib:
</span><span style='display:block; white-space:pre;color:#404040;'> /opt/local/lib/libmatheval.1.dylib (compatibility version 2.0.0, current version 2.0.0)
</span><span style='display:block; white-space:pre;color:#404040;'> /opt/local/lib/libfl.2.dylib (compatibility version 3.0.0, current version 3.0.0)
</span><span style='display:block; white-space:pre;color:#404040;'> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
</span><span style='display:block; white-space:pre;color:#404040;'> but flex was only listed as a build dependence.
</span>---
math/libmatheval/Portfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/libmatheval/Portfile b/math/libmatheval/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0f8ff43..690a9b2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/libmatheval/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/libmatheval/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,7 +2,7 @@ PortSystem 1.0
</span>
name libmatheval
version 1.1.11
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories math devel
platforms darwin
license GPL-3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,7 +32,8 @@ post-patch {
</span> reinplace "s/libguile.h/libguile18.h/g" ${worksrcpath}/configure ${worksrcpath}/tests/matheval.c
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:guile18 port:flex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:guile18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:flex
</span>
configure.args --infodir=${prefix}/share/info
configure.env-append GUILE=${prefix}/bin/guile18 GUILE_CONFIG=${prefix}/bin/guile18-config GUILE_TOOLS=${prefix}/bin/guile18-tools
</pre><pre style='margin:0'>
</pre>