[BACK]Return to :q! CVS log [TXT][DIR] Up to [local] / ports / devel / sfml

File: [local] / ports / devel / sfml / Attic / :q! (download)

Revision 1.1, Thu Oct 27 16:00:46 2011 UTC (12 years, 7 months ago) by yason
Branch: MAIN

Initial revision

$OpenBSD$
--- src/SFML/Audio/Makefile.orig	Wed Jan 27 17:00:19 2010
+++ src/SFML/Audio/Makefile	Thu Oct 27 13:02:52 2011
@@ -19,13 +19,13 @@ libsfml-audio-s.a: $(OBJ) $(OBJVORBIS)
 	$(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
 
@@ -36,4 +36,4 @@ mrproper: clean
 	@rm -rf $(LIBNAME)
 
 install:
-	@($(CP) $(LIBNAME) $(DESTLIBDIR) $(INSTALL))
+	$(BSD_INSTALL_DATA) $(LIBNAME) $(DESTLIBDIR)