"ghost" ports CFLAGS

Lowell Gilbert freebsd-ports-local at be-well.ilk.org
Tue Jul 28 16:00:48 UTC 2009


Eric Damien <jafa82 at gmail.com> writes:

> I edited my /etc/make.conf in order to change the default compiler via
> the CC and CXX variables. I also happened to edit the CFLAGS value,
> all of this changes enclosed within a conditional check on the
> directory, of the form:
> .if ${CURDIR:M*/ports*}
> CFLAGS= -mtune=amdfam10 -msse4e
> .endif
> I made a general config using postmaster.
> After some trouble with some ports, I decided to get rid of those
> modifications and commented the above form.
> But, I was surprised to see that some ports still present this value
> of CFLAGS at building time.
> How can I correct this mistake.

Just a guess; you built them previously and didn't clean the build
directories?  

Or maybe you put those options in a portmaster config file?
[ /usr/local/etc/portmaster.rc or $HOME/.portmasterrc ...]


More information about the freebsd-ports mailing list