1 |
grobian 11/07/30 11:58:51 |
2 |
|
3 |
Modified: ChangeLog tmux-9999.ebuild tmux-1.5.ebuild |
4 |
Log: |
5 |
Fix for Darwin (bug #376045) and Prefix |
6 |
|
7 |
(Portage version: 2.2.01.19011-prefix/cvs/Darwin powerpc) |
8 |
|
9 |
Revision Changes Path |
10 |
1.65 app-misc/tmux/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.65&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.65&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?r1=1.64&r2=1.65 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v |
19 |
retrieving revision 1.64 |
20 |
retrieving revision 1.65 |
21 |
diff -u -r1.64 -r1.65 |
22 |
--- ChangeLog 13 Jul 2011 09:20:03 -0000 1.64 |
23 |
+++ ChangeLog 30 Jul 2011 11:58:51 -0000 1.65 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for app-misc/tmux |
26 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.64 2011/07/13 09:20:03 radhermit Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.65 2011/07/30 11:58:51 grobian Exp $ |
29 |
+ |
30 |
+ 30 Jul 2011; Fabian Groffen <grobian@g.o> tmux-1.5.ebuild, |
31 |
+ +files/tmux-1.5-darwin.patch, tmux-9999.ebuild: |
32 |
+ Fix for Darwin (bug #376045) and Prefix |
33 |
|
34 |
*tmux-1.5 (13 Jul 2011) |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
1.5 app-misc/tmux/tmux-9999.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-9999.ebuild?rev=1.5&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-9999.ebuild?rev=1.5&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-9999.ebuild?r1=1.4&r2=1.5 |
44 |
|
45 |
Index: tmux-9999.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v |
48 |
retrieving revision 1.4 |
49 |
retrieving revision 1.5 |
50 |
diff -u -r1.4 -r1.5 |
51 |
--- tmux-9999.ebuild 2 Jun 2011 18:06:50 -0000 1.4 |
52 |
+++ tmux-9999.ebuild 30 Jul 2011 11:58:51 -0000 1.5 |
53 |
@@ -1,6 +1,6 @@ |
54 |
# Copyright 1999-2011 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v 1.4 2011/06/02 18:06:50 wired Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v 1.5 2011/07/30 11:58:51 grobian Exp $ |
58 |
|
59 |
EAPI=3 |
60 |
|
61 |
@@ -30,6 +30,10 @@ |
62 |
|
63 |
src_prepare() { |
64 |
eautoreconf |
65 |
+ # look for config file in the prefix |
66 |
+ sed -i -e '/SYSTEM_CFG/s:"/etc:"'"${EPREFIX}"'/etc:' tmux.h || die |
67 |
+ # and don't just add some includes |
68 |
+ sed -i -e 's:-I/usr/local/include::' Makefile.in || die |
69 |
} |
70 |
|
71 |
src_configure() { |
72 |
|
73 |
|
74 |
|
75 |
1.2 app-misc/tmux/tmux-1.5.ebuild |
76 |
|
77 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-1.5.ebuild?rev=1.2&view=markup |
78 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-1.5.ebuild?rev=1.2&content-type=text/plain |
79 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-1.5.ebuild?r1=1.1&r2=1.2 |
80 |
|
81 |
Index: tmux-1.5.ebuild |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.5.ebuild,v |
84 |
retrieving revision 1.1 |
85 |
retrieving revision 1.2 |
86 |
diff -u -r1.1 -r1.2 |
87 |
--- tmux-1.5.ebuild 13 Jul 2011 09:20:03 -0000 1.1 |
88 |
+++ tmux-1.5.ebuild 30 Jul 2011 11:58:51 -0000 1.2 |
89 |
@@ -1,9 +1,11 @@ |
90 |
# Copyright 1999-2011 Gentoo Foundation |
91 |
# Distributed under the terms of the GNU General Public License v2 |
92 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.5.ebuild,v 1.1 2011/07/13 09:20:03 radhermit Exp $ |
93 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.5.ebuild,v 1.2 2011/07/30 11:58:51 grobian Exp $ |
94 |
|
95 |
EAPI=4 |
96 |
|
97 |
+inherit eutils autotools |
98 |
+ |
99 |
DESCRIPTION="Terminal multiplexer" |
100 |
HOMEPAGE="http://tmux.sourceforge.net" |
101 |
SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz" |
102 |
@@ -41,6 +43,15 @@ |
103 |
fi |
104 |
} |
105 |
|
106 |
+src_prepare() { |
107 |
+ epatch "${FILESDIR}"/${P}-darwin.patch # drop on next release |
108 |
+ eautoreconf # for darwin patch |
109 |
+ # look for config file in the prefix |
110 |
+ sed -i -e '/SYSTEM_CFG/s:"/etc:"'"${EPREFIX}"'/etc:' tmux.h || die |
111 |
+ # and don't just add some includes |
112 |
+ sed -i -e 's:-I/usr/local/include::' Makefile.in || die |
113 |
+} |
114 |
+ |
115 |
src_install() { |
116 |
default |