commit 0da734d10ea03678e950aaf4b397d1b3665d9a09 parent 55dc75a98c6580d9ef9d158a3aea7bc6c5b2bb03 Author: parazyd <parazyd@dyne.org> Date: Tue, 24 Oct 2017 02:24:21 +0200 x11-misc/slstatus: Fix some sed logic. Diffstat:
M | x11-misc/slstatus/slstatus-9999.ebuild | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/x11-misc/slstatus/slstatus-9999.ebuild b/x11-misc/slstatus/slstatus-9999.ebuild @@ -21,8 +21,8 @@ src_prepare() { default sed -i \ - -e "/^CDFLAGS/{s|=|+=|g;s|-O. | |g}" \ - -e "/^LDFLAGS/{s|=|+=|g;s|-s | |g}" \ + -e "/^CFLAGS/{s|=|+=|;s|-O. | |g}" \ + -e "/^LDFLAGS/{s|=|+=|g;s|-s$| |g}" \ -e "s@/usr/X11R6/include@${EPREFIX}/usr/include/X11@" \ -e "s@/usr/X11R6/lib@${EPREFIX}/usr/lib@" \ -e "s@-I/usr/include@@" -e "s@-L/usr/lib@@" \