media-libs/SoQt: add prefix support
authorGuilherme Amadio <amadio@gentoo.org>
Tue, 29 Aug 2017 14:33:42 +0000 (16:33 +0200)
committerGuilherme Amadio <amadio@gentoo.org>
Tue, 29 Aug 2017 14:33:42 +0000 (16:33 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

media-libs/SoQt/SoQt-1.5.0-r1.ebuild

index 7c8840dc88b21ada57aa28c1bedea1b4ebc93b53..95494b3c4008d82b7eede0f41b2dc48474ea69cc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -10,7 +10,7 @@ HOMEPAGE="https://bitbucket.org/Coin3D/soqt"
 SRC_URI="https://bitbucket.org/Coin3D/coin/downloads/${P}.tar.gz"
 
 LICENSE="|| ( GPL-2 PEL )"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
 SLOT="0"
 IUSE="debug doc static-libs"
 
@@ -34,13 +34,13 @@ DOCS=(AUTHORS ChangeLog FAQ HACKING NEWS README)
 
 src_configure() {
        local myeconfargs=(
-               htmldir="/usr/share/doc/${PF}/html"
+               htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
                --disable-compact
                --disable-html-help
                --disable-loadlibrary
                --disable-man
                --enable-pkgconfig
-               --includedir="/usr/include/coin"
+               --includedir="${EPREFIX}/usr/include/coin"
                --with-coin
                $(use_enable debug)
                $(use_enable debug symbols)