diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-10 01:58:42 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-13 19:27:33 +0700 |
commit | c0c5f441779216f00361d3d47645b16f527d0548 (patch) | |
tree | 54e10635839663a9872d90ac0905c5850d469130 /graphics/darktable | |
parent | 984ddb88667497f500370b2d693c2a3a3d55fa39 (diff) |
graphics/darktable: Use cmake rpath support.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/darktable')
-rw-r--r-- | graphics/darktable/darktable.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/darktable/darktable.SlackBuild b/graphics/darktable/darktable.SlackBuild index 925a30cf83d11..2c20db3062c6b 100644 --- a/graphics/darktable/darktable.SlackBuild +++ b/graphics/darktable/darktable.SlackBuild @@ -22,11 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230510 bkw: use cmake rpath support, so lensfun03 doesn't need +# /etc/ld.so.conf.d/ any more. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=darktable VERSION=${VERSION:-4.2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} # Slackware's lensfun isn't compatible @@ -87,6 +90,8 @@ find -L . \ mkdir -p build cd build cmake \ + -DCMAKE_INSTALL_RPATH=/opt/$LENSFUN/lib$LIBDIRSUFFIX \ + -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ |