diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-08-25 14:38:19 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-08-25 14:53:52 +0200 |
commit | 2f0afaa0a69744ab30d51315e50ae0c4a3a4c4e1 (patch) | |
tree | 32d4546370bf1a9c6d3e3bbe5cf968fb3d43f844 /x11-plugins/gkrellmoon/files | |
parent | x11-plugins/gkrellm-trayicons: Respect LDFLAGS (#338784 by Michael Mair-Keimb... (diff) | |
download | gentoo-2f0afaa0a69744ab30d51315e50ae0c4a3a4c4e1.tar.gz gentoo-2f0afaa0a69744ab30d51315e50ae0c4a3a4c4e1.tar.bz2 gentoo-2f0afaa0a69744ab30d51315e50ae0c4a3a4c4e1.zip |
x11-plugins/gkrellmoon: Respect LDFLAGS (#338792 by Michael Mair-Keimberger (iamnr3))
Package-Manager: portage-2.3.0
Diffstat (limited to 'x11-plugins/gkrellmoon/files')
-rw-r--r-- | x11-plugins/gkrellmoon/files/gkrellmoon-0.6-makefile.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-makefile.patch b/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-makefile.patch new file mode 100644 index 000000000000..4f4bd0e403f3 --- /dev/null +++ b/x11-plugins/gkrellmoon/files/gkrellmoon-0.6-makefile.patch @@ -0,0 +1,34 @@ +--- a/Makefile 2002-12-11 04:36:06.000000000 +0100 ++++ b/Makefile_new 2013-03-16 13:04:00.963512605 +0100 +@@ -4,23 +4,26 @@ + INSTALLDIR = ${DESTDIR}/usr/lib/gkrellm2/plugins + + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) ++FLAGS = -fPIC $(GTK_INCLUDE) + LIBS = $(GTK_LIB) + LFLAGS = -shared + +-CC = gcc $(CFLAGS) $(FLAGS) ++CC = $(CC) + + OBJS = gkrellmoon.o MoonRise.o CalcEphem.o Moon.o + ++all: gkrellmoon.so ++ ++%.o: %.c ++ $(CC) $(CFLAGS) $(LDFLAGS) $(FLAGS) -c -o $@ $< ++ + gkrellmoon.so: $(OBJS) +- $(CC) $(OBJS) -o gkrellmoon.so $(LFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) $(FLAGS) $(LDFLAGS) $(OBJS) -o gkrellmoon.so $(LFLAGS) $(LIBS) + + clean: + rm -f *.o core *.so* *.bak *~ + + gkrellmoon.o: gkrellmoon.c moon_60.xpm + +-# %.o: %.c +- + install: gkrellmoon.so + install -c -s -m 644 gkrellmoon.so $(INSTALLDIR) |