commit:     7e1ec2394d628ece7afe8fb05854365c84d8ac9e
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 12 21:43:47 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 13:59:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e1ec239

dev-libs/apr-util: Don't prefix db_includedir with SYSROOT

The function will do it for you now, although with ESYSROOT rather than
SYSROOT, which was incorrect.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-libs/apr-util/apr-util-1.6.1-r10.ebuild | 2 +-
 dev-libs/apr-util/apr-util-1.6.1-r9.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/apr-util/apr-util-1.6.1-r10.ebuild 
b/dev-libs/apr-util/apr-util-1.6.1-r10.ebuild
index 34e92f237803..ff0412e3d5fc 100644
--- a/dev-libs/apr-util/apr-util-1.6.1-r10.ebuild
+++ b/dev-libs/apr-util/apr-util-1.6.1-r10.ebuild
@@ -96,7 +96,7 @@ src_configure() {
                        # We use $T for the libdir because otherwise it'd 
simply be the normal
                        # system libdir.  That's pointless as the compiler will 
search it for
                        # us already.  This makes cross-compiling and such 
easier.
-                       --with-berkeley-db="${SYSROOT}$(db_includedir 
2>/dev/null):${T}"
+                       --with-berkeley-db="$(db_includedir 2>/dev/null):${T}"
                )
        else
                myconf+=( --without-berkeley-db )

diff --git a/dev-libs/apr-util/apr-util-1.6.1-r9.ebuild 
b/dev-libs/apr-util/apr-util-1.6.1-r9.ebuild
index facb1b2e7b80..42ff0c6607ef 100644
--- a/dev-libs/apr-util/apr-util-1.6.1-r9.ebuild
+++ b/dev-libs/apr-util/apr-util-1.6.1-r9.ebuild
@@ -96,7 +96,7 @@ src_configure() {
                        # We use $T for the libdir because otherwise it'd 
simply be the normal
                        # system libdir.  That's pointless as the compiler will 
search it for
                        # us already.  This makes cross-compiling and such 
easier.
-                       --with-berkeley-db="${SYSROOT}$(db_includedir 
2>/dev/null):${T}"
+                       --with-berkeley-db="$(db_includedir 2>/dev/null):${T}"
                )
        else
                myconf+=( --without-berkeley-db )

Reply via email to