diff options
Diffstat (limited to 'sys-fs/compsize/compsize-9999.ebuild')
-rw-r--r-- | sys-fs/compsize/compsize-9999.ebuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sys-fs/compsize/compsize-9999.ebuild b/sys-fs/compsize/compsize-9999.ebuild index 3144e142c1e2..41911740180e 100644 --- a/sys-fs/compsize/compsize-9999.ebuild +++ b/sys-fs/compsize/compsize-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,18 +26,14 @@ src_prepare() { default # Don't try to install a gzipped manfile during emake install sed -i -e $'s/\.gz//' -e $'s/gzip.*/install \-Dm755 \$\< \$\@/' Makefile || die - # sys-fs/compsize > 1.3 removes '/usr' from install paths in Makefile - sed -i $'s/(PREFIX)/(PREFIX)\/usr/' Makefile || die } src_configure() { - # Used in upstream Makefile, but clobbered by portage's CFLAGS - append-cflags -Wall -std=gnu90 - use debug && append-cflags -DDEBUG -g + use debug && append-cflags -Wall -DDEBUG -g default } src_install() { - emake PREFIX="${D}" install - dodoc "README.md" + emake PREFIX="${ED}/usr" install + einstalldocs } |