openbsd-ports/audio/xmms-bonk/patches/patch-Makefile
naddy 2f59b20ec3 Import bonk-xmms 0.11.
bonk-xmms is a plugin for the multimedia player XMMS that plays
audio files in the bonk format, which supports lossless and lossy
compression.
2002-06-03 14:51:26 +00:00

21 lines
706 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2002/06/03 14:51:26 naddy Exp $
--- Makefile.orig Fri May 17 15:25:39 2002
+++ Makefile Fri May 17 15:26:28 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 -ffast-math -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)