dev-libs/log4cxx: fix SYSROOT/EPREFIX usage, bug #654678
authorFabian Groffen <grobian@gentoo.org>
Tue, 29 May 2018 09:58:30 +0000 (11:58 +0200)
committerFabian Groffen <grobian@gentoo.org>
Tue, 29 May 2018 09:58:53 +0000 (11:58 +0200)
Closes: https://bugs.gentoo.org/654678
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-libs/log4cxx/log4cxx-0.10.0-r1.ebuild

index a69b608e1affcd62b1dc3fdb5146ef6043d72524..a305c20e25e598525309bca5bbc4e3da5b8251b8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -45,7 +45,7 @@ src_configure() {
        econf \
                --disable-doxygen \
                --disable-html-docs \
-               --with-apr-util="${SYSROOT:-${EPREFIX}}/usr" \
+               --with-apr-util="${SYSROOT}${EPREFIX}/usr" \
                $(use_with smtp SMTP libesmtp) \
                $(use_with odbc ODBC $(usex iodbc iODBC unixODBC)) \
                --with-charset=$(usex unicode utf-8 auto)