1 |
darkside 11/11/16 16:01:11 |
2 |
|
3 |
Modified: fortune-mod-1.99.1-r2.ebuild ChangeLog |
4 |
Log: |
5 |
Migrate Gentoo Prefix modifications from overlay. EAPI, arch-specific fixes, KEYWORDS. bug 389943 |
6 |
|
7 |
(Portage version: 2.1.10.11/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.10 games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild?rev=1.10&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild?rev=1.10&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild?r1=1.9&r2=1.10 |
15 |
|
16 |
Index: fortune-mod-1.99.1-r2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild,v |
19 |
retrieving revision 1.9 |
20 |
retrieving revision 1.10 |
21 |
diff -u -r1.9 -r1.10 |
22 |
--- fortune-mod-1.99.1-r2.ebuild 8 Oct 2010 08:34:50 -0000 1.9 |
23 |
+++ fortune-mod-1.99.1-r2.ebuild 16 Nov 2011 16:01:11 -0000 1.10 |
24 |
@@ -1,8 +1,8 @@ |
25 |
-# Copyright 1999-2010 Gentoo Foundation |
26 |
+# Copyright 1999-2011 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild,v 1.9 2010/10/08 08:34:50 leio Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild,v 1.10 2011/11/16 16:01:11 darkside Exp $ |
30 |
|
31 |
-EAPI=2 |
32 |
+EAPI=3 |
33 |
inherit eutils toolchain-funcs |
34 |
|
35 |
DESCRIPTION="The notorious fortune program" |
36 |
@@ -11,7 +11,7 @@ |
37 |
|
38 |
LICENSE="BSD" |
39 |
SLOT="0" |
40 |
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" |
41 |
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
42 |
IUSE="offensive elibc_glibc" |
43 |
|
44 |
DEPEND="app-text/recode" |
45 |
@@ -29,20 +29,29 @@ |
46 |
Makefile || die "sed Makefile failed" |
47 |
|
48 |
if ! use elibc_glibc ; then |
49 |
- local reglibs="-lcompat" |
50 |
+ [[ ${CHOST} == *-*bsd* ]] && local reglibs="-lcompat" |
51 |
+ [[ ${CHOST} == *-darwin* ]] && local reglibs="-lc" |
52 |
has_version "app-text/recode[nls]" && reglibs="${reglibs} -lintl" |
53 |
sed -i \ |
54 |
-e "/^REGEXLIBS=/s:=.*:= ${reglibs}:" \ |
55 |
Makefile \ |
56 |
|| die "sed REGEXLIBS failed" |
57 |
fi |
58 |
+ if [[ ${CHOST} == *-solaris* ]] ; then |
59 |
+ sed -i -e 's:u_int:uint:g' util/strfile.h || die "sed strfile.h failed" |
60 |
+ fi |
61 |
+ if [[ ${CHOST} == *-darwin* ]] ; then |
62 |
+ sed -i -e 's/-DBSD_REGEX/-DPOSIX_REGEX/' Makefile || die "sed Makefile failed" |
63 |
+ fi |
64 |
} |
65 |
|
66 |
src_compile() { |
67 |
- emake CC="$(tc-getCC)" || die "emake failed" |
68 |
+ local myrex= |
69 |
+ [[ ${CHOST} == *-interix* ]] && myrex="REGEXDEFS=-DNO_REGEX" |
70 |
+ emake CC="$(tc-getCC)" $myrex || die "emake failed" |
71 |
} |
72 |
|
73 |
src_install() { |
74 |
- emake prefix="${D}" install || die "emake install failed" |
75 |
+ emake prefix="${ED}" install || die "emake install failed" |
76 |
dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files |
77 |
} |
78 |
|
79 |
|
80 |
|
81 |
1.27 games-misc/fortune-mod/ChangeLog |
82 |
|
83 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/fortune-mod/ChangeLog?rev=1.27&view=markup |
84 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/fortune-mod/ChangeLog?rev=1.27&content-type=text/plain |
85 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/fortune-mod/ChangeLog?r1=1.26&r2=1.27 |
86 |
|
87 |
Index: ChangeLog |
88 |
=================================================================== |
89 |
RCS file: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/ChangeLog,v |
90 |
retrieving revision 1.26 |
91 |
retrieving revision 1.27 |
92 |
diff -u -r1.26 -r1.27 |
93 |
--- ChangeLog 8 Oct 2010 08:34:50 -0000 1.26 |
94 |
+++ ChangeLog 16 Nov 2011 16:01:11 -0000 1.27 |
95 |
@@ -1,6 +1,10 @@ |
96 |
# ChangeLog for games-misc/fortune-mod |
97 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
98 |
-# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/ChangeLog,v 1.26 2010/10/08 08:34:50 leio Exp $ |
99 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
100 |
+# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod/ChangeLog,v 1.27 2011/11/16 16:01:11 darkside Exp $ |
101 |
+ |
102 |
+ 16 Nov 2011; Jeremy Olexa <darkside@g.o> fortune-mod-1.99.1-r2.ebuild: |
103 |
+ Migrate Gentoo Prefix modifications from overlay. EAPI, arch-specific fixes, |
104 |
+ KEYWORDS. bug 389943 |
105 |
|
106 |
08 Oct 2010; Mart Raudsepp <leio@g.o> fortune-mod-1.99.1-r2.ebuild: |
107 |
Drop to ~mips |