summaryrefslogtreecommitdiff
path: root/devel/sfml/files/patch-src-SFML-Audio-Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-07-16 14:56:33 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-07-16 14:56:33 +0000
commitcfc73e2aca4a8dd97bb9ef51ce3f84cbda22e83f (patch)
tree5d2e5aa083d00fd2d39d70b7540e2946110b674f /devel/sfml/files/patch-src-SFML-Audio-Makefile
parentUpdate to 1.08 (diff)
SFML is a portable and easy to use multimedia API written in C++.
You can see it as a modern, object-oriented alternative to SDL. SFML is composed of several packages to perfectly suit your needs. You can use SFML as a minimal windowing system to interface with OpenGL, or as a fully-featured multimedia library for building games or interactive programs. WWW: http://www.sfml-dev.org/index.php
Notes
Notes: svn path=/head/; revision=237932
Diffstat (limited to 'devel/sfml/files/patch-src-SFML-Audio-Makefile')
-rw-r--r--devel/sfml/files/patch-src-SFML-Audio-Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/sfml/files/patch-src-SFML-Audio-Makefile b/devel/sfml/files/patch-src-SFML-Audio-Makefile
new file mode 100644
index 000000000000..f582c5fdcb51
--- /dev/null
+++ b/devel/sfml/files/patch-src-SFML-Audio-Makefile
@@ -0,0 +1,19 @@
+--- src/SFML/Audio/Makefile.orig 2009-05-28 19:57:04.000000000 +0400
++++ src/SFML/Audio/Makefile 2009-07-07 19:51:57.000000000 +0400
+@@ -19,13 +19,13 @@
+ $(AR) $(ARFLAGS) $(LIBNAME) $(OBJ) $(OBJVORBIS)
+
+ libsfml-audio.so: $(OBJ) $(OBJVORBIS)
+- $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJVORBIS) -lsndfile -lopenal
++ $(CXX) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJVORBIS) -lsndfile -lopenal
+
+ $(OBJ): %.o: %.cpp
+- $(CPP) -o $@ -c $< $(CFLAGS)
++ $(CXX) -o $@ -c $< $(CXXFLAGS)
+
+ $(OBJVORBIS): %.o: %.c
+- $(CC) -o $@ -c $< $(CFLAGSEXT)
++ $(CC) -o $@ -c $< $(CFLAGS)
+
+ .PHONY: clean mrproper
+