tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: (lots of) USE_CMAKE considered harmful



On Thu, Aug 22, 2024 at 06:14:30PM +0200, Hauke Fath wrote:
> On 19/08/2024 19.18, Greg Troxel wrote:
> > Basically:
> > 
> >    Where the USE_CMAKE line is, replace it with
> >     .include "../../devel/cmake/build.mk"
> > 
> >    Convert CMAKE_ARGS to CMAKE_CONFIGURE_ARGS, usually.
> 
> Breaks www/hiawatha:
> 
> hiawatha.conf.in file is not being processed
> 
> and
> 
> => Checking for missing run-time search paths in hiawatha-11.6
> ERROR: sbin/hiawatha: missing library: libmbedx509.so.7
> ERROR: sbin/hiawatha: missing library: libmbedcrypto.so.16
> ERROR: sbin/hiawatha: missing library: libmbedtls.so.21
> ERROR: sbin/wigwam: missing library: libmbedx509.so.7
> ERROR: sbin/wigwam: missing library: libmbedcrypto.so.16
> ERROR: sbin/wigwam: missing library: libmbedtls.so.21
> 
> when the libraries have been built and installed - looks like an rpath
> issue.

You need to add

LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/lib


Home | Main Index | Thread Index | Old Index