Date: Thu, 06 Sep 2012 18:01:02 +0200 From: "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de> To: Alex Dupre <ale@FreeBSD.org> Cc: Ports FreeBSD <freebsd-ports@FreeBSD.org> Subject: Re: RUN_DEPENDS=: not respected? Bug? Message-ID: <5048C8BE.6090509@mail.zedat.fu-berlin.de> In-Reply-To: <5048BD8A.80106@FreeBSD.org> References: <50488937.8050604@mail.zedat.fu-berlin.de> <5048BD8A.80106@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0011E2915DFDCF7FE6B8485C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 09/06/12 17:13, Alex Dupre wrote: > O. Hartmann ha scritto: >> Working on a small port for OpenCL support for CPUs via "freeocl", >> I run into a problem (runing FreeBSD 10.0-CURRENT). >> >> The port requires devel/libatomic_ops, which installs a static library= >> /usr/lcoal/lib/libatomic_ops.a. >> >> Following the instructions in the Porter's Handbook for FreeBSD, I add= ed >> a line >> >> RUN_DEPENDS=3D >> ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops >=20 > It seems strange to me that a port requires a static library at runtime= =2E > You should use BUILD_DEPENDS if the library is needed to build the port= =2E > And you shouldn't put if after inclusion of bsd.port.pre.mk. > RUN_DEPENDS is for things required at runtime and so usually installed > in the install step. >=20 My fault. Obviously I didn't understood exactly what the meaning was - I'm not an english native speaker. BUIKD_DEPENDS=3D works as expected and it is obviously a fault of mine that a previous attempt failed. Regards, Oliver --------------enig0011E2915DFDCF7FE6B8485C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQSMi+AAoJEOgBcD7A/5N8iJ4H/3QbiYckTCdlCaME7K+AVvQu 0iZpaZBRSQ5NQ2XvSrzKm9xBy50QvmY/wE7wl3gKa9H25QngMDOS0+75ugUBS1yE eJ0s4vdEgphfgAt2pOWqOJ4JMcPpFc+UFI10gIoC/SSFfqOwZPXUSGVxLRbQYqMt r8Zd1+n5wT0sxszCfYo9LJIiINxHRDpE0GoqOLe6Ufw19JzjXn33uSanzk3e4l+7 M7q0anbnhWMdhidy62hTEsMp9H5pYyAqwKRLg6fMCKsC+TUoBVj3PzwwuiVtwn39 72c8KGhpfJmqea1EtAV6RfsMfGg78kdfNgJVT0yzV6iLI3Nh9NFL5SFBrEuda3U= =yZL4 -----END PGP SIGNATURE----- --------------enig0011E2915DFDCF7FE6B8485C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5048C8BE.6090509>