commit:     d7c83c94da820078b789db52bbcc9ac12d7538ef
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon Dec  9 13:24:25 2019 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Dec  9 13:24:25 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d7c83c94

sci-biology/ants: prefix compatibility

Package-Manager: Portage-2.3.81, Repoman-2.3.18
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-biology/ants/ants-2.3.1_p20191013.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-biology/ants/ants-2.3.1_p20191013.ebuild 
b/sci-biology/ants/ants-2.3.1_p20191013.ebuild
index 5dd2c8145..ac8a76daf 100644
--- a/sci-biology/ants/ants-2.3.1_p20191013.ebuild
+++ b/sci-biology/ants/ants-2.3.1_p20191013.ebuild
@@ -47,13 +47,13 @@ src_unpack() {
 src_configure() {
        local mycmakeargs=(
                -DUSE_SYSTEM_ITK=ON
-               -DITK_DIR="/usr/include/ITK-5.0/"
+               -DITK_DIR="${EROOT}/usr/include/ITK-5.0/"
                -DBUILD_TESTING="$(usex test ON OFF)"
                -DUSE_VTK=$(usex vtk ON OFF)
                -DUSE_SYSTEM_VTK=$(usex vtk ON OFF)
        )
        use vtk && mycmakeargs+=(
-               -DVTK_DIR="/usr/include/vtk-8.1/"
+               -DVTK_DIR="${EROOT}/usr/include/vtk-8.1/"
        )
        use test && mycmakeargs+=(
                -DExternalData_OBJECT_STORES="${S}/.ExternalData/MD5"

Reply via email to