request for help (uberftp) ...

Joshua Root jmr at macports.org
Tue Sep 3 14:43:22 PDT 2013


On 2013-9-4 07:16 , Ryan Schmidt wrote:
> 
> On Sep 3, 2013, at 16:14, Peter Danecek wrote:
> 
>> On Sep 3, 2013, at 22:55 , Ryan Schmidt wrote:
>>
>>> gssapi.h is also located at /opt/local/include/gssapi.h as provided by the kerberos5 port. Presumably that is being found first, since -I/opt/local/include precedes -I/opt/local/include/globus in the compile line.
>>
>> Thanks for this hint. I added the following line to the Portfile:
>>
>> configure.cppflags-delete   -I/opt/local/include
>>
>> Would this be the right strategy to solve this, might there by some side effect I am not considering?
> 
> The side effect would be that *if* this totally eliminates -I/opt/local/include from the build line, then the port would be unable to find the headers of other dependencies, on compilers that don't support CPATH (i.e. old versions of clang). But that could be mitigated by additional configure args to explicitly name where the other dependencies are located.

You could change configure.cppflags to use -isystem instead of -I.

- Josh


More information about the macports-dev mailing list