<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b01bc691925621c47decdc620ca7c18da142f89c">https://github.com/macports/macports-ports/commit/b01bc691925621c47decdc620ca7c18da142f89c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b01bc691925621c47decdc620ca7c18da142f89c
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Wed Nov 22 15:01:52 2017 +0100
<span style='display:block; white-space:pre;color:#404040;'> i686-w64-mingw32-gcc: add notes for wine users
</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/55273
</span>---
cross/i686-w64-mingw32-gcc/Portfile | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i686-w64-mingw32-gcc/Portfile b/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a888e2d..4c7a340 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/cross/i686-w64-mingw32-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,7 +74,19 @@ if {${subport} eq ${name}} {
</span> configure.args-append --enable-threads=posix \
--enable-libgomp
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # TODO: and add notes how to fix wine in regedit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ notes "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ If you want your MinGW-generated windows binaries to work under wine out-of-the-box
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (and they are not statically linked), you can instruct wine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to automatically search for dll-s by running:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wine regedit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Nagivate to:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Session Manager\\Environment\]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ or
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \[HKEY_CURRENT_USER\\Environment\]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and add
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Z:[string map {/ \\} ${prefix}]\\${mingw_target}\\bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to the 'PATH' variable.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "
</span> }
if {${subport} ne "${name}-bootstrap"} {
</pre><pre style='margin:0'>
</pre>