From: "Markos Chandras (hwoarang)" <hwoarang@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libtommath: ChangeLog libtommath-0.42.0-r1.ebuild
Date: Tue, 23 Apr 2013 19:27:24 +0000 (UTC) [thread overview]
Message-ID: <20130423192724.DEDC82171D@flycatcher.gentoo.org> (raw)
hwoarang 13/04/23 19:27:24
Modified: ChangeLog libtommath-0.42.0-r1.ebuild
Log:
Fixes cross compilation problems for bug #376643
(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Revision Changes Path
1.50 dev-libs/libtommath/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/ChangeLog?rev=1.50&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/ChangeLog?rev=1.50&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/ChangeLog?r1=1.49&r2=1.50
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ChangeLog 28 Mar 2013 15:43:01 -0000 1.49
+++ ChangeLog 23 Apr 2013 19:27:24 -0000 1.50
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/libtommath
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v 1.49 2013/03/28 15:43:01 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v 1.50 2013/04/23 19:27:24 hwoarang Exp $
+
+ 23 Apr 2013; Markos Chandras <hwoarang@gentoo.org>
+ libtommath-0.42.0-r1.ebuild, files/libtommath-0.42.0-makefile.patch:
+ Create a minimal configure.ac file to build libtool. Fixes cross compilation
+ problems reported in bug #376643. Thanks to Bertrand Jacquin
+ <beber@meleeweb.net> for the upstream patch and Mike Frysinger
+ <vapier@gentoo.org> for the suggestions.
28 Mar 2013; Anthony G. Basile <blueness@gentoo.org>
libtommath-0.42.0-r1.ebuild, libtommath-0.42.0.ebuild:
1.6 dev-libs/libtommath/libtommath-0.42.0-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild?r1=1.5&r2=1.6
Index: libtommath-0.42.0-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- libtommath-0.42.0-r1.ebuild 28 Mar 2013 15:43:01 -0000 1.5
+++ libtommath-0.42.0-r1.ebuild 23 Apr 2013 19:27:24 -0000 1.6
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild,v 1.5 2013/03/28 15:43:01 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.42.0-r1.ebuild,v 1.6 2013/04/23 19:27:24 hwoarang Exp $
EAPI=4
-inherit eutils multilib toolchain-funcs
+inherit autotools eutils multilib toolchain-funcs
DESCRIPTION="highly optimized and portable routines for integer based number theoretic applications"
HOMEPAGE="http://www.libtom.org/"
@@ -20,12 +20,28 @@
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
- [[ ${CHOST} == *-darwin* ]] && \
+ if [[ ${CHOST} == *-darwin* ]]; then
sed -i -e 's/libtool/glibtool/g' makefile.shared
+ export LT="glibtool"
+ else
+ # need libtool for cross compilation. Bug #376643
+ cat <<-EOF > configure.ac
+ AC_INIT(libtommath, 0)
+ AM_INIT_AUTOMAKE
+ LT_INIT
+ AC_CONFIG_FILES(Makefile)
+ AC_OUTPUT
+ EOF
+ touch NEWS README AUTHORS ChangeLog Makefile.am
+ eautoreconf
+ export LT="${S}"/libtool
+ fi
}
src_compile() {
- emake CC=$(tc-getCC) -f makefile.shared IGNORE_SPEED=1 LIBPATH="${EPREFIX}/usr/$(get_libdir)"
+ emake CC=$(tc-getCC) -f makefile.shared \
+ IGNORE_SPEED=1 \
+ LIBPATH="${EPREFIX}/usr/$(get_libdir)"
}
src_install() {
next reply other threads:[~2013-04-23 19:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-23 19:27 Markos Chandras (hwoarang) [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-04-18 13:03 [gentoo-commits] gentoo-x86 commit in dev-libs/libtommath: ChangeLog libtommath-0.42.0-r1.ebuild Sven Wegener (swegener)
2013-08-16 13:30 Alexis Ballier (aballier)
2013-05-21 15:52 Jeroen Roovers (jer)
2011-11-27 23:08 Jeroen Roovers (jer)
2011-11-27 3:58 Tim Harder (radhermit)
2011-08-02 5:18 Jeroen Roovers (jer)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130423192724.DEDC82171D@flycatcher.gentoo.org \
--to=hwoarang@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox