tech-pkg archive

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

Re: pkgsrc-ing Icinga2: cmake and rpath




On 03.08.2016 21:14, Edgar Fuß wrote:
> I'm trying to pkgsrc icinga2.
> I seem almost finished, but the binary doesn't find its self-provided 
> libraries, which are in /usr/pkg/lib/icinga2, not /usr/pkg/lib.
> Icinga2 uses cmake, which I barely know.
> How do I teach it to use a different rpath? I tried
> 	CMAKE_ARGS+=	-DCMAKE_INSTALL_RPATH=${PREFIX}/lib/icinga2
> with and without
> 	CMAKE_ARGS+=	-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=FALSE
> but it doesn't change anything.
> 

In general I would try to pass something like:

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

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index