dev-libs/apr: support Prefix.
authorBenda Xu <heroxbd@gentoo.org>
Mon, 26 Nov 2018 12:14:28 +0000 (20:14 +0800)
committerBenda Xu <heroxbd@gentoo.org>
Mon, 26 Nov 2018 12:15:41 +0000 (20:15 +0800)
Suggested-By: Olivier Huber
Closes: https://bugs.gentoo.org/669396
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

dev-libs/apr/apr-1.6.5.ebuild

index 40fc1cbca280a4411839d529f7a68b88dddfb734..904427dc046c1f00313b2bf00d4ae0521f779b9f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -49,7 +49,7 @@ src_configure() {
                --enable-posix-shm
                --enable-threads
                $(use_enable static-libs static)
-               --with-installbuilddir=/usr/share/${PN}/build
+               --with-installbuilddir="${EPREFIX}"/usr/share/${PN}/build
        )
 
        [[ ${CHOST} == *-mint* ]] && export ac_cv_func_poll=no