<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/92ce36b1a8661f15e490f526faa63b05682bb5b4">https://github.com/macports/macports-ports/commit/92ce36b1a8661f15e490f526faa63b05682bb5b4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 92ce36b1a8661f15e490f526faa63b05682bb5b4
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sun May 6 13:29:15 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> librsvg: simplify cargo dependency logic
</span>---
graphics/librsvg/Portfile | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/librsvg/Portfile b/graphics/librsvg/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index edde606..56e78b3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/librsvg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/librsvg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,9 +26,7 @@ checksums rmd160 3391bb15defd5ae046393258bcf620599cda5f66 \
</span> sha256 0c550a0bffef768a436286116c03d9f6cd3f97f5021c13e7f093b550fac12562 \
size 6054020
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cargo \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:rust
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:pkgconfig
</span>
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/pkgconfig/cairo.pc:cairo \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,13 +57,13 @@ if {${os.platform} eq "darwin" && ${os.major} < 13} {
</span> checksums rmd160 e697e1220779f77e81a890718ef5cda5b5e6b740 \
sha256 cff4dd3c3b78bfe99d8fcfad3b8ba1eee3289a0823c0e118d78106be6b84c92b \
size 1796376
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-delete \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:cargo \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:rust
</span> } else {
PortGroup cargo_fetch 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # cargo_fetch appends cargo build dependency
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:rust
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # when CARGO_BUILD_TARGET is set, directory structure changes
patchfiles-append \
patch-configure-rust_target_subdir.diff
</pre><pre style='margin:0'>
</pre>