svn commit: r437953 - in head/lang/beignet: . files

Alexey Dokuchaev danfe at FreeBSD.org
Fri Apr 7 21:37:38 UTC 2017


On Fri, Apr 07, 2017 at 10:53:27PM +0200, Matthew Rezny wrote:
> On Friday 07 April 2017 22:23:18 Jan Beich wrote:
> > > +USE_LDCONFIG=	${LOCALBASE}/lib/${PORTNAME}
> > 
> > Why do you need ldconfig hints for dlopen(3)? libcl.so embeds absolute
> > paths for libgbe.so and libgbeinterp.so + absolute path via ocl-icd
> > config in /usr/local/etc/OpenCL/vendors/intel-beignet.icd
> > 
> > Please, don't turn portlint into a cargo cult.
> 
> Nothing to do with portlint, just following what is written in the
> Porter's Handbook about ports that install shared libraries and
> USE_LDCONFIG.

Blindly following the PHB (or portlint) is still merely cargo-culting.
USE_LDCONFIG is bogus for *.so's that are not being normally linked by
consumers, but dlopen(3)ed during runtime instead.

./danfe


More information about the svn-ports-head mailing list