From: Alon Bar-Lev Date: Sat, 4 Feb 2017 00:35:24 +0000 (+0200) Subject: app-crypt/chntpw: eapi bump X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e0f46b211ae3d3b453285b0b536505536e143526;p=gentoo.git app-crypt/chntpw: eapi bump Package-Manager: portage-2.3.3 --- 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 }