summaryrefslogtreecommitdiff
path: root/sys-fs/compsize/compsize-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/compsize/compsize-9999.ebuild')
-rw-r--r--sys-fs/compsize/compsize-9999.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys-fs/compsize/compsize-9999.ebuild b/sys-fs/compsize/compsize-9999.ebuild
index 3144e142c1e2..f00e46619d53 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
@@ -16,7 +16,7 @@ else
KEYWORDS="~amd64 ~x86"
fi
-LICENSE="GPL-2+"
+LICENSE="GPL-2+ GPL-2"
IUSE="debug"
SLOT="0"
@@ -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
}