mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-crypt/gnupg: fix bug #649598, USE=usb on prefix
Closes: https://bugs.gentoo.org/649598 Suggested-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.47, Repoman-2.3.10
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit systemd toolchain-funcs
|
||||
inherit flag-o-matic systemd toolchain-funcs
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
@@ -65,6 +65,10 @@ src_configure() {
|
||||
--enable-scdaemon
|
||||
$(use_enable usb ccid-driver)
|
||||
)
|
||||
if use prefix && use usb ; then
|
||||
# bug #649598
|
||||
append-cppflags -I"${EPREFIX}/usr/include/libusb-1.0"
|
||||
fi
|
||||
else
|
||||
myconf+=( --disable-scdaemon )
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user