From owner-freebsd-ports@FreeBSD.ORG Thu Dec 15 13:22:31 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A30741065675 for ; Thu, 15 Dec 2011 13:22:31 +0000 (UTC) (envelope-from andrew.w.nosenko@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 36C6A8FC19 for ; Thu, 15 Dec 2011 13:22:30 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so3941283wgb.31 for ; Thu, 15 Dec 2011 05:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=l754RpzrgYAiidhfFM+fVxVxYzYobWA+nguZ2r3nyvs=; b=Fgy+6Gf16MFOyKCRoTJu/Z8jg3CvheStX5P7/RxkfVUnaNM5FQhOczo9nK9KxKQhXH Lo3KqBA9OUZ1rFlbWF89L8/zyk5Wj2dql5nfBLYelQz/5aBqGevrcCj4+DPT3UU/pJdc 3fkSKcapjHJGSHM5KDwFDDIiJ1baFabUr45eM= MIME-Version: 1.0 Received: by 10.227.207.133 with SMTP id fy5mr2164481wbb.23.1323955350107; Thu, 15 Dec 2011 05:22:30 -0800 (PST) Received: by 10.227.5.74 with HTTP; Thu, 15 Dec 2011 05:22:30 -0800 (PST) In-Reply-To: References: Date: Thu, 15 Dec 2011 15:22:30 +0200 Message-ID: From: "Andrew W. Nosenko" To: bf1783@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@freebsd.org Subject: Re: Building ports with gcc46 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, 15 Dec 2011 13:22:31 -0000 On Thu, Dec 15, 2011 at 02:05, b. f. wrote: > If you are interested in applying them to a single port, use a test on .CURDIR, > or, better yet, add the statement to any of the optional Makefiles that are > automatically included by bsd.port.mk and were intended for that purpose -- > ${MASTERDIR}/Makefile.local, for example. Unfortunatelly, the Makefile.local included too late for have any positive/intended effect (e.g. define port-specific WITH/WITHOUT knob, modify CONFIGURE_ARGS,...) in many cases/ports. Therefore, advise to use Makefile.local is unreliable. And we left in situation, where make.conf is the only one reasonable working solution :-( But yes, it should be properly conditionalized by .if/.endif -- Andrew W. Nosenko