Date: Sun, 30 Jun 2002 21:19:10 -0700 From: Doug Barton <DougB@FreeBSD.org> To: ports@FreeBSD.org Subject: can't override CFLAGS in port makefile Message-ID: <3D1FD83E.3C95470D@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Howdy, Workin' on some stuff this week, I got tripped up again by a problem I've run into before... namely that if a user has CFLAGS defined in /etc/make.conf, I can't twiddle it in my port's Makefile. Specifically, I'd like to be able to add: CFLAGS+= -static under certain circumstances. If I don't define anything for CFLAGS in /etc/make.conf, it works. However, it doesn't if the user has it defined. Any ideas? -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D1FD83E.3C95470D>