Revision: 74238 http://trac.macports.org/changeset/74238 Author: michaelld@macports.org Date: 2010-12-08 06:51:18 -0800 (Wed, 08 Dec 2010) Log Message: ----------- KDE 1.1 PortGroup: Make sure to not use any already installed headers and libraries by removing -I${prefix}/include and -L${prefix}/lib from standaard configure variables. Reasons: (1) These are already set in the standard CPATH and LIBRARY_PATH; and (2) CMake is installed into ${prefix}, and so these paths are already in the CMake header and library search path. Modified Paths: -------------- trunk/dports/_resources/port1.0/group/kde4-1.1.tcl Modified: trunk/dports/_resources/port1.0/group/kde4-1.1.tcl =================================================================== --- trunk/dports/_resources/port1.0/group/kde4-1.1.tcl 2010-12-08 14:45:11 UTC (rev 74237) +++ trunk/dports/_resources/port1.0/group/kde4-1.1.tcl 2010-12-08 14:51:18 UTC (rev 74238) @@ -37,6 +37,11 @@ PortGroup cmake 1.0 PortGroup qt4 1.0 +# Make sure to not use any already installed headers and libraries; +# these are set in CPATH and LIBRARY_PATH anyway. +configure.ldflags-delete -L${prefix}/lib +configure.cppflags-delete -I${prefix}/include + # build in a separate directory; have to put these into phases because # ${distname} and ${workpath} are not necessarily defined at the # top-level while they are guaranteed to be by the pre-fetch phase.