commit:     0fdec65505aefdc42949223b8fea1aea03334b3a
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 25 10:34:06 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 10:34:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fdec655

sci-visualization/gr: Pass full path to libagg.so

Bug: https://bugs.gentoo.org/905946
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sci-visualization/gr/gr-0.73.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-visualization/gr/gr-0.73.3.ebuild 
b/sci-visualization/gr/gr-0.73.3.ebuild
index 07d5cc654cae..8e55d4f9c9ba 100644
--- a/sci-visualization/gr/gr-0.73.3.ebuild
+++ b/sci-visualization/gr/gr-0.73.3.ebuild
@@ -43,7 +43,7 @@ REQUIRED_USE="cairo? ( truetype )"
 
 src_configure() {
        if use agg ; then
-               mycmakeargs+=( -DAGG_LIBRARY=libagg.so 
-DAGG_INCLUDE_DIR=/usr/include/agg2 )
+               mycmakeargs+=( -DAGG_LIBRARY=/usr/$(get_libdir)/libagg.so 
-DAGG_INCLUDE_DIR=/usr/include/agg2 )
        else
                mycmakeargs+=( -DAGG_LIBRARY= )
        fi

Reply via email to