summaryrefslogtreecommitdiff
path: root/audio/xmms-funtimedancer/patches/patch-aa
blob: 0e6a5ecc632d896284e5b73c8ec058333fddf61f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.1.1.1 2003/02/14 23:56:39 hubertf Exp $

--- Makefile.orig	Mon Nov 27 08:21:21 2000
+++ Makefile
@@ -3,7 +3,7 @@
 all: $(LIB)
 
 libfuntimedancer.so: FunTimeDancer.c FunTimeDancer.h
-	gcc -shared -lpthread -lglib -lSDL -fPIC -D_REENTRANT -o $(LIB) `glib-config --cflags` FunTimeDancer.c 
+	${CC} -DPREFIX=\"${PREFIX}\" -shared `xmms-config --cflags --libs` -lSDL -fPIC -D_REENTRANT -o $(LIB) `glib-config --cflags` FunTimeDancer.c 
 
 clean:
 	rm -f *.o $(LIB)