summaryrefslogtreecommitdiff
path: root/audio/xmms-sapplug/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-sapplug/files/patch-Makefile')
-rw-r--r--audio/xmms-sapplug/files/patch-Makefile47
1 files changed, 0 insertions, 47 deletions
diff --git a/audio/xmms-sapplug/files/patch-Makefile b/audio/xmms-sapplug/files/patch-Makefile
deleted file mode 100644
index 6a175a3b76b0..000000000000
--- a/audio/xmms-sapplug/files/patch-Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
---- Makefile.orig 2003-10-14 23:59:50 UTC
-+++ Makefile
-@@ -19,15 +19,18 @@
- #
- ##########################################################################
-
--CC = gcc
-+CC?= gcc
-+MAKE?= make
-
--CFLAGS = -O2 -Wall -fPIC -fpic \
-- -finline-functions -ffast-math \
-- -funroll-all-loops -fomit-frame-pointer -fno-strength-reduce \
-- $(shell xmms-config --cflags)
-+CFLAGS?= -O2 -Wall -fPIC -fpic \
-+ -finline-functions -ffast-math \
-+ -funroll-all-loops -fomit-frame-pointer -fno-strength-reduce
-
--LINKER_FLAGS = -shared -Wl,-soname -Wl,$(TARGET) \
-- -Wl,-retain-symbols-file -Wl,syms
-+CFLAGS+= $(shell xmms-config --cflags)
-+
-+
-+LDFLAGS+= -shared -Wl,-soname -Wl,$(TARGET) \
-+ -Wl,-retain-symbols-file -Wl,syms
-
- TARGET = libsap.so
-
-@@ -43,15 +46,15 @@ all: library plugin
- plugin: $(OBJS)
- @./scripts/gen_symbols sap_plug.o
- @echo
-- $(CC) $(LINKER_FLAGS) $(OBJS) $(SAPLIB) -o $(TARGET)
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(SAPLIB) -o $(TARGET)
- @echo
- library:
- @echo
-- cd saplib && make
-+ cd saplib && $(MAKE)
- @echo
- install:
- cp $(TARGET) $(HOME)/.xmms/Plugins/Input
- clean:
- rm -f *.o *.so *.a .syms syms
- realclean: clean
-- cd saplib && make clean
-+ cd saplib && $(MAKE) clean