From: Michael Orlitzky Date: Tue, 21 Feb 2017 02:03:02 +0000 (-0500) Subject: net-libs/c-client: use ":" as pattern separator in a sed call. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=944439b732b303c6bcc5369fba60b8fd6f640348;p=gentoo.git net-libs/c-client: use ":" as pattern separator in a sed call. 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 --- diff --git a/net-libs/c-client/c-client-2007f-r6.ebuild b/net-libs/c-client/c-client-2007f-r6.ebuild index fc6ce38b6a84..e033b90a11d5 100644 --- a/net-libs/c-client/c-client-2007f-r6.ebuild +++ b/net-libs/c-client/c-client-2007f-r6.ebuild @@ -74,9 +74,9 @@ src_prepare() { # 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"