summaryrefslogtreecommitdiff
path: root/app-crypt/gnupg/gnupg-2.2.9.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-25 07:36:27 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-25 07:36:27 +0100
commit43793fab84041cfc5c60c0151d1591b8a69fb24a (patch)
tree6208a7f4fc744684fce0f55acbb47511acace498 /app-crypt/gnupg/gnupg-2.2.9.ebuild
parent28e3d252dc8ac8a5635206dfefe1cfe05058d1db (diff)
gentoo resync : 25.08.2018
Diffstat (limited to 'app-crypt/gnupg/gnupg-2.2.9.ebuild')
-rw-r--r--app-crypt/gnupg/gnupg-2.2.9.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-crypt/gnupg/gnupg-2.2.9.ebuild b/app-crypt/gnupg/gnupg-2.2.9.ebuild
index d53de1b71258..2345009acbcb 100644
--- a/app-crypt/gnupg/gnupg-2.2.9.ebuild
+++ b/app-crypt/gnupg/gnupg-2.2.9.ebuild
@@ -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