SPECS: xplanet.spec - %{_includedir} macro used
Andrzej Krzysztofowicz
ankry at green.mif.pg.gda.pl
Tue Dec 13 10:53:20 CET 2005
Elan =?iso-8859-1?q?Ruusam=E4e?= wrote:
>
> On Monday 12 December 2005 19:06, you wrote:
> > Author: czucz Date: Mon Dec 12 17:06:18 2005 GMT
> > Module: SPECS Tag: HEAD
> > ---- Log message:
> > - %{_includedir} macro used
> what for?
> it's not safe thing to do.
> if somebody redefines _includedir in .spec, you change will break
>
> ps: adapter is not always right!
Exactly. It is to be reverted.
> [...]
> > - CPPFLAGS="-I/usr/include/freetype2 -I/usr/X11R6/include -I`pwd`" \
> > + CPPFLAGS="-I%{_includedir}/freetype2 -I/usr/X11R6/include -I`pwd`" \
--
=======================================================================
Andrzej M. Krzysztofowicz, Ph.D. ankry at mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Gdansk University of Technology
More information about the pld-devel-en
mailing list