From 1fb9018dcb464e46c5c7ec2d33c74f476de30f20 Mon Sep 17 00:00:00 2001 From: yopito Date: Wed, 28 Apr 2021 22:01:38 +0200 Subject: [PATCH] coin3: fix cmake support for crossbuild CMAKE_INSTALL_INCLUDEDIR must be a relative path. This way, generated coin-export.cmake will compute include path at runtime against installed path, that is fine for crossbuild. If full path is provided, generated coin-export.cmake use directly this full path, that is wrong with of crossbuild usage. Fine to crossbuild python3-pivy 0.6.6 --- srcpkgs/coin3/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/coin3/template b/srcpkgs/coin3/template index 8f7218c2e8c..2130c0b8b26 100644 --- a/srcpkgs/coin3/template +++ b/srcpkgs/coin3/template @@ -1,10 +1,10 @@ # Template file for 'coin3' pkgname=coin3 version=4.0.0 -revision=1 +revision=2 wrksrc="coin-Coin-${version}" build_style=cmake -configure_args="-DCMAKE_INSTALL_INCLUDEDIR=/usr/include/Coin3 +configure_args="-DCMAKE_INSTALL_INCLUDEDIR=include/Coin3 -DCOIN_BUILD_TESTS=OFF -DCOIN_BUILD_DOCUMENTATION=ON" hostmakedepends="doxygen graphviz" makedepends="boost-devel glu-devel"