--- /usr/portage/app-admin/pass/pass-1.6.5.ebuild 2016-12-21 22:33:39.000000000 +0100 +++ /usr/portage/app-admin/pass/pass-1.6.5.ebuild 2017-01-17 00:45:07.413902762 +0100 @@ -4,7 +4,7 @@ EAPI=5 -inherit bash-completion-r1 elisp-common +inherit bash-completion-r1 elisp-common eutils DESCRIPTION="Stores, retrieves, generates, and synchronizes passwords securely using gpg, pwgen, and git" HOMEPAGE="http://www.passwordstore.org/" @@ -13,7 +13,7 @@ SRC_URI="http://git.zx2c4.com/password-s SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 x86 ~x86-macos" -IUSE="+git X zsh-completion fish-completion emacs dmenu importers elibc_Darwin" +IUSE="+git X zsh-completion fish-completion emacs dmenu importers elibc_Darwin smartcard" RDEPEND=" app-crypt/gnupg @@ -31,6 +31,10 @@ RDEPEND=" S="${WORKDIR}/password-store-${PV}" src_prepare() { + if use smartcard; then + epatch "${FILESDIR}/${P}-scdaemon.patch" + fi + use elibc_Darwin || return # use coreutils' sed -i -e 's/openssl base64/base64/g' src/platform/darwin.sh || die