ports/devel/sfml/files/patch-src-SFML-System-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

15 lines
515 B
Text

--- src/SFML/System/Makefile.orig 2009-05-28 19:57:04.000000000 +0400
+++ src/SFML/System/Makefile 2009-07-07 19:51:23.000000000 +0400
@@ -17,10 +17,10 @@
$(AR) $(ARFLAGS) $(LIBNAME) $(OBJ)
libsfml-system.so: $(OBJ)
- $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) -lpthread
+ $(CXX) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) ${PTHREAD_LIBS}
$(OBJ): %.o: %.cpp
- $(CPP) -o $@ -c $< $(CFLAGS)
+ $(CXX) -o $@ -c $< $(CXXFLAGS)
.PHONY: clean mrproper