summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-01-08 15:12:48 -0600
committerBen Kohler <bkohler@gentoo.org>2021-01-08 15:13:26 -0600
commit274915f4d3b6e729b0b6dc57a589eed5ca0d5be1 (patch)
tree3d509ed1e0055e86d03040686c52645464704fa4 /net-wireless
parentnet-print/cups-filters: Removed old (diff)
downloadgentoo-274915f4d3b6e729b0b6dc57a589eed5ca0d5be1.tar.gz
gentoo-274915f4d3b6e729b0b6dc57a589eed5ca0d5be1.tar.bz2
gentoo-274915f4d3b6e729b0b6dc57a589eed5ca0d5be1.zip
net-wireless/iwgtk: QA fixes
Thanks Polynomial-C and ago for reporting Closes: https://bugs.gentoo.org/764503 Closes: https://github.com/gentoo/gentoo/pull/18996 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/iwgtk/iwgtk-0.4.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-wireless/iwgtk/iwgtk-0.4.ebuild b/net-wireless/iwgtk/iwgtk-0.4.ebuild
index 6283df49fc20..eb3eb819b7af 100644
--- a/net-wireless/iwgtk/iwgtk-0.4.ebuild
+++ b/net-wireless/iwgtk/iwgtk-0.4.ebuild
@@ -29,10 +29,15 @@ RDEPEND="
src_prepare() {
default
- sed -i -e 's/^CC=/CC?=/' -e 's/^CFLAGS=/CFLAGS:=/' -e 's/-O3$/${CFLAGS}/' Makefile
+ sed -i \
+ -e 's/^CC=/CC?=/' \
+ -e 's/^CFLAGS=/CFLAGS:=$(CFLAGS) /' \
+ -e 's/^LDLIBS=/LDLIBS:=$(LDFLAGS) /' \
+ -e 's/-O3$/${CFLAGS}/' \
+ Makefile || die
}
src_install() {
emake prefix="${ED}/usr" install
- gunzip "${ED}/usr/share/man/man1/iwgtk.1.gz"
+ gunzip "${ED}/usr/share/man/man1/iwgtk.1.gz" || die
}