aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJian Lin <jlin.gentoo@outlook.com>2021-04-21 07:35:11 +0800
committerJian Lin <jlin.gentoo@outlook.com>2021-04-21 07:35:11 +0800
commita589a3bd936d9d76c49fdb47b10855cd47121811 (patch)
tree7d92afe33d641db03f685b10f8957deb68df219f /x11-misc/i3lock-fancy-rapid
parentapp-misc/far2l: new package (diff)
downloadguru-a589a3bd936d9d76c49fdb47b10855cd47121811.tar.gz
guru-a589a3bd936d9d76c49fdb47b10855cd47121811.tar.bz2
guru-a589a3bd936d9d76c49fdb47b10855cd47121811.zip
x11-misc/i3lock-fancy-rapid: respect LDFLAGS
Closes: https://bugs.gentoo.org/781818 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Jian Lin <jlin.gentoo@outlook.com>
Diffstat (limited to 'x11-misc/i3lock-fancy-rapid')
-rw-r--r--x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-0.0.0_pre20201109-r1.ebuild (renamed from x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-0.0.0_pre20201109.ebuild)1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-0.0.0_pre20201109.ebuild b/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-0.0.0_pre20201109-r1.ebuild
index ce7191db1..d7e35a48b 100644
--- a/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-0.0.0_pre20201109.ebuild
+++ b/x11-misc/i3lock-fancy-rapid/i3lock-fancy-rapid-0.0.0_pre20201109-r1.ebuild
@@ -28,6 +28,7 @@ src_prepare() {
default
sed -e "s/gcc/$(tc-getCC)/" \
-e "/CFLAGS=/d" \
+ -e 's/$(CC) $^ $(CFLAGS) -o $@/$(CC) $^ $(CFLAGS) $(LDFLAGS) -o $@/' \
-i Makefile || die
}