<html><head></head><body class="ApplePlainTextBody" dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br>On Jan 13, 2016, at 6:37 AM, Craig Treleaven wrote:<br><br><blockquote type="cite">On Jan 13, 2016, at 2:19 AM, Ryan Schmidt wrote:<br><blockquote type="cite"><br>On Jan 12, 2016, at 1:05 PM, Craig Treleaven wrote:<br><blockquote type="cite"><br>Adding 'configure.env-append &nbsp;&nbsp;&nbsp;PKG_CONFIG_SYSTEM_INCLUDE_PATH=${prefix}/include’ &nbsp;makes the MythTV build work the way it does on Linux (aka “successfully”).<br></blockquote><br>But is that because -I/opt/local/include then gets inserted into the correct place in the compile line, or because -I/opt/local/include is omitted from the compile line and it only works because MacPorts also happens to set CPATH=/opt/local/include and you're using a newer compiler that supports that? (Granted, only very old versions of clang don't support CPATH.)<br></blockquote><br>There is no '-I/opt/local/include' anywhere in my compiler args now so I assume CPATH is used. &nbsp;<br></blockquote><br>I figured.<br><br><blockquote type="cite">BTW, you made me curious. &nbsp;A recent Fedora23 compile log from a Myth’s buildbot is at:<br><br>https://code.mythtv.org/buildbot/builders/master-f23-64bit/builds/104/steps/compile%20core/logs/stdio<br><br>If you search for “-I/usr/include “, the only hits are invocations of Qt’s mod! &nbsp;Never appears in the compiler args.<br></blockquote><br>That's expected because /usr/include is a special location. Compilers know to check there automatically. They do not know to check in /opt/local/include automatically so you have to tell them to check there. The normal should-work-everywhere way to do that is by putting -I/opt/local/include into the CPPFLAGS environment variable. If that causes problems for the myth build, that is a bug in the myth build system that the myth developers should fix.<br><br><blockquote type="cite">So I’m now building the “Myth-blessed” way! &nbsp;;)<br></blockquote><br>It would be silly of them to say that it is not supported to build myth with dependencies installed in a prefix other than /usr.<br><br><br><br></body></html>