request for help (uberftp) ...

Ryan Schmidt ryandesign at macports.org
Tue Sep 3 14:16:26 PDT 2013


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.



More information about the macports-dev mailing list