diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-puzzle/color-lines/files/color-lines-0.6-Makefile.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/color-lines/files/color-lines-0.6-Makefile.patch')
-rw-r--r-- | games-puzzle/color-lines/files/color-lines-0.6-Makefile.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/games-puzzle/color-lines/files/color-lines-0.6-Makefile.patch b/games-puzzle/color-lines/files/color-lines-0.6-Makefile.patch new file mode 100644 index 000000000000..9f552d712713 --- /dev/null +++ b/games-puzzle/color-lines/files/color-lines-0.6-Makefile.patch @@ -0,0 +1,35 @@ +--- Makefile.unix.orig 2013-04-12 13:56:42.131113000 +0400 ++++ Makefile.unix 2013-04-12 13:57:26.595946027 +0400 +@@ -2,18 +2,18 @@ + VERTITLE := lines-$(VERSION) + ARCHIVE := lines_$(VERSION).tar.gz + +-CFLAGS:=-Wall -O2 $(shell sdl-config --cflags) ++CFLAGS += $(shell sdl-config --cflags) + #-DMAEMO + +-LDFLAGS:=$(shell sdl-config --libs) -lSDL_image -lSDL_mixer ++LIBS := -lm $(shell sdl-config --libs) -lSDL_image -lSDL_mixer + + SRC := board.c graphics.c main.c sound.c + OBJ := $(patsubst %.c, %.o, $(SRC)) + + all: color-lines +-PREFIX:=/usr/local ++PREFIX:=/usr + +-BINDIR:=$(DESTDIR)/$(PREFIX)/games/ ++BINDIR:=$(DESTDIR)$(PREFIX)/games/bin + GAMEDATADIR:=$(DESTDIR)/$(PREFIX)/share/games/color-lines/ + + svnclean: +@@ -29,8 +29,7 @@ + + color-lines: $(OBJ) + cat color-lines.desktop.in | sed -e "s|@BINDIR|$(BINDIR)|g" > color-lines.desktop +- $(CC) $(CFLAGS) $(LDFLAGS) $(^) -o $(@) +- strip color-lines ++ $(CC) $(CFLAGS) $(LDFLAGS) $(^) -o $(@) $(LIBS) + + clean: + rm -f *.o color-lines |