#42756: macports doesn't compile with bundled tcl ----------------------------+-------------------------------- Reporter: xeron.oskom@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: | Keywords: Port: | ----------------------------+-------------------------------- Comment (by cal@…): Replying to [ticket:42756 xeron.oskom@…]:
tcl bundled macports coudn't be compiled if tcl already installed and $LDFLAGS and/or $CPPFLAGS include macports dirs
What's your use case for doing this anyway? I'd say it's a bad idea and unsupported; we even strip MacPorts dirs from $PATH deliberately at the beginning of `./configure`. I could extend the check to remove `-I$prefix/include` from `CPPFLAGS` and `-L$prefix/lib` from `LDFLAGS`, but that would be unexpected to a user actually specifying them. I think this is a user error – feel free to convince me that it isn't, and if you can suggest how this can be solved. -- Ticket URL: <https://trac.macports.org/ticket/42756#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X