diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2023-06-04 10:18:18 +0300 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2023-06-04 10:20:07 +0300 |
commit | 79b17984ef7ab9bb98b25d97cf642869ec96658b (patch) | |
tree | 1e82a02c40a5b8eb808945febac78924364c023a /sci-geosciences/opencpn | |
parent | dev-python/griffe: Enable py3.12 (diff) | |
download | gentoo-79b17984ef7ab9bb98b25d97cf642869ec96658b.tar.gz gentoo-79b17984ef7ab9bb98b25d97cf642869ec96658b.tar.bz2 gentoo-79b17984ef7ab9bb98b25d97cf642869ec96658b.zip |
sci-geosciences/opencpn: fix -native-symlinks built
Closes: https://bugs.gentoo.org/907759
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'sci-geosciences/opencpn')
-rw-r--r-- | sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild b/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild index 7d5e879a5b06..e4f4e223eb15 100644 --- a/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild +++ b/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 WX_GTK_VER="3.2-gtk3" -inherit wxwidgets xdg cmake +inherit wxwidgets xdg cmake toolchain-funcs DOC_VERSION="4.8.2.0" @@ -44,6 +44,13 @@ BDEPEND=" sys-devel/gettext " +src_prepare() { + default + # see bug #907759 + sed -i "s/ cc / $(tc-getBUILD_CC) /" "${S}"/CMakeLists.txt + cmake_src_prepare +} + src_configure() { use doc && HTML_DOCS=( "${S}"/../${PN}/doc/. ) |