diff options
author | David Seifert <soap@gentoo.org> | 2019-12-13 14:20:37 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-12-13 14:20:37 +0100 |
commit | 1a81248472a170c78a815c4ee741587953b7930b (patch) | |
tree | 50fa022bc3fac3efe9e0c3abdb1def979e641e26 /media-video | |
parent | media-video/alevt: Port to EAPI 7 (diff) | |
download | gentoo-1a81248472a170c78a815c4ee741587953b7930b.tar.gz gentoo-1a81248472a170c78a815c4ee741587953b7930b.tar.bz2 gentoo-1a81248472a170c78a815c4ee741587953b7930b.zip |
media-video/mkclean: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mkclean/mkclean-0.8.10.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/media-video/mkclean/mkclean-0.8.10.ebuild b/media-video/mkclean/mkclean-0.8.10.ebuild index c094af08ab56..35ddf2b4dfca 100644 --- a/media-video/mkclean/mkclean-0.8.10.ebuild +++ b/media-video/mkclean/mkclean-0.8.10.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 inherit toolchain-funcs @@ -12,7 +12,6 @@ SRC_URI="http://downloads.sourceforge.net/project/matroska/${PN}/${P}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" src_configure() { tc-export CC CXX @@ -23,8 +22,13 @@ src_configure() { ./coremake $(corec/tools/coremake/system_output.sh) || die # fixing generated makefiles - sed -i -e 's|^\(LFLAGS.*+=.*\$(LIBS)\)|\1 \$(LDFLAGS)|g' \ - -e 's|^\(STRIP.*=\)|\1 echo|g' $(find -name "*.mak") || die + local f + while IFS="" read -d $'\0' -r f; do + sed \ + -e 's|^\(LFLAGS.*+=.*\$(LIBS)\)|\1 \$(LDFLAGS)|g' \ + -e 's|^\(STRIP.*=\)|\1 echo|g' \ + -i "${f}" || die + done < <(find -name "*.mak" -type f -print0) } src_compile() { |