summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2018-10-06 02:46:25 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2018-10-06 03:32:19 +0300
commit50d4ef16bac69c3ae016a9e8626ed0a6c7c44748 (patch)
treea328a1d46d37726135bfd391d20cdb6011816b7c /dev-libs/libassuan
parentdev-libs/libksba: support cross-compile (diff)
downloadgentoo-50d4ef16bac69c3ae016a9e8626ed0a6c7c44748.tar.gz
gentoo-50d4ef16bac69c3ae016a9e8626ed0a6c7c44748.tar.bz2
gentoo-50d4ef16bac69c3ae016a9e8626ed0a6c7c44748.zip
dev-libs/libassuan: support cross-compile
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-libs/libassuan')
-rw-r--r--dev-libs/libassuan/libassuan-2.5.1-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild
index 89882fdf05bf..f834f0c7a39c 100644
--- a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild
+++ b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild
@@ -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() {