Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/euler: euler-1.61.0.ebuild ChangeLog
Date: Mon, 09 Jun 2014 16:31:28
Message-Id: 20140609163124.601292004E@flycatcher.gentoo.org
1 bicatali 14/06/09 16:31:24
2
3 Modified: euler-1.61.0.ebuild ChangeLog
4 Log:
5 Fixed for glibc underlinking, thanks to Ted Tanberry and Kobboi, bug #512472
6
7 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
8
9 Revision Changes Path
10 1.11 sci-mathematics/euler/euler-1.61.0.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild?r1=1.10&r2=1.11
15
16 Index: euler-1.61.0.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- euler-1.61.0.ebuild 4 May 2012 07:46:51 -0000 1.10
23 +++ euler-1.61.0.ebuild 9 Jun 2014 16:31:24 -0000 1.11
24 @@ -1,17 +1,20 @@
25 -# Copyright 1999-2012 Gentoo Foundation
26 +# Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.10 2012/05/04 07:46:51 jdhore Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.11 2014/06/09 16:31:24 bicatali Exp $
30
31 -EAPI="1"
32 +EAPI=5
33
34 -inherit autotools eutils
35 +AUTOTOOLS_AUTORECONF=1
36 +AUTOTOOLS_IN_SOURCE_BUILD=1
37 +
38 +inherit autotools-utils
39
40 DESCRIPTION="Mathematical programming environment"
41 HOMEPAGE="http://euler.sourceforge.net/"
42 SRC_URI="mirror://sourceforge/euler/${P}.tgz"
43 LICENSE="GPL-2"
44 SLOT="0"
45 -KEYWORDS="amd64 ppc -sparc x86"
46 +KEYWORDS="amd64 ppc -sparc x86 ~amd64-linux ~x86-linux"
47 IUSE=""
48
49 DEPEND="x11-libs/gtk+:2
50 @@ -20,26 +23,21 @@
51 RDEPEND="x11-libs/gtk+:2
52 x11-misc/xdg-utils"
53
54 -src_unpack() {
55 - unpack ${A}
56 - cd "${S}"
57 -
58 - epatch "${FILESDIR}"/configure-gentoo.patch
59 - epatch "${FILESDIR}"/command-gcc4-gentoo.patch
60 - epatch "${FILESDIR}"/${PN}-glibc-2.4-gentoo.patch
61 - epatch "${FILESDIR}"/${PN}-xdg.patch
62 - epatch "${FILESDIR}"/${PN}-fortify.patch
63 +PATCHES=(
64 + "${FILESDIR}"/configure-gentoo.patch
65 + "${FILESDIR}"/command-gcc4-gentoo.patch
66 + "${FILESDIR}"/${PN}-glibc-2.4-gentoo.patch
67 + "${FILESDIR}"/${PN}-xdg.patch
68 + "${FILESDIR}"/${PN}-fortify.patch
69 +)
70 +
71 +src_prepare() {
72 # gentoo specific stuff
73 - sed -i -e '/COPYING/d' -e '/INSTALL/d' Makefile.am
74 + sed -i -e '/COPYING/d' -e '/INSTALL/d' Makefile.am || die
75 sed -i \
76 -e "s:doc/euler:doc/${PF}:g" \
77 Makefile.am docs/Makefile.am \
78 - docs/*/Makefile.am docs/*/images/Makefile.am \
79 - src/main.c \
80 + docs/*/Makefile.am docs/*/images/Makefile.am src/main.c \
81 || die "sed for docs failed"
82 - eautoreconf
83 -}
84 -
85 -src_install() {
86 - emake DESTDIR="${D}" install || die "emake install failed"
87 + autotools-utils_src_prepare
88 }
89
90
91
92 1.20 sci-mathematics/euler/ChangeLog
93
94 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/ChangeLog?rev=1.20&view=markup
95 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/ChangeLog?rev=1.20&content-type=text/plain
96 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/ChangeLog?r1=1.19&r2=1.20
97
98 Index: ChangeLog
99 ===================================================================
100 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/euler/ChangeLog,v
101 retrieving revision 1.19
102 retrieving revision 1.20
103 diff -u -r1.19 -r1.20
104 --- ChangeLog 4 May 2012 07:46:51 -0000 1.19
105 +++ ChangeLog 9 Jun 2014 16:31:24 -0000 1.20
106 @@ -1,6 +1,10 @@
107 # ChangeLog for sci-mathematics/euler
108 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
109 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/ChangeLog,v 1.19 2012/05/04 07:46:51 jdhore Exp $
110 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
111 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/ChangeLog,v 1.20 2014/06/09 16:31:24 bicatali Exp $
112 +
113 + 09 Jun 2014; Sébastien Fabbro <bicatali@g.o> euler-1.61.0.ebuild,
114 + files/configure-gentoo.patch:
115 + Fixed for glibc underlinking, thanks to Ted Tanberry and Kobboi, bug #512472
116
117 04 May 2012; Jeff Horelick <jdhore@g.o> euler-1.61.0.ebuild:
118 dev-util/pkgconfig -> virtual/pkgconfig