<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f1aa7a4c6a0c7627c8ea22aa4f7c8a4cdfaf66bf">https://github.com/macports/macports-ports/commit/f1aa7a4c6a0c7627c8ea22aa4f7c8a4cdfaf66bf</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 f1aa7a4 lmdb: Use platform darwin for Darwin-specific parts
</span>f1aa7a4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f1aa7a4c6a0c7627c8ea22aa4f7c8a4cdfaf66bf
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Jun 12 18:22:05 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> lmdb: Use platform darwin for Darwin-specific parts
</span>---
databases/lmdb/Portfile | 25 ++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/lmdb/Portfile b/databases/lmdb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1214003..59c1a51 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/lmdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/lmdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,18 +36,12 @@ use_configure no
</span> variant universal {}
build.args CC="${configure.cc}" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS="${configure.cflags} [get_canonical_archflags]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SOEXT=.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="${configure.cflags} [get_canonical_archflags]"
</span>
destroot.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- prefix=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SOEXT=.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # set install name to the library
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set dylib ${prefix}/lib/liblmdb.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "install_name_tool -id ${dylib} ${destroot}${dylib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ prefix=${prefix}
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span> # install additional documents
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,3 +49,16 @@ post-destroot {
</span> CHANGES COPYRIGHT LICENSE \
${destroot}${docdir}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SOEXT=.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SOEXT=.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dylib ${prefix}/lib/liblmdb.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "install_name_tool -id ${dylib} ${destroot}${dylib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>