Line
Link Here
|
0 |
-- files/configure-gentoo.patch |
0 |
++ files/configure-gentoo.patch |
Lines 10-15
Link Here
|
10 |
AC_PROG_CC |
10 |
AC_PROG_CC |
11 |
AM_PROG_CC_STDC |
11 |
AM_PROG_CC_STDC |
12 |
AC_HEADER_STDC |
12 |
AC_HEADER_STDC |
|
|
13 |
@@ -21,6 +19,10 @@ |
14 |
|
15 |
|
16 |
dnl Checks for libraries. |
17 |
+dnl Check for libm for fmod() |
18 |
+AC_SEARCH_LIBS([fmod], [m], [], [ |
19 |
+ AC_MSG_ERROR([unable to find the fmod() function]) |
20 |
+]) |
21 |
|
22 |
|
23 |
dnl Checks for header files. |
13 |
diff -Naur euler-1.61.0/src/Makefile.am euler-1.61.0-new/src/Makefile.am |
24 |
diff -Naur euler-1.61.0/src/Makefile.am euler-1.61.0-new/src/Makefile.am |
14 |
--- euler-1.61.0/src/Makefile.am 2005-10-30 22:48:35.000000000 +0000 |
25 |
--- euler-1.61.0/src/Makefile.am 2005-10-30 22:48:35.000000000 +0000 |
15 |
+++ euler-1.61.0-new/src/Makefile.am 2006-02-08 23:41:32.000000000 +0000 |
26 |
+++ euler-1.61.0-new/src/Makefile.am 2006-02-08 23:41:32.000000000 +0000 |
16 |
-- euler-1.61.0.ebuild |
27 |
++ euler-1.61.0.ebuild |
Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.10 2012/05/04 07:46:51 jdhore Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.10 2012/05/04 07:46:51 jdhore Exp $ |
4 |
|
4 |
|
5 |
EAPI="1" |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit autotools eutils |
7 |
inherit autotools eutils |
8 |
|
8 |
|
Lines 20-29
Link Here
|
20 |
RDEPEND="x11-libs/gtk+:2 |
20 |
RDEPEND="x11-libs/gtk+:2 |
21 |
x11-misc/xdg-utils" |
21 |
x11-misc/xdg-utils" |
22 |
|
22 |
|
23 |
src_unpack() { |
23 |
src_prepare() { |
24 |
unpack ${A} |
|
|
25 |
cd "${S}" |
26 |
|
27 |
epatch "${FILESDIR}"/configure-gentoo.patch |
24 |
epatch "${FILESDIR}"/configure-gentoo.patch |
28 |
epatch "${FILESDIR}"/command-gcc4-gentoo.patch |
25 |
epatch "${FILESDIR}"/command-gcc4-gentoo.patch |
29 |
epatch "${FILESDIR}"/${PN}-glibc-2.4-gentoo.patch |
26 |
epatch "${FILESDIR}"/${PN}-glibc-2.4-gentoo.patch |
Lines 39-45
Link Here
|
39 |
|| die "sed for docs failed" |
36 |
|| die "sed for docs failed" |
40 |
eautoreconf |
37 |
eautoreconf |
41 |
} |
38 |
} |
42 |
|
|
|
43 |
src_install() { |
44 |
emake DESTDIR="${D}" install || die "emake install failed" |
45 |
} |