Most of the "sed" calls in the c-client ebuilds use ":" as the pattern
separator, because we expect to be replacing things with front-slashes
in them. One exception was the call that replaced CC, AR, and RANLIB;
and that finally bit us. A user with absolute paths in those variables
reported the defect.
This commit fixes the call to use ":" as the pattern separator, like
everywhere else in the ebuild. Since it is a build-only fix, it was
made without a new revision.
Gentoo-Bug: 609744
Package-Manager: portage-2.3.3
# Respect LDFLAGS
eapply "${FILESDIR}/${PN}-2007f-ldflags.patch"
- sed -e "s/CC=cc/CC=$(tc-getCC)/" \
- -e "s/ARRC=ar/ARRC=$(tc-getAR)/" \
- -e "s/RANLIB=ranlib/RANLIB=$(tc-getRANLIB)/" \
+ sed -e "s:CC=cc:CC=$(tc-getCC):" \
+ -e "s:ARRC=ar:ARRC=$(tc-getAR):" \
+ -e "s:RANLIB=ranlib:RANLIB=$(tc-getRANLIB):" \
-i src/osdep/unix/Makefile \
|| die "failed to fix build flags support in the Makefile"