<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/dcb3c55c579b8ad3612fcc5180539b5e30b90fbd">https://github.com/macports/macports-ports/commit/dcb3c55c579b8ad3612fcc5180539b5e30b90fbd</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 dcb3c55c579 libreoffice: remove calls to pkg-config
</span>dcb3c55c579 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit dcb3c55c579b8ad3612fcc5180539b5e30b90fbd
</span>Author: Andrew Udvare <audvare@gmail.com>
AuthorDate: Thu Feb 11 02:33:19 2021 -0500

<span style='display:block; white-space:pre;color:#404040;'>    libreoffice: remove calls to pkg-config
</span>---
 office/libreoffice/Portfile | 20 +++++---------------
 1 file changed, 5 insertions(+), 15 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/office/libreoffice/Portfile b/office/libreoffice/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c686af170b4..ae4a94de5f1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/office/libreoffice/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/office/libreoffice/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -163,23 +163,13 @@ pre-configure {
</span> 
 use_xcode           yes
 # CMS_NO_REGISTER_KEYWORD required for C++17 or newer compiler.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# PYTHON_CFLAGS and PYTHON_LIBS have to be non-empty
</span> configure.env-append  \
     "LCMS2_CFLAGS=-I${prefix}/include -DCMS_NO_REGISTER_KEYWORD=1" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    PYTHON=${prefix}/bin/python${pyver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # PYTHON_CFLAGS and PYTHON_LIBS have to be non-empty
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    set python_cflags [exec pkg-config --cflags python-${pyver}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    set python_libs [exec pkg-config --libs python-${pyver}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${python_cflags} == ""} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        set python_cflags "-I${prefix}/include"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${python_libs} == ""} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        set python_libs "-L${prefix}/lib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        PYTHON_CFLAGS=${python_cflags} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        PYTHON_LIBS=${python_libs}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    PYTHON=${prefix}/bin/python${pyver} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    PYTHON_CFLAGS=-I${frameworks_dir}/Python.framework/Versions/${pyver}/include/python${pyver} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    "PYTHON_LIBS=-L${frameworks_dir}/Python.framework/Versions/${pyver}/lib -lpython${pyver} -ldl -framework CoreFoundation"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Most arguments are from
 # https://wiki.documentfoundation.org/LibreOffice_Vanilla_for_Mac#LibreOffice_Vanilla
 configure.args-append  \
</pre><pre style='margin:0'>

</pre>