<pre style='margin:0'>
Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2ced92c172bb798feea94d422e0e4ff242cf77ff">https://github.com/macports/macports-ports/commit/2ced92c172bb798feea94d422e0e4ff242cf77ff</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 2ced92c172b mesa: Don't check for existence of libXplugin header / dylib on modern systems
</span>2ced92c172b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2ced92c172bb798feea94d422e0e4ff242cf77ff
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Wed Jul 1 01:54:10 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> mesa: Don't check for existence of libXplugin header / dylib on modern systems
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/60719
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
x11/mesa/Portfile | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/mesa/Portfile b/x11/mesa/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7662205be3e..284bf54c657 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/mesa/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/mesa/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -100,16 +100,19 @@ platform darwin {
</span> patchfiles-append disable_shader_cache.patch
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ![file exists /usr/include/Xplugin.h] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Xplugin.h is missing on Tiger
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cppflags-append -I${filespath}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Xplugin.h is missing on Tiger
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags-append -I${filespath}/include
</span> }
pre-configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ![file exists /usr/lib/libXplugin.dylib] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "Detected a problem with your development environment. Please work around it by executing:"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "sudo ln -s libXplugin.1.dylib /usr/lib/libXplugin.dylib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "missing libXplugin.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/25677
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ![file exists /usr/lib/libXplugin.dylib] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "Detected a problem with your development environment. Please work around it by executing:"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "sudo ln -s libXplugin.1.dylib /usr/lib/libXplugin.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "missing libXplugin.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
}
</pre><pre style='margin:0'>
</pre>