commit: 1c9d4d04419adae8b6e7db799abbe96b7dc74cdc
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 26 12:20:27 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Jul 26 12:59:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c9d4d04
media-gfx/povray: use X11 headers and libraries from prefix
The build system currently hard-codes the X11 include directory
to /usr/include and the library directory to /usr/lib, so the
fix is put unconditionally to fix libdir on non-prefix builds.
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
media-gfx/povray/povray-3.7.0.0-r1.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
index 2b48c77734e..25d38e4a1bc 100644
--- a/media-gfx/povray/povray-3.7.0.0-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -67,12 +67,14 @@ src_prepare() {
rm -rf libraries || die
- # Change some destination directories that cannot be adjusted via
configure
+ # Change some directories that cannot be adjusted via configure
sed \
-e
's:${povsysconfdir}/$PACKAGE/$VERSION_BASE:${povsysconfdir}/'${PN}':g' \
-e
's:${povdatadir}/$PACKAGE-$VERSION_BASE:${povdatadir}/'${PN}':g' \
-e
's:${povdatadir}/doc/$PACKAGE-$VERSION_BASE:${povdatadir}/doc/'${PF}':g' \
-e 's:BOOST_THREAD_LIBS $LIBS:BOOST_THREAD_LIBS $LIBS
-lboost_date_time:g' \
+ -e 's:"/usr/include":"'${EPREFIX}'/usr/include":' \
+ -e 's:"/usr/lib":"'${EPREFIX}'/usr/'$(get_libdir)'":' \
-i configure.ac || die
sed \