<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2fcac45de338a2276682fb3241c865b8daced81b">https://github.com/macports/macports-ports/commit/2fcac45de338a2276682fb3241c865b8daced81b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2fcac45de338a2276682fb3241c865b8daced81b
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Mar 24 00:47:23 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> py27-keybinder: Fix linking with libkeybinder.dylib
</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/37092
</span>---
gnome/keybinder/Portfile | 5 +++--
gnome/keybinder/files/patch_python-keybinder_Makefile.am.diff | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/keybinder/Portfile b/gnome/keybinder/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2147d1692df..d4cbb4e9b9c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/keybinder/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/keybinder/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,7 +12,6 @@ checksums rmd160 7be5b5c87993c5ee1535f7c8b778abb22d638a5e \
</span> size 31727
categories gnome devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers {ryandesign @ryandesign} openmaintainer
license GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,7 +49,7 @@ if {${name} eq ${subport}} {
</span> }
set python.versions {27}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> foreach v ${python.versions} {
set python.version ${v}
set python.branch [string range ${python.version} 0 end-1].[string index ${python.version} end]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,6 +57,8 @@ foreach v ${python.versions} {
</span> set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
subport py${python.version}-keybinder {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:${name} \
port:python${python.version} \
port:py${python.version}-gobject \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/keybinder/files/patch_python-keybinder_Makefile.am.diff b/gnome/keybinder/files/patch_python-keybinder_Makefile.am.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 98e152bb9e5..3523a4fb8d2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/keybinder/files/patch_python-keybinder_Makefile.am.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/keybinder/files/patch_python-keybinder_Makefile.am.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@
</span> _keybinder_la_CPPFLAGS = $(AM_CPPFLAGS) $(X_CFLAGS) $(PYEXTRAFLAGS)
_keybinder_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_keybinder $(X_LDFLAGS)
-_keybinder_la_LIBADD = ../libkeybinder/libkeybinder.la $(PYGTK_LIBS)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+_keybinder_la_LIBADD = $(LIBDIR)/libkeybinder.dylib $(PYGTK_LIBS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++_keybinder_la_LIBADD = -L$(LIBDIR) -lkeybinder $(PYGTK_LIBS)
</span> _keybinder_la_SOURCES = _keybindermodule.c
nodist__keybinder_la_SOURCES = _keybinder.c
</pre><pre style='margin:0'>
</pre>