Date: Sat, 17 Dec 2011 09:06:48 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-ports@freebsd.org Subject: Re: RUN_DEPENDS for python based port Message-ID: <4EEC5BA8.6090501@infracaninophile.co.uk> In-Reply-To: <CAH2d3%2BvMF8jM6GHJQ6DR7EywmnY%2Bj=0tSHFEf_5oW1C6QhYD8A@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On 17/12/2011 07:54, Christer Edwards wrote:
> I'm not sure if I've done the RUN_DEPENDS properly, because when I try
> to 'make' the port, it tries running the salt tool and complains about
> missing python modules. The modules are of course provided by the
> depends, but they don't get installed if they're missing.
If your port runs any programs or uses modules or libraries during the
building phase, then those should be listed as BUILD_DEPENDS. Any
programs, modules or libraries that are required after the program has
been installed (think: installing from a package) should be listed in
RUN_DEPENDS.
It is not at all unusual for the RUN_DEPENDS and BUILD_DEPENDS lists to
contain many items in common. In fact, this is a fairly common idiom:
BUILD_DEPENDS = foo:${PORTSDIR}/bar/foo
RUN_DEPENDS:= ${BUILD_DEPENDS}
Note the use of ':=' -- that prevents RUN_DEPENDS being polluted by
spurious other build-time only dependencies introduced by some USE_BAR
knobs.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew@infracaninophile.co.uk Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7sW68ACgkQ8Mjk52CukIxLPACgkRVTtnrq/TFqOl8y2qDtXdHq
IBMAn1x9BL8QTQiIA/Zi7/atkIa+uivL
=bp0P
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EEC5BA8.6090501>
