summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-04-29 23:55:51 +0100
committerSam James <sam@gentoo.org>2021-05-04 22:17:11 +0000
commit9c92c03392c89e1a99f3f9b42297d5ddf3ba9a05 (patch)
tree28c041582044b583ff309f5a80b30ddcbe19acfb /net-misc/udpxy
parentnet-dns/maradns: Port to python 3.9 (diff)
downloadgentoo-9c92c03392c89e1a99f3f9b42297d5ddf3ba9a05.tar.gz
gentoo-9c92c03392c89e1a99f3f9b42297d5ddf3ba9a05.tar.bz2
gentoo-9c92c03392c89e1a99f3f9b42297d5ddf3ba9a05.zip
net-misc/udpxy: Respect CFLAGS
Closes: https://bugs.gentoo.org/725238 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/udpxy')
-rw-r--r--net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch12
-rw-r--r--net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild4
2 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch b/net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch
new file mode 100644
index 000000000000..b2b8ba1c3b82
--- /dev/null
+++ b/net-misc/udpxy/files/udpxy-1.0.23.7-cflags.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/725238
+--- a/Makefile
++++ b/Makefile
+@@ -100,7 +100,7 @@ CORES := core.* core
+ debug ldebug rdebug lean verify touch incbuild
+
+ .c.o :
+- $(CC) $(ALL_CFLAGS) $(CPPFLAGS) $(CDEFS) $(COPT) -c $< -o $@
++ $(CC) $(CFLAGS) $(CPPFLAGS) $(CDEFS) $(COPT) -c $< -o $@
+
+ release:
+ @echo -e "\nMaking a [release] version (use 'debug' target as an alternative)\n"
diff --git a/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild
index 73364f910479..ab57d61e4a3f 100644
--- a/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild
+++ b/net-misc/udpxy/udpxy-1.0.23.7-r2.ebuild
@@ -15,6 +15,10 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+PATCHES=(
+ "${FILESDIR}"/${P}-cflags.patch
+)
+
src_prepare() {
default