On Tue, Nov 20, 2012 at 09:19:10AM +0000, Stuart Henderson wrote: > On 2012/11/19 02:30, David Coppa wrote: > > On Sat, Nov 17, 2012 at 05:12:58PM +0100, Christian Weisgerber wrote: > > Sadly, CMake is broken in this regard: if it sees this reference > > and ansidecl.h is present, it will add a dependency upon it, even > > if HAVE_ANSIDECL_H is never set. > > Do Kitware know about this? > > > The patch below should fix the problem (and I've applied the same > > treatment to textproc/libxslt too, just to be sure). > > If we're doing this, we at least need to have it documented in > comments in the cmake port what we've done and why, so the bodges > can be removed if it gets fixed. > > Is there any point in the GDB port installing ansidecl.h anyway?
qt and qmake have a similar issue. looks like qmake's -nodepends ought to fix it, and I've been looking at it to fix similar problems...