summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2019-02-21 02:59:39 +0100
committerMike Gilbert <floppym@gentoo.org>2019-05-17 15:33:28 -0400
commit824c1e88cd71e21c0bb5c110e6ae035dabed6459 (patch)
tree0393061464349faf8a74dcc657ff48f66da2992f /net-wireless/crda
parentmedia-video/smplayer: Move dev-qt/linguist-tools to BDEPEND. (diff)
downloadgentoo-824c1e88cd71e21c0bb5c110e6ae035dabed6459.tar.gz
gentoo-824c1e88cd71e21c0bb5c110e6ae035dabed6459.tar.bz2
gentoo-824c1e88cd71e21c0bb5c110e6ae035dabed6459.zip
net-wireless/crda: Respect LDFLAGS.
Fixes: https://bugs.gentoo.org/678450 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-wireless/crda')
-rw-r--r--net-wireless/crda/crda-3.18-r3.ebuild3
-rw-r--r--net-wireless/crda/files/crda-3.18-ldflags.patch11
2 files changed, 13 insertions, 1 deletions
diff --git a/net-wireless/crda/crda-3.18-r3.ebuild b/net-wireless/crda/crda-3.18-r3.ebuild
index dd11f3fcc890..a4dd9134d4bd 100644
--- a/net-wireless/crda/crda-3.18-r3.ebuild
+++ b/net-wireless/crda/crda-3.18-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 2008-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -39,6 +39,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.18-libreg-link.patch #542436
"${FILESDIR}"/${PN}-3.18-openssl-1.1.0-compatibility.patch #652428
"${FILESDIR}"/${PN}-3.18-libressl.patch
+ "${FILESDIR}"/${PN}-3.18-ldflags.patch
)
src_prepare() {
diff --git a/net-wireless/crda/files/crda-3.18-ldflags.patch b/net-wireless/crda/files/crda-3.18-ldflags.patch
new file mode 100644
index 000000000000..5ba9165c7adc
--- /dev/null
+++ b/net-wireless/crda/files/crda-3.18-ldflags.patch
@@ -0,0 +1,11 @@
+--- /Makefile
++++ /Makefile
+@@ -115,7 +115,7 @@
+
+ $(LIBREG): regdb.h reglib.h reglib.c
+ $(NQ) ' CC ' $@
+- $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(filter-out -lreg,$(LDLIBS))
++ $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ -shared -Wl,-soname,$(LIBREG) $^ $(filter-out -lreg,$(LDLIBS))
+
+ install-libreg-headers:
+ $(NQ) ' INSTALL libreg-headers'