<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e1464a91e21dfe082a239711dd1fb8bc3537f9c1">https://github.com/macports/macports-ports/commit/e1464a91e21dfe082a239711dd1fb8bc3537f9c1</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 e1464a91e21 tk: fix -L flag order issue
</span>e1464a91e21 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e1464a91e21dfe082a239711dd1fb8bc3537f9c1
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Jun 13 23:42:24 2023 +1000
<span style='display:block; white-space:pre;color:#404040;'> tk: fix -L flag order issue
</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/67062
</span>---
x11/tk/Portfile | 2 ++
x11/tk/files/unix_Makefile.in.patch | 15 +++++++++++++++
2 files changed, 17 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/tk/Portfile b/x11/tk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a49f4d95888..7bf0ee86708 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/tk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/tk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,6 +35,8 @@ depends_lib port:fontconfig \
</span> configure.dir ${worksrcpath}/unix
build.dir ${configure.dir}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles unix_Makefile.in.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # see https://trac.macports.org/ticket/57594
# for upstream report, see https://core.tcl-lang.org/tcl/tktview?name=ad393071c2
patchfiles-append patch-dyld_fallback_library_path.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/tk/files/unix_Makefile.in.patch b/x11/tk/files/unix_Makefile.in.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f1dcf8eacfb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/tk/files/unix_Makefile.in.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix -L flag order when linking wish.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://trac.macports.org/ticket/67062
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- unix/Makefile.in.orig 2022-11-22 06:56:01
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ unix/Makefile.in 2023-06-13 23:30:08
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -621,8 +621,8 @@
</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;'>+ ${WISH_EXE}: $(TK_STUB_LIB_FILE) $(WISH_OBJS) $(TK_LIB_FILE) @APP_RSRC_FILE@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ${CC} ${CFLAGS} ${LDFLAGS} $(WISH_OBJS) @TK_BUILD_LIB_SPEC@ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(WISH_LIBS) $(CC_SEARCH_FLAGS) -o ${WISH_EXE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${CC} ${CFLAGS} $(WISH_OBJS) @TK_BUILD_LIB_SPEC@ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ${LDFLAGS} $(WISH_LIBS) $(CC_SEARCH_FLAGS) -o ${WISH_EXE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Resetting the LIB_RUNTIME_DIR below is required so that
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the generated tktest executable gets the build directory
</span></pre><pre style='margin:0'>
</pre>