#25772: texlive-bin build tries to link with icu port due to LDFLAGS and may fail (in icubuild) ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: texlive-bin ---------------------------------+------------------------------------------ Comment(by vinc17@…): With the above change, texlive-bin can be compiled and works. But since some programs are written in C++, perhaps CPLUS_INCLUDE_PATH should be used too. I didn't see any error, but it is still possible that a header file from /usr/include had been used instead of the one from /opt/local/include. An incompatibility may yield build-time or run-time failures. Note that if you want a single environment variable, CPATH could be used (as it is language-independent), but C_INCLUDE_PATH and CPLUS_INCLUDE_PATH are more robust than CPATH, since CPATH is more like -I than -isystem. This means that CPATH would be ignored is a MacPorts version of cpp is used, as ${prefix}/include is a system directory in such a case (however, since ${prefix}/include comes first, it would still have the precedence over /usr/include, and everything should be fine). -- Ticket URL: <http://trac.macports.org/ticket/25772#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS