summaryrefslogtreecommitdiff
path: root/audio/gkrellm-xmms/patches/patch-aa
diff options
context:
space:
mode:
authordamon <damon>2001-10-30 13:22:05 +0000
committerdamon <damon>2001-10-30 13:22:05 +0000
commit34e81188bbd1d6a20b47654802aad80bb2a43e24 (patch)
tree4be49c4067f916f9655eccd3b16a8e150a6cedb7 /audio/gkrellm-xmms/patches/patch-aa
parent39f5ad42dc444bb5f81c737c145ca8e3b9d1d970 (diff)
downloadpkgsrc-34e81188bbd1d6a20b47654802aad80bb2a43e24.tar.gz
Initial Version
Diffstat (limited to 'audio/gkrellm-xmms/patches/patch-aa')
-rw-r--r--audio/gkrellm-xmms/patches/patch-aa32
1 files changed, 32 insertions, 0 deletions
diff --git a/audio/gkrellm-xmms/patches/patch-aa b/audio/gkrellm-xmms/patches/patch-aa
new file mode 100644
index 00000000000..d2f60ca1aae
--- /dev/null
+++ b/audio/gkrellm-xmms/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/10/30 13:22:05 damon Exp $
+
+--- Makefile.orig Sat Jan 20 15:28:38 2001
++++ Makefile
+@@ -10,14 +10,16 @@
+ XMMS_INCLUDE = `xmms-config --cflags`
+ XMMS_LIB = `xmms-config --libs`
+
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
++CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
+ LIBS = $(GTK_LIB) $(IMLIB_LIB) $(XMMS_LIB)
+ LFLAGS = -shared -lpthread
+
+-CC = gcc $(CFLAGS) $(FLAGS)
++CC = gcc $(CFLAGS)
+
+ OBJS = gkrellmms.o options.o playlist.o
+
++all: $(BIN_FILENAME).so
++
+ $(BIN_FILENAME).so: $(OBJS)
+ $(CC) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS)
+
+@@ -25,7 +27,7 @@
+ rm -f *.o core *.so* *.bak *~
+
+ install:
+- install -c -s -m 755 $(BIN_FILENAME).so /usr/share/gkrellm/plugins
++ install -c -s -m 644 $(BIN_FILENAME).so ${PREFIX}/lib/gkrellm/plugins
+
+ gkrellmms.c.o: gkrellmms.c
+ options.c.o: options.c