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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b2d66c707c60d84c42931832a54b1bb0d65525af">https://github.com/macports/macports-ports/commit/b2d66c707c60d84c42931832a54b1bb0d65525af</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 b2d66c707c6 opencv4: fix logic error, whitespace
</span>b2d66c707c6 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit b2d66c707c60d84c42931832a54b1bb0d65525af
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Wed Feb 10 08:08:20 2021 -0600

<span style='display:block; white-space:pre;color:#404040;'>    opencv4: fix logic error, whitespace
</span>---
 graphics/opencv4/Portfile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/opencv4/Portfile b/graphics/opencv4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index eb12d3f67de..ef8aa3975da 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/opencv4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/opencv4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup           github 1.0
</span> 
 github.setup        opencv opencv 4.5.0
 name                opencv4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            5
</span> categories          graphics science
 platforms           darwin
 license             BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -228,11 +228,11 @@ configure.args-append \
</span>                     -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python \
                     -DPYTHON_DEFAULT_EXECUTABLE:FILEPATH=/usr/bin/python
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        # generate pkg-config file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # generate pkg-config file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     configure.args-append \
</span>                     -DOPENCV_GENERATE_PKGCONFIG=YES
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
 universal_variant   no
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -581,7 +581,7 @@ post-destroot {
</span>     ui_debug "${subport}: phase post-destroot running"
     opencv_post_destroot
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${name} eq ${subport}} {
</span>         # Move opencv4.pc to standard location
         xinstall -d ${destroot}${prefix}/lib/pkgconfig
         move ${destroot}${prefix}/lib/opencv4/pkgconfig/opencv4.pc \
</pre><pre style='margin:0'>

</pre>