From owner-freebsd-ports@FreeBSD.ORG Mon Mar 4 01:38:16 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3C950BD7 for ; Mon, 4 Mar 2013 01:38:16 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by mx1.freebsd.org (Postfix) with ESMTP id D1B94257 for ; Mon, 4 Mar 2013 01:38:15 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hm14so1365292wib.3 for ; Sun, 03 Mar 2013 17:38:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=tuMoJR9uw+AigMrR2DIPQS56Z1T5sKsIQH6WJwUgMlk=; b=POrmTfJU8CwNtIHFuGfDIbgKnuToypzNcdptII2pIVmZAxsiiukq5lTYBFSkoMhv8U uDp9irPJcdVleXF8cvdDNWr3Y/Gfz2/nuHQIsYhUoXdO3Imuvo2z4np2LucvvPryCMAE JdIhcs8ipZfiO1iP51LM2juWcx8FlEMX850Q4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=tuMoJR9uw+AigMrR2DIPQS56Z1T5sKsIQH6WJwUgMlk=; b=NPW4yZZsccBkO3RgU5LfkDQOqHWnJhBrFi0zbboY0vlK/JCFcg/2hRSghylU/K5wrO rz/7mdAHlBXuZvVLmpkByVqDFOaEBM8DC1ZHQ78tBhdZQM3Kk7ohQ66lyd8j0yMPQG9h 9912wiXJlgdeUXrL641Opo/gDdeMQDPb7GUtZR0Bc/KnW78w/hBjoUSYWTtNEZqXsxNp kHoIeZr1xIXFh2pZhDeimesUb2wA5+BpRSulEBFnuXilqdqkS0+tW1aDq3tMUqUKGqRH rx7ZFgXh5a2YrzDenKkX5EJ9bP0O853WfTFWxtFzkDI/Jk7FZ3hxd72gDFC6p9V4XmqB xFXA== X-Received: by 10.180.8.4 with SMTP id n4mr8504394wia.13.1362361088906; Sun, 03 Mar 2013 17:38:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.44.130 with HTTP; Sun, 3 Mar 2013 17:37:38 -0800 (PST) From: Eitan Adler Date: Sun, 3 Mar 2013 20:37:38 -0500 Message-ID: Subject: Using RUN_DEPENDS := ${BUILD_DEPENDS} is now a bug To: FreeBSD Ports Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkWDnXr02r4tHYmPxlwYI1/kWML3CXoDZOxAjVU8FqvYM6jEyXQy+DIspnqklqK2A0DYFl8 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 01:38:16 -0000 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. This also reduces the chance of making an error should BUILD_DEPENDS change to be inconsistent with BUILD_DEPENDS. -- Eitan Adler