1 |
darkside 11/02/21 06:17:02 |
2 |
|
3 |
Modified: ChangeLog nedit-5.5_p20110116.ebuild |
4 |
Log: |
5 |
Fixes for macos, bug 352991 by Johan Hattne |
6 |
|
7 |
(Portage version: 2.1.9.40/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.64 app-editors/nedit/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nedit/ChangeLog?rev=1.64&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nedit/ChangeLog?rev=1.64&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nedit/ChangeLog?r1=1.63&r2=1.64 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/nedit/ChangeLog,v |
19 |
retrieving revision 1.63 |
20 |
retrieving revision 1.64 |
21 |
diff -u -r1.63 -r1.64 |
22 |
--- ChangeLog 16 Jan 2011 20:20:46 -0000 1.63 |
23 |
+++ ChangeLog 21 Feb 2011 06:17:02 -0000 1.64 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for app-editors/nedit |
26 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/ChangeLog,v 1.63 2011/01/16 20:20:46 jlec Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/ChangeLog,v 1.64 2011/02/21 06:17:02 darkside Exp $ |
29 |
+ |
30 |
+ 21 Feb 2011; Jeremy Olexa <darkside@g.o> |
31 |
+ nedit-5.5_p20110116.ebuild: |
32 |
+ Fixes for macos, bug 352991 by Johan Hattne |
33 |
|
34 |
*nedit-5.5_p20110116 (16 Jan 2011) |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
1.2 app-editors/nedit/nedit-5.5_p20110116.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nedit/nedit-5.5_p20110116.ebuild?rev=1.2&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nedit/nedit-5.5_p20110116.ebuild?rev=1.2&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nedit/nedit-5.5_p20110116.ebuild?r1=1.1&r2=1.2 |
44 |
|
45 |
Index: nedit-5.5_p20110116.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/nedit/nedit-5.5_p20110116.ebuild,v |
48 |
retrieving revision 1.1 |
49 |
retrieving revision 1.2 |
50 |
diff -u -r1.1 -r1.2 |
51 |
--- nedit-5.5_p20110116.ebuild 16 Jan 2011 20:20:47 -0000 1.1 |
52 |
+++ nedit-5.5_p20110116.ebuild 21 Feb 2011 06:17:02 -0000 1.2 |
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-editors/nedit/nedit-5.5_p20110116.ebuild,v 1.1 2011/01/16 20:20:47 jlec Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/nedit-5.5_p20110116.ebuild,v 1.2 2011/02/21 06:17:02 darkside Exp $ |
58 |
|
59 |
EAPI=2 |
60 |
|
61 |
@@ -12,7 +12,7 @@ |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
-KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
66 |
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" |
67 |
IUSE="spell" |
68 |
|
69 |
RDEPEND="spell? ( virtual/aspell-dict ) |
70 |
@@ -40,10 +40,22 @@ |
71 |
src_configure() { |
72 |
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" -e "s:check_tif_rule::" \ |
73 |
makefiles/Makefile.linux || die |
74 |
+ sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" \ |
75 |
+ -e "s:MOTIFDIR=/usr/local:MOTIFDIR=${EPREFIX}/usr:" \ |
76 |
+ -e "s:-lX11:-lX11 -lXmu -liconv:" \ |
77 |
+ -e "s:check_tif_rule::" \ |
78 |
+ makefiles/Makefile.macosx || die |
79 |
} |
80 |
|
81 |
src_compile() { |
82 |
- emake CC="$(tc-getCC)" linux || die |
83 |
+ case ${CHOST} in |
84 |
+ *-darwin*) |
85 |
+ emake CC="$(tc-getCC)" macosx || die |
86 |
+ ;; |
87 |
+ *-linux*) |
88 |
+ emake CC="$(tc-getCC)" linux || die |
89 |
+ ;; |
90 |
+ esac |
91 |
emake VERSION="NEdit ${PV}" -j1 -C doc all || die |
92 |
} |