diff options
Diffstat (limited to 'games-arcade/spacerider/files/spacerider-0.13-gentoo.patch')
-rw-r--r-- | games-arcade/spacerider/files/spacerider-0.13-gentoo.patch | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch b/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch index 7fe1a63ef5a6..d692f87632b0 100644 --- a/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch +++ b/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch @@ -1,24 +1,27 @@ ---- Makefile.old 2007-02-18 11:15:20.000000000 +0100 -+++ Makefile 2007-02-18 11:19:56.000000000 +0100 -@@ -8,7 +8,6 @@ +--- Makefile ++++ Makefile +@@ -3,12 +3,12 @@ + BINDIR=/usr/bin/ + MANDIR=/usr/share/man/man1/ + DATADIR=/usr/share/games/spacerider/ +-CXX=g++ ++CXX?=g++ + CP=cp MKDIR=mkdir -p INSTALL=install RM=rm -f -CXXFLAGS=-Wall -fomit-frame-pointer -O3 `sdl-config --cflags` ++CXXFLAGS+=$(shell sdl-config --cflags) OBJS=main.o globals.o spacerider.o music.o sprite.o enemy.o effect.o visible.o box.o features.o font.o image.o bullet.o OUTPUT=spacerider LIBS=`sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_net -lSDL_gfx -@@ -22,11 +21,11 @@ +@@ -22,8 +22,7 @@ $(OUTPUT): $(OBJS) - $(CXX) $(CXXFLAGS) -o $(OUTPUT) $(OBJS) $(LIBS) -+ $(CXX) $(CXXFLAGS) `sdl-config --cflags` -o $(OUTPUT) $(OBJS) $(LIBS) - strip $(OUTPUT) +- strip $(OUTPUT) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(OUTPUT) $(OBJS) $(LIBS) %.o: %.cpp -- $(CXX) $(CXXFLAGS) -c $< -+ $(CXX) $(CXXFLAGS) `sdl-config --cflags` -c $< - - clean: - $(RM) $(OBJS) $(OUTPUT) + $(CXX) $(CXXFLAGS) -c $< |