Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
-# 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
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
src_configure() {
tc-export CC CXX
./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() {