diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2014-03-22 19:38:36 +0000 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2014-03-22 19:38:36 +0000 |
commit | 176934a35a8fb52af963935b8063f2f6a6925cd7 (patch) | |
tree | 36021f9d5ab1cd5d44225da43673c6281dd65c9e /app-admin/pass | |
parent | New ebuild for mate-extra/mate-media, multimedia related programs for the MAT... (diff) | |
download | gentoo-2-176934a35a8fb52af963935b8063f2f6a6925cd7.tar.gz gentoo-2-176934a35a8fb52af963935b8063f2f6a6925cd7.tar.bz2 gentoo-2-176934a35a8fb52af963935b8063f2f6a6925cd7.zip |
Support darwin on livebuild.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE)
Diffstat (limited to 'app-admin/pass')
-rw-r--r-- | app-admin/pass/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/pass/pass-9999.ebuild | 20 |
2 files changed, 22 insertions, 3 deletions
diff --git a/app-admin/pass/ChangeLog b/app-admin/pass/ChangeLog index fb9d9a375e65..f6259aff87a7 100644 --- a/app-admin/pass/ChangeLog +++ b/app-admin/pass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/pass # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/ChangeLog,v 1.7 2014/03/22 19:30:33 zx2c4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/ChangeLog,v 1.8 2014/03/22 19:38:36 zx2c4 Exp $ + + 22 Mar 2014; Jason A. Donenfeld <zx2c4@gentoo.org> pass-9999.ebuild: + Support darwin on livebuild. 22 Mar 2014; Jason A. Donenfeld <zx2c4@gentoo.org> pass-9999.ebuild: Completion location changed in upstream. diff --git a/app-admin/pass/pass-9999.ebuild b/app-admin/pass/pass-9999.ebuild index d68da4a85a20..69142bed9861 100644 --- a/app-admin/pass/pass-9999.ebuild +++ b/app-admin/pass/pass-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/pass-9999.ebuild,v 1.4 2014/03/22 19:30:33 zx2c4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/pass/pass-9999.ebuild,v 1.5 2014/03/22 19:38:36 zx2c4 Exp $ EAPI=4 @@ -13,7 +13,7 @@ EGIT_REPO_URI="http://git.zx2c4.com/password-store" SLOT="0" LICENSE="GPL-2" KEYWORDS="" -IUSE="+git X zsh-completion fish-completion" +IUSE="+git X zsh-completion fish-completion elibc_Darwin" RDEPEND=" app-crypt/gnupg @@ -21,12 +21,23 @@ RDEPEND=" app-text/tree git? ( dev-vcs/git ) X? ( x11-misc/xclip ) + elibc_Darwin? ( app-misc/getopt ) zsh-completion? ( app-shells/zsh ) fish-completion? ( app-shells/fish ) " S="${WORKDIR}/password-store-${PV}" +src_prepare() { + use elibc_Darwin || return + # use coreutils' + sed -i -e 's/openssl base64/base64/g' src/platform/darwin.sh || die + # host getopt isn't cool, and we aren't brew (rip out brew reference) + sed -i -e '/^GETOPT=/s/=.*$/=getopt-long/' src/platform/darwin.sh || die + # make sure we can find "mount" + sed -i -e 's:mount -t:/sbin/mount -t:' src/platform/darwin.sh || die +} + src_compile() { :; } @@ -44,4 +55,9 @@ src_install() { insinto /usr/share/fish/completions newins src/completion/pass.fish-completion pass.fish fi + if use elibc_Darwin ; then + insinto /usr/share/pass + newins src/platform/darwin.sh platform.sh + fi + } |