Closes: https://bugs.gentoo.org/710700
Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-e "/^LD/s:ld:$(tc-getLD):" \
-e "/^AR/s:ar:$(tc-getAR):" \
-e "/^RANLIB/s:ranlib:$(tc-getRANLIB):" \
- -e "/^CFLAGS/s:-O2:${CFLAGS}:" Makefile */Makefile || die
+ -e "/^CFLAGS/s|-O2|${CFLAGS}|" Makefile */Makefile || die
# fix compile when pciutils is compiled with USE=zlib (Bug 200295)
sed -i -e "s:-lpci:$(pkg-config --libs libpci):g" smcinit/Makefile || die