confused: RUN_DEPENDS=${BUILD_DEPENDS} vs = vs duplication
Michael Scheidell
scheidell at freebsd.org
Mon Jan 23 20:09:25 UTC 2012
I am SO confused.
One helpful person told me:
don't do this:
BUILD_DEPENDS= daq>=0.6.2:${PORTSDIR}/net/daq \
${LOCALBASE}/lib/libnet11/libnet.a:${PORTSDIR}/net/libnet
RUN_DEPENDS= daq>=0.6.2:${PORTSDIR}/net/daq \
${LOCALBASE}/lib/libnet11/libnet.a:${PORTSDIR}/net/libnet
or this
RUN_DEPENDS=${BUILD_DEPENDS}
But, do this:
RUN_DEPENDS:= ${BUILD_DEPENDS}.
(if they are truly == before kbobs..)
so, for each PR i have taken, I have looked at them (portlint -C
complains with RUN_DEPENDS=${BUILD_DEPENDS})
but, I read this and it seems you DON'T want RUN_DEPENDS:=${BUILD_DEPENDS}:
am I reading this wrong?
<http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/swatch/Makefile>
"
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
"
I am fine if I know, but I just get tired of being told its wrong, no
matter what I do.
(ps, that small change, and a recompile made tinderbox recompile 19
modules.. that didn't change except for that change)
so, behind the covers, does := do something BAD?
--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
>*| *SECNAP Network Security Corporation
* Best Mobile Solutions Product of 2011
* Best Intrusion Prevention Product
* Hot Company Finalist 2011
* Best Email Security Product
* Certified SNORT Integrator
More information about the freebsd-ports
mailing list