From owner-freebsd-ports Wed Mar 29 11:30:13 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5C36637B8CB; Wed, 29 Mar 2000 11:27:49 -0800 (PST) (envelope-from kris@FreeBSD.org) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id LAA30062; Wed, 29 Mar 2000 11:27:49 -0800 (PST) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Wed, 29 Mar 2000 11:27:48 -0800 (PST) From: Kris Kennaway To: will@FreeBSD.org Cc: reg@shale.csir.co.za, freebsd-ports@FreeBSD.org, asami@FreeBSD.org Subject: Re: ports/16343: bsd.port.mk cannot override make.conf. In-Reply-To: <200003282158.NAA73989@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 28 Mar 2000 will@FreeBSD.org wrote: > State-Changed-From-To: open->feedback > State-Changed-By: will > State-Changed-When: Tue Mar 28 13:54:11 PST 2000 > State-Changed-Why: > We need more feedback on this. I think it (the real problem) lies > with ports that do not respect CFLAGS. I have verified (by building > games/kbubbles with and without the line > > CFLAGS+= -v > > and found that it does indeed respect CFLAGS in this manner). > > Therefore, should this PR be closed? No, it's a definite problem. If you have CFLAGS set in make.conf (this is a prerequisite for demonstrating the problem), you cannot override it from within a port, e.g. if you need to add a -DFOO setting to get it to compile. I had to hack around this in USE_OPENSSL by adding an OPENSSL_CFLAGS which needy ports would be taught to use. See pipsecd and bonnie for two ports which want to play with CFLAGS. Kris ---- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message