From owner-freebsd-current@FreeBSD.ORG Tue May 29 12:08:35 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 1807B16A41F for ; Tue, 29 May 2007 12:08:35 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp2.utsp.utwente.nl [130.89.2.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9397513C447 for ; Tue, 29 May 2007 12:08:34 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id l4TC8Tox008427; Tue, 29 May 2007 14:08:29 +0200 From: Pieter de Goeje To: freebsd-current@freebsd.org Date: Tue, 29 May 2007 14:08:28 +0200 User-Agent: KMail/1.9.6 References: <200705260957.51060.c47g@gmx.at> In-Reply-To: <200705260957.51060.c47g@gmx.at> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705291408.28690.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: 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 12:08:35 -0000 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+=-D__GLX_MOTIF=1 > > As long as I don't set my own CFLAGS in /etc/make.conf, the port compiles > fine. But if I set my own CFLAGS in /etc/make.conf, the CFLAGS+= 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+= .... (note the +) in make.conf? Otherwise you could try setting the correct cflags in the environment before executing make, for example: setenv CFLAGS -Os. HTH, Pieter de Goeje