[kde-freebsd] ports/176901: [bsd.cmake.mk] disable rpath removal
avg at FreeBSD.org
Wed Mar 13 07:00:01 UTC 2013
The following reply was made to PR ports/176901; it has been noted by GNATS.
From: Andriy Gapon <avg at FreeBSD.org>
To: bug-followup at FreeBSD.org, amdmi3 at FreeBSD.org
Subject: Re: ports/176901: [bsd.cmake.mk] disable rpath removal
Date: Wed, 13 Mar 2013 08:57:38 +0200
Perhaps it's better to use CMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE.
This is what I've been doing for ages.
This page has a rather good description of CMake's handling of RPATH:
Advantage of CMAKE_INSTALL_RPATH_USE_LINK_PATH is that it allows both to use
in-tree paths during build and to keep out-of-tree paths during installation.
So, setting this variable should both achieve the desired effect for
installation and preserve the current behavior during build.
What do you think?
More information about the kde-freebsd