RUN_DEPENDS=: not respected? Bug?

O. Hartmann ohartman at mail.zedat.fu-berlin.de
Thu Sep 6 16:01:04 UTC 2012


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 added
>> a line
>>
>> RUN_DEPENDS=
>> ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops
> 
> It seems strange to me that a port requires a static library at runtime.
> You should use BUILD_DEPENDS if the library is needed to build the port.
> 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.
> 


My fault. Obviously I didn't understood exactly what the meaning was -
I'm not an english native speaker.

BUIKD_DEPENDS=

works as expected and it is obviously a fault of mine that a previous
attempt failed.

Regards,
Oliver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120906/b54d452b/signature.pgp


More information about the freebsd-ports mailing list