<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a1a4c4133169073f82ebfe1b40b131a9beac9dec">https://github.com/macports/macports-ports/commit/a1a4c4133169073f82ebfe1b40b131a9beac9dec</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a1a4c4133169073f82ebfe1b40b131a9beac9dec
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Oct 3 11:14:24 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> capstone: Build for the right archs
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/57229
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also add maintainer's GitHub handle.
</span>---
devel/capstone/Portfile | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/capstone/Portfile b/devel/capstone/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b8e5603..2175c77 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/capstone/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/capstone/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,9 +4,10 @@ PortSystem 1.0
</span> PortGroup github 1.0
github.setup aquynh capstone 3.0.5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories devel
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers gmail.com:aquynh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:aquynh @aquynh}
</span> license BSD
description Capstone disassembly engine
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,16 +23,21 @@ checksums rmd160 a10436a751acd5f78aba6279787d46a22bd4a744 \
</span> patch.pre_args -p1
patchfiles patch-Makefile.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant universal {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> use_configure no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build.env CC=${configure.cc} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="${configure.cflags}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS="${configure.ldflags}" \
</span> PREFIX=${prefix} \
V=1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBARCHS="[get_canonical_archs]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> eval destroot.env ${build.env}
github.livecheck.regex {([0-9.]+)}
</pre><pre style='margin:0'>
</pre>