1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/audio/xmms-bonk/files/patch-Makefile
Christian Weisgerber 09a1ea9cd7 Import bonk-xmms 0.12.
xmms-bonk is a plugin for the multimedia player XMMS that plays
audio files in the bonk format, which supports lossless and lossy
compression.
2002-07-07 00:24:53 +00:00

23 lines
639 B
Plaintext

$FreeBSD$
--- Makefile.orig Sat Jun 15 15:37:43 2002
+++ Makefile Sat Jun 15 15:38:41 2002
@@ -9,14 +9,10 @@
CPP=g++
INSTDIR=`xmms-config --plugin-dir`/Input
-ifdef DEBUG
- CFLAGS=-Wall -O2 -fno-exceptions -ffast-math -D_REENTRANT `gtk-config --cflags` -g -DDEBUG
-else
- CFLAGS=-Wall -O2 -fno-exceptions -ffast-math -D_REENTRANT `gtk-config --cflags`
-endif
+CXXFLAGS+= -fno-exceptions -D_REENTRANT `xmms-config --cflags`
libbonk.so : bonk-xmms.cc
- $(CPP) $(CFLAGS) -shared -o libbonk.so bonk-xmms.cc -lstdc++
+ $(CXX) $(CXXFLAGS) -shared -o libbonk.so bonk-xmms.cc -lstdc++
install : libbonk.so
cp libbonk.so $(INSTDIR)