<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/09e350ec000734f1e0f76d5a455fbe5d711e610a">https://github.com/macports/macports-ports/commit/09e350ec000734f1e0f76d5a455fbe5d711e610a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 09e350ec000734f1e0f76d5a455fbe5d711e610a
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Jun 11 03:05:59 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> gettext-runtime: Add deactivate hack
</span>---
devel/gettext/Portfile | 11 +++++++++++
1 file changed, 11 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gettext/Portfile b/devel/gettext/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1a40c0740db..a966cfe5bd1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gettext/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gettext/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,6 +77,17 @@ subport ${name}-runtime {
</span> delete ${destroot}${prefix}/lib/charset.alias
delete ${destroot}${prefix}/share/locale/locale.alias
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # gettext < 0.20 installed files now installed by gettext-runtime.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # This deactivate hack can be removed after June 2021.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![catch {set installed [lindex [registry_active gettext] 0]}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set _version [lindex $installed 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp $_version 0.20] < 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ registry_deactivate_composite gettext "" [list ports_nodepcheck 1]
</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> }
subport ${name}-libtextstyle {
</pre><pre style='margin:0'>
</pre>