1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/devel/sfml1/files/patch-src-SFML-Window-Makefile
Dmitry Marakasov 3af2464b73 - Repocopy graphics/sfml to graphics/sfml1 in preparaton for update to 2.x
- Implement necessary hacks needed for graphics/sfml and graphics/sfml1 to coexist
2014-05-09 22:07:31 +00:00

16 lines
539 B
Plaintext

--- src/SFML/Window/Makefile.orig 2009-05-28 19:57:08.000000000 +0400
+++ src/SFML/Window/Makefile 2009-07-07 19:51:46.000000000 +0400
@@ -18,10 +18,10 @@
$(AR) $(ARFLAGS) $(LIBNAME) $(OBJ)
libsfml-window.so: $(OBJ)
- $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJGLEW) -lX11 -lXrandr -lGL
+ $(CXX) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) $(OBJGLEW) -lX11 -lXrandr -lGL
$(OBJ): %.o: %.cpp
- $(CPP) -o $@ -c $< $(CFLAGS)
+ $(CXX) -o $@ -c $< $(CXXFLAGS)
.PHONY: clean mrproper