<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/44412d7dbfb8102f854a0353ce2645893e83dc17">https://github.com/macports/macports-ports/commit/44412d7dbfb8102f854a0353ce2645893e83dc17</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 44412d7dbfb jemalloc: fix universal build
</span>44412d7dbfb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 44412d7dbfb8102f854a0353ce2645893e83dc17
</span>Author: Ken <21211439+kencu@users.noreply.github.com>
AuthorDate: Sun Jun 19 20:52:34 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> jemalloc: fix universal build
</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/65213
</span>---
devel/jemalloc/Portfile | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/jemalloc/Portfile b/devel/jemalloc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 60aa3274ba9..b3a22918662 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/jemalloc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/jemalloc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup github 1.0
</span> PortGroup muniversal 1.0
github.setup jemalloc jemalloc 5.3.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> license BSD
categories devel
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,6 +31,23 @@ configure.universal_args-delete --disable-dependency-tracking
</span>
configure.args-append --with-jemalloc-prefix=
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_exists universal] && [variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dirs {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${universal_archs_to_use} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend dirs ${worksrcpath}-${arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dirs ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dir ${dirs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Remove architecture-specific differences to allow merging.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E -q {s| --host=[^ ]+||g} ${dir}/bin/jemalloc-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E -q {s| host_alias=[^ ]+||g} ${dir}/bin/jemalloc-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E -q {s| -arch +[^ ]+||g} ${dir}/bin/jemalloc-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # provide a compatibility symlink with the older name
post-destroot {
ln -s jeprof ${destroot}${prefix}/bin/${name}-prof
</pre><pre style='margin:0'>
</pre>