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-arcade/cavezofphear/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/cavezofphear/files')
-rw-r--r-- | games-arcade/cavezofphear/files/cavezofphear-0.5.1-gentoo.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games-arcade/cavezofphear/files/cavezofphear-0.5.1-gentoo.patch b/games-arcade/cavezofphear/files/cavezofphear-0.5.1-gentoo.patch new file mode 100644 index 000000000000..fbf79af44519 --- /dev/null +++ b/games-arcade/cavezofphear/files/cavezofphear-0.5.1-gentoo.patch @@ -0,0 +1,36 @@ +diff -ru phear-0.5.1.orig/Makefile phear-0.5.1/Makefile +--- phear-0.5.1.orig/Makefile 2007-02-27 06:21:55.000000000 -0500 ++++ phear-0.5.1/Makefile 2013-01-18 02:09:56.403224104 -0500 +@@ -2,7 +2,7 @@ + DESTDIR_DATA = /usr/local/share + + make: +- cd src && make ++ $(MAKE) -C src phear + clean: + rm -f phear editor + install: +diff -ru phear-0.5.1.orig/src/Makefile phear-0.5.1/src/Makefile +--- phear-0.5.1.orig/src/Makefile 2011-12-12 07:26:03.000000000 -0500 ++++ phear-0.5.1/src/Makefile 2013-01-18 02:10:48.218423433 -0500 +@@ -2,10 +2,8 @@ + + DESTDIR = .. + +-CC = gcc + INSTALL = install +-CFLAGS ?= -s -Wall -O2 +-LDFLAGS += -lncurses ++LDLIBS = `pkg-config ncurses --libs` + + all: phear install clean + +@@ -13,7 +11,7 @@ + $(CC) $(CFLAGS) -c $^ -o $@ + + phear: $(OBJS) +- $(CC) $(CFLAGS) -o $@ $^ ${LDFLAGS} ++ $(CC) $(CFLAGS) -o $@ $^ ${LDFLAGS} $(LDLIBS) + + install: install-game + |