ports/devel/sfml1/files/patch-src__SFML__System__Makefile
Dmitry Marakasov d1b9ec5f92 - Remove useless -lpthread replacement
- Try to fix build under DragonFly
2015-04-01 17:39:50 +00:00

26 lines
816 B
Text

--- src/SFML/System/Makefile.orig 2014-08-18 16:51:52.000000000 +0400
+++ src/SFML/System/Makefile 2014-08-18 16:52:53.000000000 +0400
@@ -6,7 +6,7 @@
LIBNAME = $(LIBPATH)/$(LIB)
INSTALL =
else
- LIB = libsfml-system.so
+ LIB = libsfml1-system.so
LIBNAME = $(LIBPATH)/$(LIB).$(VERSION)
INSTALL = && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)
endif
@@ -16,11 +16,11 @@
libsfml-system-s.a: $(OBJ)
$(AR) $(ARFLAGS) $(LIBNAME) $(OBJ)
-libsfml-system.so: $(OBJ)
- $(CPP) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) -lpthread
+libsfml1-system.so: $(OBJ)
+ $(CXX) $(LDFLAGS) -Wl,-soname,$(LIB).$(VERSION) -o $(LIBNAME) $(OBJ) -lpthread
$(OBJ): %.o: %.cpp
- $(CPP) -o $@ -c $< $(CFLAGS)
+ $(CXX) -o $@ -c $< $(CXXFLAGS)
.PHONY: clean mrproper