/[gentoo-x86]/games-arcade/cavezofphear/files/cavezofphear-0.5.1-gentoo.patch
Gentoo

Contents of /games-arcade/cavezofphear/files/cavezofphear-0.5.1-gentoo.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download) (as text)
Fri Oct 31 20:51:02 2014 UTC (6 years, 1 month ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
File MIME type: text/x-diff
build with ncurses[tinfo] (bug #527606)

(Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)

1 diff -ru phear-0.5.1.orig/Makefile phear-0.5.1/Makefile
2 --- phear-0.5.1.orig/Makefile 2007-02-27 06:21:55.000000000 -0500
3 +++ phear-0.5.1/Makefile 2013-01-18 02:09:56.403224104 -0500
4 @@ -2,7 +2,7 @@
5 DESTDIR_DATA = /usr/local/share
6
7 make:
8 - cd src && make
9 + $(MAKE) -C src phear
10 clean:
11 rm -f phear editor
12 install:
13 diff -ru phear-0.5.1.orig/src/Makefile phear-0.5.1/src/Makefile
14 --- phear-0.5.1.orig/src/Makefile 2011-12-12 07:26:03.000000000 -0500
15 +++ phear-0.5.1/src/Makefile 2013-01-18 02:10:48.218423433 -0500
16 @@ -2,10 +2,8 @@
17
18 DESTDIR = ..
19
20 -CC = gcc
21 INSTALL = install
22 -CFLAGS ?= -s -Wall -O2
23 -LDFLAGS += -lncurses
24 +LDLIBS = `pkg-config ncurses --libs`
25
26 all: phear install clean
27
28 @@ -13,7 +11,7 @@
29 $(CC) $(CFLAGS) -c $^ -o $@
30
31 phear: $(OBJS)
32 - $(CC) $(CFLAGS) -o $@ $^ ${LDFLAGS}
33 + $(CC) $(CFLAGS) -o $@ $^ ${LDFLAGS} $(LDLIBS)
34
35 install: install-game
36

  ViewVC Help
Powered by ViewVC 1.1.20