diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-arcade/cavezofphear/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
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 + |