From owner-freebsd-ports@FreeBSD.ORG Mon Mar 4 15:50:02 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AC3C6947 for ; Mon, 4 Mar 2013 15:50:02 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 8380F26A for ; Mon, 4 Mar 2013 15:50:02 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id 17so6228282iea.26 for ; Mon, 04 Mar 2013 07:50:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Naie/5P4FbK/mCyL6+eVblZsaQj3vNNH9uCCTTkE3z8=; b=MY+s4J4KJIKtSKZXbLI4ht6ihXD7xGxsGCvJsVpTM3NFwa3o20DcxXw0cdNsuRLjhU igAJPIEq8WL/CwJgsijDOZx66mSlkabgZHk2yW07oCdESjhL+XaKLlEsNtY8a2mhYqvd my9IZqbCR0F+vpajL5Cz1UHRDMFsrYtBi6ckQhCiJ1ysoH0B/l6r7SRwLzns1LYtuyi9 2yF61OmEfHj3AsS57vW+UuR9Fr/sOHnrLxnHwz8wteBpuu99cS+cBfHP0L/+2DQR8Tqh apx5QmjtyBgcFM1aYn5qYVpMOm+f3Jb8W7Pbur9akaF0y0FSXRrYIcBd7GoIXl4DoUgb iOtQ== MIME-Version: 1.0 X-Received: by 10.50.42.165 with SMTP id p5mr2795018igl.75.1362412202170; Mon, 04 Mar 2013 07:50:02 -0800 (PST) Received: by 10.64.63.12 with HTTP; Mon, 4 Mar 2013 07:50:01 -0800 (PST) Received: by 10.64.63.12 with HTTP; Mon, 4 Mar 2013 07:50:01 -0800 (PST) In-Reply-To: References: Date: Mon, 4 Mar 2013 15:50:01 +0000 Message-ID: Subject: Re: Using RUN_DEPENDS := ${BUILD_DEPENDS} is now a bug From: Chris Rees To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Mar 2013 15:50:02 -0000 On 4 Mar 2013 01:38, "Eitan Adler" wrote: > > Some time ago ("2012-01-21 17:40:15 UTC") I committed a change which > converted all uses of > > BUILD_DEPENDS= ${RUN_DEPENDS} > to > BUILD_DEPENDS:= ${RUN_DEPENDS} > > Writing: > > ==== > At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450 > ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are > currently broken. This is a temporary measure until we organically stop using > := or someone(s) spend a lot of time changing all the ports over. > > Explicit duplication > := > = and this just moves ports one step to the left > ==== > > With the introduction of devel/ccache support this is now a more critical issue: > > ports that use BUILD_DEPENDS:= ${RUN_DEPENDS} are buggy. > > Set WITH_CCACHE_BUILD=yes in /etc/make.conf and observe > > [10046 eitan@gravity (100)% ...n/fbsd/ports/editors/led ]%make run-depends-list > /usr/ports/lang/perl5.14 > [10047 eitan@gravity (100)% ...n/fbsd/ports/editors/led ]%vim Makefile > # add "RUN_DEPENDS := ${BUILD_DEPENDS} > [10048 eitan@gravity (100)% ...n/fbsd/ports/editors/led ]%make run-depends-list > /usr/ports/devel/ccache > /usr/ports/lang/perl5.14 > > Ports should *not* assume that BUILD_DEPENDS is clear when initiated > and ports should explicitly duplicate RUN_DEPENDS. Why not? When is ccache added to BUILD_DEPENDS? I guess I just don't see how this can happen. Chris