aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/xmms-bonk/files/patch-Makefile2
-rw-r--r--audio/xmms-crystality/files/patch-Makefile2
-rw-r--r--audio/xmms-kj/files/patch-aa11
3 files changed, 10 insertions, 5 deletions
diff --git a/audio/xmms-bonk/files/patch-Makefile b/audio/xmms-bonk/files/patch-Makefile
index 078977df4629..eee3e3dc3315 100644
--- a/audio/xmms-bonk/files/patch-Makefile
+++ b/audio/xmms-bonk/files/patch-Makefile
@@ -12,7 +12,7 @@ $FreeBSD$
-else
- CFLAGS=-Wall -O2 -fno-exceptions -ffast-math -D_REENTRANT `gtk-config --cflags`
-endif
-+CXXFLAGS+= -fno-exceptions -D_REENTRANT `xmms-config --cflags`
++CXXFLAGS+= -fno-exceptions -D_REENTRANT `xmms-config --cflags` -fPIC
libbonk.so : bonk-xmms.cc
- $(CPP) $(CFLAGS) -shared -o libbonk.so bonk-xmms.cc -lstdc++
diff --git a/audio/xmms-crystality/files/patch-Makefile b/audio/xmms-crystality/files/patch-Makefile
index 6725d19f2be0..a7214c1c9ff5 100644
--- a/audio/xmms-crystality/files/patch-Makefile
+++ b/audio/xmms-crystality/files/patch-Makefile
@@ -13,7 +13,7 @@
+STDIO_LIBS= ${PTHREAD_LIBS} `${GTK_CONFIG} --libs`
-CFLAGS= -s -mpentium -O6 -Wall -ffast-math -fomit-frame-pointer -finline-functions -fexpensive-optimizations $(GTK_CFLAGS)
-+CFLAGS+= -Wall $(GTK_CFLAGS) ${PTHREAD_CFLAGS}
++CFLAGS+= -Wall $(GTK_CFLAGS) ${PTHREAD_CFLAGS} -fPIC
TARGETS= $(XMMS_PLUGIN) $(STDIO_PLUGIN)
diff --git a/audio/xmms-kj/files/patch-aa b/audio/xmms-kj/files/patch-aa
index ba0f3a50564e..6bbead0365b3 100644
--- a/audio/xmms-kj/files/patch-aa
+++ b/audio/xmms-kj/files/patch-aa
@@ -1,6 +1,11 @@
---- makefile.orig Fri Nov 29 14:30:00 2002
-+++ makefile Fri Nov 29 14:34:56 2002
-@@ -13,7 +13,7 @@
+--- makefile.orig Tue Dec 5 05:36:20 2000
++++ makefile Sun Feb 8 22:55:53 2004
+@@ -9,11 +9,11 @@
+ xmmsdir=`xmms-config --data-dir`
+ xmmsvislib=`xmms-config --visualization-plugin-dir`
+
+-CFLAGS=-O2 -Wall -DHAVE_LIBPNG -DXMMS_DIR=\"$(xmmsdir)\" -DKJSKIN=\"$(xmmsdir)/kjofol/default.zip\" -I. `xmms-config --cflags`
++CFLAGS=-O2 -Wall -DHAVE_LIBPNG -DXMMS_DIR=\"$(xmmsdir)\" -DKJSKIN=\"$(xmmsdir)/kjofol/default.zip\" -I. `xmms-config --cflags` -fPIC
LPNG = -lpng -lz
LDFLAGS=-O2
# LIBS=-L/usr/lib `gtk-config --libs` $(LPNG) -lgthread -lpthread -lxmms -Wl,--rpath -Wl,/usr/local/lib