Skip site navigation (1)Skip section navigation (2)
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>
References:  <CAH2d3%2BvMF8jM6GHJQ6DR7EywmnY%2Bj=0tSHFEf_5oW1C6QhYD8A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5F875ACDCF1C24EE374AA27E
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 =3D foo:${PORTSDIR}/bar/foo
RUN_DEPENDS:=3D	${BUILD_DEPENDS}

Note the use of ':=3D' -- that prevents RUN_DEPENDS being polluted by
spurious other build-time only dependencies introduced by some USE_BAR
knobs.

	Cheers,

	Matthew

--=20
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


--------------enig5F875ACDCF1C24EE374AA27E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig5F875ACDCF1C24EE374AA27E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EEC5BA8.6090501>