From owner-freebsd-ports@FreeBSD.ORG Mon Jan 23 20:18:40 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20A12106566C; Mon, 23 Jan 2012 20:18:40 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 65D0A8FC13; Mon, 23 Jan 2012 20:18:38 +0000 (UTC) Received: by lagv3 with SMTP id v3so1344891lag.13 for ; Mon, 23 Jan 2012 12:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:x-gm-message-state:content-type:content-transfer-encoding; bh=LMUFe451DCAaOl+ZfQDmFzlrfCWpaATZ8eyTU84sPlw=; b=PVbAyV7XgPyuR/eVuRR3tj+iGoFNBv109vgpDrovOawKT7s6kH23Gr2RSzWhJxb41b zXljqoLA4ZKtz9cVNZKtnmbNAPNPBpt2kQeeQvie08T+umKTmHhDFHM7u6fuAW0M001/ gdMwUHsfGJAqGMAkxGqf0qG2Ks9L/x7j1JmYo= Received: by 10.152.111.229 with SMTP id il5mr3331948lab.19.1327349917235; Mon, 23 Jan 2012 12:18:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.25.196 with HTTP; Mon, 23 Jan 2012 12:18:06 -0800 (PST) In-Reply-To: <4F1DBE72.5030701@freebsd.org> References: <4F1DBE72.5030701@freebsd.org> From: Eitan Adler Date: Mon, 23 Jan 2012 15:18:06 -0500 Message-ID: To: Michael Scheidell X-Gm-Message-State: ALoCoQkcr23zD/kKcmg+x06Bal5eOHyJ1tWlPvSgH/It5X9v1zLkKKKbQqOG/pM9QFMGaNkCnWi/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org Subject: Re: confused: RUN_DEPENDS=${BUILD_DEPENDS} vs = vs duplication 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: Mon, 23 Jan 2012 20:18:40 -0000 Quick explanation: I was confused by some of portmgr@'s comments and thought they were speaking with a hat on instead of personal preference. On Mon, Jan 23, 2012 at 3:09 PM, Michael Scheidell wrote: > I am SO confused. > > One helpful person told me: > don't do this: > > BUILD_DEPENDS=3D =C2=A0daq>=3D0.6.2:${PORTSDIR}/net/daq \ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${LOCALBASE}/lib/l= ibnet11/libnet.a:${PORTSDIR}/net/libnet > RUN_DEPENDS=3D =C2=A0 =C2=A0daq>=3D0.6.2:${PORTSDIR}/net/daq \ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${LOCALBASE}/lib/l= ibnet11/libnet.a:${PORTSDIR}/net/libnet This is fine > or this > > RUN_DEPENDS=3D${BUILD_DEPENDS} This is broken > But, do this: > > RUN_DEPENDS:=3D ${BUILD_DEPENDS}. This is fine > Explicit duplication> =C2=A0:=3D> =C2=A0=3D and this just moves ports one= step to the left Ignore this comment > so, behind the covers, does :=3D do something BAD? No. The paragraph at the end of http://www.freebsd.org/doc/en/books/porters-handbook/makefile-depend.html#A= EN2173 is correct. --=20 Eitan Adler