From owner-freebsd-ports@FreeBSD.ORG Thu Aug 10 20:28:40 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 581EE16A4DD for ; Thu, 10 Aug 2006 20:28:40 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE75E43D6B for ; Thu, 10 Aug 2006 20:28:36 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so511539wxd for ; Thu, 10 Aug 2006 13:28:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YEJl24s7u8UJDXhKZtBbMXwwQRHBTWXegMMZGw/y33i8loXD6SKyrcAWO6rSRmIsYkOpNq9mtqheLEPJymPJ5klcJln+8Xr5IyeMAD7dcRBsXHW+psctZVxP4r658Rr+23u7h5uPSXY/fRDh+m5z1nyo1dTWQneiipqpkOEXhYQ= Received: by 10.78.128.11 with SMTP id a11mr1731736hud; Thu, 10 Aug 2006 13:28:35 -0700 (PDT) Received: by 10.78.83.2 with HTTP; Thu, 10 Aug 2006 13:28:34 -0700 (PDT) Message-ID: <790a9fff0608101328j533ca925k8f147f0c9ce80687@mail.gmail.com> Date: Thu, 10 Aug 2006 15:28:34 -0500 From: "Scot Hetzel" To: "Stanislav Sedov" In-Reply-To: <20060810234844.107d0871@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44DB5692.6040005@gmx.de> <20060810214516.7e0ff056@localhost> <44DB72FC.8010009@gmx.de> <20060810224838.639c57e8@localhost> <44DB87FA.4020505@gmx.de> <20060810234844.107d0871@localhost> Cc: freebsd-ports@freebsd.org Subject: Re: ports without configure do not receive CC X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 20:28:40 -0000 On 8/10/06, Stanislav Sedov wrote: > On Thu, 10 Aug 2006 21:24:42 +0200 > "[LoN]Kamikaze" mentioned: > > That leads to no end of problems if you have different settings for different ports, > > because a port gets its specific settings and will later override them with the > > settings that are set for all ports. > > You can use > .if ${CURDIR:M*usr/ports/CATEGORY/PORTNAME/*} > CC=XXX > .endif > > like construction to support this. > Or use the sysutils/portconf port, and then place your port specific variables in the /usr/local/etc/port.conf file, no need to clutter /etc/make.conf. CATEGORY/PORTNAME*: CC=XXX editors/openoffice*: WITH_TTF_BYTECODE_ENABLED Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.