xorg dfport not using CFLAGS

walt wa1ter at myrealbox.com
Sun Dec 5 20:29:58 PST 2004



On Sun, 5 Dec 2004, Glenn Johnson wrote:

> I would like to have the xorg-* dfports use the CFLAGS that I have set
> in /etc/make.conf.  I can not figure out where these are picked up.  I
> tried putting the CFLAGS variable in DragonFly.cf and xorg.cf but I get
> recursive variable errors because CFLAGS is apparently set someplace
> else.  Does anyone have an idea about this?

This is not really an answer to your question, but I've noticed these
lines in the makefiles from the gentoo-linux xorg packages:

# The next command strips CFLAGS and CXXFLAGS from nearly all flags.  If
# you do not like it, comment it, but do not bugreport if you run into
# problems.

I get the feeling that non-default CFLAGS for X may be a bad idea...

When I do a grep -r CFLAGS in /usr/dfports I get a multitude of
likely candidates, though.  Imake-6 seems promising, since it is
used in building xorg-related things.

The same goes for grepping thru /usr/X11R6/lib/X11/config/*






More information about the Kernel mailing list