Date: Mon, 23 Jan 2012 15:18:06 -0500 From: Eitan Adler <lists@eitanadler.com> To: Michael Scheidell <scheidell@freebsd.org> Cc: ports@freebsd.org Subject: Re: confused: RUN_DEPENDS=${BUILD_DEPENDS} vs = vs duplication Message-ID: <CAF6rxgnO6qg1AMvv6fQObu8zJdfBVJH=bfQFmMARj=vDUUG9GA@mail.gmail.com> In-Reply-To: <4F1DBE72.5030701@freebsd.org> References: <4F1DBE72.5030701@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <scheidell@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgnO6qg1AMvv6fQObu8zJdfBVJH=bfQFmMARj=vDUUG9GA>