Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/wcd/files: 5.1.4-gentoo.patch
Date: Thu, 03 Mar 2011 14:43:57
Message-Id: 20110303144347.4995820057@flycatcher.gentoo.org
1 jlec 11/03/03 14:43:47
2
3 Modified: 5.1.4-gentoo.patch
4 Log:
5 Install in correct location not in /usr/local
6
7 (Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 app-misc/wcd/files/5.1.4-gentoo.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/wcd/files/5.1.4-gentoo.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/wcd/files/5.1.4-gentoo.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/wcd/files/5.1.4-gentoo.patch?r1=1.1&r2=1.2
15
16 Index: 5.1.4-gentoo.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/wcd/files/5.1.4-gentoo.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- 5.1.4-gentoo.patch 3 Mar 2011 14:22:17 -0000 1.1
23 +++ 5.1.4-gentoo.patch 3 Mar 2011 14:43:47 -0000 1.2
24 @@ -1,8 +1,8 @@
25 diff --git a/src/Makefile b/src/Makefile
26 -index 15a889a..9a699b7 100644
27 +index 15a889a..ecd68cf 100644
28 --- a/src/Makefile
29 +++ b/src/Makefile
30 -@@ -46,14 +46,14 @@ endif
31 +@@ -46,18 +46,18 @@ endif
32
33 include version.mk
34
35 @@ -20,6 +20,11 @@
36 PROGRAM = $(PACKAGE)$(EXT)
37 BIN = $(PROGRAM)
38
39 +-PREFIX = /usr/local
40 ++PREFIX = /usr/
41 + prefix = $(PREFIX)
42 + exec_prefix = $(prefix)
43 + bindir = $(exec_prefix)/bin
44 @@ -283,7 +283,7 @@ endif
45 # dynamically) comment the LDFLAGS line and add the 'libncurses.a' file
46 # (often found as /usr/lib/libncurses.a) to the OBJS1 list.