app-crypt/pinentry: support cross compile of fltk
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 6 Oct 2018 20:42:08 +0000 (23:42 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 6 Oct 2018 20:42:27 +0000 (23:42 +0300)
provided the fltk-config will support cross compile.

Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

app-crypt/pinentry/pinentry-1.1.0-r3.ebuild

index 0628c073c110d6b27eecc23fcbfafb417191eebf..82e3443aa1b38eacfa0093bb1c16b8e7b6fffa77 100644 (file)
@@ -73,6 +73,7 @@ src_configure() {
                $(use_enable qt5 pinentry-qt) \
                $(use_with caps libcap) \
                --enable-pinentry-tty \
+               FLTK_CONFIG="${EROOT}/usr/bin/fltk-config" \
                MOC="$(qt5_get_bindir)"/moc \
                $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
 }