summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-12-12 21:43:47 +0000
committerJames Le Cuirot <chewi@gentoo.org>2022-12-18 13:59:35 +0000
commit7e1ec2394d628ece7afe8fb05854365c84d8ac9e (patch)
tree48c3ed39e0552f83af87f303f4b52e3554204722 /dev-libs/apr-util
parentdb-use.eclass: Use ESYSROOT rather than EPREFIX where appropriate (diff)
downloadgentoo-7e1ec2394d628ece7afe8fb05854365c84d8ac9e.tar.gz
gentoo-7e1ec2394d628ece7afe8fb05854365c84d8ac9e.tar.bz2
gentoo-7e1ec2394d628ece7afe8fb05854365c84d8ac9e.zip
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@gentoo.org>
Diffstat (limited to 'dev-libs/apr-util')
-rw-r--r--dev-libs/apr-util/apr-util-1.6.1-r10.ebuild2
-rw-r--r--dev-libs/apr-util/apr-util-1.6.1-r9.ebuild2
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 )