From e0f46b211ae3d3b453285b0b536505536e143526 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 4 Feb 2017 02:35:24 +0200 Subject: [PATCH] app-crypt/chntpw: eapi bump Package-Manager: portage-2.3.3 --- app-crypt/chntpw/chntpw-140201.ebuild | 12 ++++++++---- 1 file 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 } -- 2.26.2