dev-libs/libassuan: support cross-compile
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 5 Oct 2018 23:46:25 +0000 (02:46 +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/libassuan/libassuan-2.5.1-r1.ebuild

index 89882fdf05bfefa13ed48aad068b9ec53d46cdbf..f834f0c7a39cae7ef163f9b08bb974ff3fe1db8d 100644 (file)
@@ -34,7 +34,8 @@ src_prepare() {
 
 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() {