bicatali 14/06/09 16:31:24 Modified: euler-1.61.0.ebuild ChangeLog Log: Fixed for glibc underlinking, thanks to Ted Tanberry and Kobboi, bug #512472 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Revision Changes Path 1.11 sci-mathematics/euler/euler-1.61.0.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild?r1=1.10&r2=1.11 Index: euler-1.61.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- euler-1.61.0.ebuild 4 May 2012 07:46:51 -0000 1.10 +++ euler-1.61.0.ebuild 9 Jun 2014 16:31:24 -0000 1.11 @@ -1,17 +1,20 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.10 2012/05/04 07:46:51 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.11 2014/06/09 16:31:24 bicatali Exp $ -EAPI="1" +EAPI=5 -inherit autotools eutils +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_IN_SOURCE_BUILD=1 + +inherit autotools-utils DESCRIPTION="Mathematical programming environment" HOMEPAGE="http://euler.sourceforge.net/"; SRC_URI="mirror://sourceforge/euler/${P}.tgz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ppc -sparc x86" +KEYWORDS="amd64 ppc -sparc x86 ~amd64-linux ~x86-linux" IUSE="" DEPEND="x11-libs/gtk+:2 @@ -20,26 +23,21 @@ RDEPEND="x11-libs/gtk+:2 x11-misc/xdg-utils" -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/configure-gentoo.patch - epatch "${FILESDIR}"/command-gcc4-gentoo.patch - epatch "${FILESDIR}"/${PN}-glibc-2.4-gentoo.patch - epatch "${FILESDIR}"/${PN}-xdg.patch - epatch "${FILESDIR}"/${PN}-fortify.patch +PATCHES=( + "${FILESDIR}"/configure-gentoo.patch + "${FILESDIR}"/command-gcc4-gentoo.patch + "${FILESDIR}"/${PN}-glibc-2.4-gentoo.patch + "${FILESDIR}"/${PN}-xdg.patch + "${FILESDIR}"/${PN}-fortify.patch +) + +src_prepare() { # gentoo specific stuff - sed -i -e '/COPYING/d' -e '/INSTALL/d' Makefile.am + sed -i -e '/COPYING/d' -e '/INSTALL/d' Makefile.am || die sed -i \ -e "s:doc/euler:doc/${PF}:g" \ Makefile.am docs/Makefile.am \ - docs/*/Makefile.am docs/*/images/Makefile.am \ - src/main.c \ + docs/*/Makefile.am docs/*/images/Makefile.am src/main.c \ || die "sed for docs failed" - eautoreconf -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" + autotools-utils_src_prepare } 1.20 sci-mathematics/euler/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/ChangeLog?rev=1.20&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/ChangeLog?rev=1.20&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/euler/ChangeLog?r1=1.19&r2=1.20 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/euler/ChangeLog,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- ChangeLog 4 May 2012 07:46:51 -0000 1.19 +++ ChangeLog 9 Jun 2014 16:31:24 -0000 1.20 @@ -1,6 +1,10 @@ # ChangeLog for sci-mathematics/euler -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/ChangeLog,v 1.19 2012/05/04 07:46:51 jdhore Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/ChangeLog,v 1.20 2014/06/09 16:31:24 bicatali Exp $ + + 09 Jun 2014; Sébastien Fabbro <bicat...@gentoo.org> euler-1.61.0.ebuild, + files/configure-gentoo.patch: + Fixed for glibc underlinking, thanks to Ted Tanberry and Kobboi, bug #512472 04 May 2012; Jeff Horelick <jdh...@gentoo.org> euler-1.61.0.ebuild: dev-util/pkgconfig -> virtual/pkgconfig