dev-libs/libksba: support cross-compile
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 5 Oct 2018 23:45:48 +0000 (02:45 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 6 Oct 2018 00:32:19 +0000 (03:32 +0300)
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

dev-libs/libksba/libksba-1.3.5-r2.ebuild

index b8c1d0eee738c09381120589f4abd013ca341cc5..ef29c486e9a71c19498ebe207278b025e47b4a23 100644 (file)
@@ -17,7 +17,8 @@ DEPEND="${RDEPEND}"
 
 src_configure() {
        econf \
-               $(use_enable static-libs static)
+               $(use_enable static-libs static) \
+               $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
 }
 
 src_install() {