pkgsrc-Users archive

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

Re: What is the proper way to install a package under custom sub directory under LOCALBASE ?

On 20.04.21 09:00, Yosuke Kawasaki wrote:

> llvm uses CMAKE and when I set
> CMAKE_INSTALL_PREFIX=LOCALBASE/sub-directory in pkg Makefile, it
> installs files under LOCALBASE/sub-directory.  However, some installed
> executables and libraries such as bin/llvm-link have a parameter
> RUNPATH, which is  directed to "/usr/pkg/lib", instead of
> "/usr/pkg/<sub-directory>/lib" and cannot find shared libraries
> installed together e.g.

Take a look in the existing packages, I believe this is what you are
looking for:


Home | Main Index | Thread Index | Old Index