summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-08-25 14:43:23 +0200
committerPacho Ramos <pacho@gentoo.org>2016-08-25 14:53:54 +0200
commitbf5e766c3cc6509c0ea8fd9c7a8c1aabda363155 (patch)
tree6962249ba1f2674c52303b5342b716fe6f451ed8 /x11-plugins/gkrellm-radio/files
parentx11-plugins/gkrellmoon: Respect LDFLAGS (#338792 by Michael Mair-Keimberger (... (diff)
downloadgentoo-bf5e766c3cc6509c0ea8fd9c7a8c1aabda363155.tar.gz
gentoo-bf5e766c3cc6509c0ea8fd9c7a8c1aabda363155.tar.bz2
gentoo-bf5e766c3cc6509c0ea8fd9c7a8c1aabda363155.zip
x11-plugins/gkrellm-radio: Respect LDFLAGS and fix dependencies (#340138 by Michael Mair-Keimberger (iamnr3))
Package-Manager: portage-2.3.0
Diffstat (limited to 'x11-plugins/gkrellm-radio/files')
-rw-r--r--x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-makefile.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-makefile.patch b/x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-makefile.patch
new file mode 100644
index 000000000000..a5fcabfea07b
--- /dev/null
+++ b/x11-plugins/gkrellm-radio/files/gkrellm-radio-2.0.4-makefile.patch
@@ -0,0 +1,22 @@
+--- a/Makefile 2003-09-20 13:02:15.000000000 +0200
++++ b/Makefile_new 2013-03-16 14:38:19.122375762 +0100
+@@ -9,8 +9,8 @@
+
+ DISTFILES=gkrellm_radio.c radio.c radio.h videodev.h README Makefile CHANGES
+
+-CC=gcc
+-LDFLAGS=
++CC=$(CC)
++LDFLAGS=$(LDFLAGS)
+ OBJS=gkrellm_radio.o radio.o
+ PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins
+ INSTALL = install -c
+@@ -35,7 +35,7 @@
+ export PACKAGE LOCALEDIR
+
+ radio.so: $(OBJS)
+- $(CC) -shared -Wl -o radio.so $(OBJS) $(LDFLAGS)
++ $(CC) -shared -o radio.so $(OBJS) $(LDFLAGS)
+ (cd po && ${MAKE} all )
+
+ %.o: %.c