freebsd-ports/audio/xmms-speex/files/patch-Makefile
Christian Weisgerber 12f3389dd0 Update to 0.9.1, unbreak.
Submitted by:	Volker Stolz <vs@foldr.org>

Revamped by yours truly.
Closes

PR:		53239
Approved by:	(maintainer timeout)
2003-08-20 20:20:42 +00:00

14 lines
619 B
Text

$FreeBSD$
--- Makefile.orig Sun Aug 3 18:18:42 2003
+++ Makefile Thu Aug 14 18:08:45 2003
@@ -14,7 +14,7 @@
$(MAKE) -C $(@D) all
libspeex.so: libspeex.c libspeex.h $(OBJS) $(GUIOBJS)
- $(CC) -shared -logg -lspeex -lgtk -lpthread -lxmms $(INCDIRS) $(CFLAGS) -DVERSION=$(VERSION) -DPACKAGE=\"libspeex\" -o libspeex.so libspeex.c $(OBJS) $(GUIOBJS)
+ $(CC) -shared $(INCDIRS) $(CFLAGS) -DVERSION=$(VERSION) -DPACKAGE=\"libspeex\" -o libspeex.so libspeex.c $(OBJS) $(GUIOBJS) `xmms-config --libs` -logg -lspeex
#utf8.o: utf8.c utf8.h
# $(CC) -c $(INCDIRS) $(CFLAGS) -DHAVE_ICONV -DICONV_CONST= -o utf8.o utf8.c