ports/devel/sfml/files/patch-src-SFML-Audio-Makefile
Dmitry Marakasov cfc73e2aca 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
2009-07-16 14:56:33 +00:00

19 lines
669 B
Text

--- 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