diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-04 02:35:24 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-04 03:30:53 +0200 |
commit | e0f46b211ae3d3b453285b0b536505536e143526 (patch) | |
tree | 29a630449e6074285bdde5d8e51a21f91b050937 /app-crypt/chntpw | |
parent | app-crypt/scute: eapi bump (diff) | |
download | gentoo-e0f46b211ae3d3b453285b0b536505536e143526.tar.gz gentoo-e0f46b211ae3d3b453285b0b536505536e143526.tar.bz2 gentoo-e0f46b211ae3d3b453285b0b536505536e143526.zip |
app-crypt/chntpw: eapi bump
Package-Manager: portage-2.3.3
Diffstat (limited to 'app-crypt/chntpw')
-rw-r--r-- | app-crypt/chntpw/chntpw-140201.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app-crypt/chntpw/chntpw-140201.ebuild b/app-crypt/chntpw/chntpw-140201.ebuild index ee1858d501ce..6ad9ecd529b3 100644 --- a/app-crypt/chntpw/chntpw-140201.ebuild +++ b/app-crypt/chntpw/chntpw-140201.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit toolchain-funcs @@ -21,7 +21,12 @@ DEPEND="${RDEPEND} app-arch/unzip static? ( dev-libs/openssl:0[static-libs] )" +DOCS=( + HISTORY.txt README.txt regedit.txt WinReg.txt +) + src_prepare() { + default sed -i -e '/-o/s:$(CC):$(CC) $(LDFLAGS):' Makefile || die if ! use static ; then @@ -39,11 +44,10 @@ src_compile() { } src_install() { + einstalldocs dobin chntpw cpnt reged if use static; then dobin {chntpw,reged}.static fi - - dodoc {HISTORY,README,regedit,WinReg}.txt } |