<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a5ed8499baebc893e06cb2821d28ce43d944dabf">https://github.com/macports/macports-ports/commit/a5ed8499baebc893e06cb2821d28ce43d944dabf</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 a5ed849 qt4-mac: link .pc files into $prefix/lib/pkgconfig to be accessible by default
</span>a5ed849 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a5ed8499baebc893e06cb2821d28ce43d944dabf
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Mon Dec 16 21:44:22 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> qt4-mac: link .pc files into $prefix/lib/pkgconfig to be accessible by default
</span>---
aqua/qt4-mac/Portfile | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt4-mac/Portfile b/aqua/qt4-mac/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ea16ed4..1e51da4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt4-mac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt4-mac/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,7 +11,7 @@ PortGroup compiler_blacklist_versions 1.0
</span>
name qt4-mac
version 4.8.7
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 10
</span> set branch [join [lrange [split ${version} .] 0 1] .]
categories aqua
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1121,6 +1121,17 @@ post-destroot {
</span> ln -s ${qt_frameworks_dir}/QtGui.framework/Resources \
${dr_qt_libs_dir}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # link pkg-config files to where they will be found automatically
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${qt_libs_dir} ne "${prefix}/lib"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt_pc_dir ${qt_libs_dir}/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dr_lib_pc_dir ${destroot}${prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${qt_pc_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach pcfile [glob -nocomplain -tails -directory ${destroot}${qt_pc_dir} *.pc] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_pc_dir}/${pcfile} ${dr_lib_pc_dir}
</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> }
variant odbc description {Enable iODBC SQL Driver} {
</pre><pre style='margin:0'>
</pre>