summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl@gmail.com>2018-10-18 22:45:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-10-31 19:58:24 +0100
commit7ae4594e8c806e9e2ab9099834c9d5380c2ce3ce (patch)
tree99cfb234695ffd1b665cbe21bd1504578afefc46 /media-gfx/openexr_viewers/openexr_viewers-2.3.0.ebuild
parentdev-libs/spdlog: fix compilation error (diff)
downloadgentoo-7ae4594e8c806e9e2ab9099834c9d5380c2ce3ce.tar.gz
gentoo-7ae4594e8c806e9e2ab9099834c9d5380c2ce3ce.tar.bz2
gentoo-7ae4594e8c806e9e2ab9099834c9d5380c2ce3ce.zip
media-gfx/openexr_viewers: fix Cg libdir
* remove files/openexr_viewers-2.3.0-fix-cg-libdir.patch * add files/openexr_viewers-2.3.0--with-cg-libdir.patch Addresses an issue, where Cg libraries where not found on 32-bit arches. The patch adds an option --with-cg-libdir to configure to pass 32-/64-bit specific libraries of Cg to configure script. Thanks to Arfrever Frehtes Taifersar Arahesis for reporting the issue. See also https://github.com/gentoo/gentoo/pull/10030#pullrequestreview-164522412 Closes: https://bugs.gentoo.org/668754 Signed-off-by: Bernd Waibel <waebbl@gmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10172 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/openexr_viewers/openexr_viewers-2.3.0.ebuild')
-rw-r--r--media-gfx/openexr_viewers/openexr_viewers-2.3.0.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/media-gfx/openexr_viewers/openexr_viewers-2.3.0.ebuild b/media-gfx/openexr_viewers/openexr_viewers-2.3.0.ebuild
index e7eaf9ca0778..a1981cf42cdd 100644
--- a/media-gfx/openexr_viewers/openexr_viewers-2.3.0.ebuild
+++ b/media-gfx/openexr_viewers/openexr_viewers-2.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -31,7 +31,7 @@ DOCS=( ChangeLog README.md )
PATCHES=(
"${FILESDIR}/${P}-fix-configure.patch"
- "${FILESDIR}/${P}-fix-cg-libdir.patch"
+ "${FILESDIR}/${P}--with-cg-libdir.patch"
)
src_prepare() {
@@ -50,6 +50,7 @@ src_configure() {
myeconfargs+=(
--enable-cg
--with-cg-prefix="/opt/nvidia-cg-toolkit"
+ --with-cg-libdir="/opt/nvidia-cg-toolkit/$(get_libdir)"
)
append-ldflags "$(no-as-needed)" # binary-only libCg is not properly linked
fi