Date: Fri, 7 Apr 2017 21:37:37 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Matthew Rezny <rezny@freebsd.org> Cc: Jan Beich <jbeich@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r437953 - in head/lang/beignet: . files Message-ID: <20170407213737.GB32261@FreeBSD.org> In-Reply-To: <24496938.jsC6qZ9reS@workstation.reztek> References: <201704071930.v37JUBGj017948@repo.freebsd.org> <a87s-otl5-wny@FreeBSD.org> <24496938.jsC6qZ9reS@workstation.reztek>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170407213737.GB32261>