From owner-freebsd-ports@FreeBSD.ORG Sat Dec 17 09:07:00 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3B6C1065673 for ; Sat, 17 Dec 2011 09:07:00 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 33BF78FC13 for ; Sat, 17 Dec 2011 09:07:00 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBH96uUW038972 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 17 Dec 2011 09:06:56 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBH96uUW038972 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1324112816; bh=2PqIGXN096huHAr0m3A6eXpz7mxXgi8d/k2nUtpPUZA=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=BItPrO50htQRfx0yV5RESEkSGPafbwhEUqcKA8UFC3HsLW/YGGZYEsrkI3316Q1kB SHglAbdEuNgVKad4iyQU1PBfSmZugyFlWAWhbpf64INDcyXSmlhBqM1jz24zmWeZWh tgvA44Nlt4K1dsyksTNxEGgBEz2asBtWSSoRO9Yc= Message-ID: <4EEC5BA8.6090501@infracaninophile.co.uk> Date: Sat, 17 Dec 2011 09:06:48 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5F875ACDCF1C24EE374AA27E" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: RUN_DEPENDS for python based port 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: Sat, 17 Dec 2011 09:07:00 -0000 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--