From owner-freebsd-current@FreeBSD.ORG Tue May 29 18:00:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B65D16A400 for ; Tue, 29 May 2007 18:00:16 +0000 (UTC) (envelope-from c47g@gmx.at) Received: from email.aon.at (nat-warsl417-02.aon.at [195.3.96.120]) by mx1.freebsd.org (Postfix) with ESMTP id D103A13C45A for ; Tue, 29 May 2007 18:00:15 +0000 (UTC) (envelope-from c47g@gmx.at) Received: (qmail 14956 invoked from network); 29 May 2007 17:33:34 -0000 Received: from unknown (HELO email.aon.at) ([172.18.5.236]) (envelope-sender ) by fallback02.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 29 May 2007 17:33:34 -0000 Received: (qmail 17906 invoked from network); 29 May 2007 17:33:32 -0000 Received: from m3591p014.adsl.highway.telekom.at (HELO bones) ([88.117.96.206]) (envelope-sender ) by smarthub71.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 29 May 2007 17:33:32 -0000 From: Christian Gusenbauer To: Pieter de Goeje Date: Tue, 29 May 2007 19:34:06 +0200 User-Agent: KMail/1.9.6 References: <200705260957.51060.c47g@gmx.at> <200705291408.28690.pieter@degoeje.nl> In-Reply-To: <200705291408.28690.pieter@degoeje.nl> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1558173.qC0bJjGFJI"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705291934.12668.c47g@gmx.at> Cc: freebsd-current@freebsd.org Subject: Re: problems with make.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 18:00:16 -0000 --nextPart1558173.qC0bJjGFJI Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Pieter! On Tuesday, 29. May 2007, Pieter de Goeje wrote: > On Saturday 26 May 2007, Christian Gusenbauer wrote: > > Hi! > > > > I've a problem compiling the port graphics/libGLw. The port's Makefile > > contains the line > > > > CFLAGS+=3D-D__GLX_MOTIF=3D1 > > > > As long as I don't set my own CFLAGS in /etc/make.conf, the port compil= es > > fine. But if I set my own CFLAGS in /etc/make.conf, the CFLAGS+=3D line= in > > the Makefile seems to be ignored (or overwritten by my settings). > > > > How do I correctly use the /etc/make.conf file? How can I use my own > > settings? > > > > Thanks, > > Christian. > > Have you tried putting CFLAGS+=3D .... (note the +) in make.conf? Otherwi= se > you could try setting the correct cflags in the environment before > executing make, for example: setenv CFLAGS -Os. Thanks for this tip! I didn't know, that it's possible to use environment=20 variables for this. But the question remains: how to correctly use these=20 settings in make.conf. Because even in the /usr/share/examples/etc/make.con= f=20 it's documented to use CFLAGS=3D (without the +). But doing it that way, th= ese=20 settings break port builds. > > HTH, > Pieter de Goeje Many thanks, Christian. --nextPart1558173.qC0bJjGFJI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQBGXGQU73Wh/GTgh8wRAuBdAJ4+U14feoF+m1R6m3BJW6kjJen0HwCfTiDa 2QJiyzS6JFSf1UoGt48NTv4= =IH5H -----END PGP SIGNATURE----- --nextPart1558173.qC0bJjGFJI--