public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-libs/mpir: ChangeLog mpir-2.4.0.ebuild
@ 2011-08-07  1:23 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2011-08-07  1:23 UTC (permalink / raw
  To: gentoo-commits

bicatali    11/08/07 01:23:20

  Modified:             ChangeLog
  Added:                mpir-2.4.0.ebuild
  Log:
  Version bump. Added static-libs flag
  
  (Portage version: 2.1.10.10/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  sci-libs/mpir/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	29 Jun 2011 19:00:09 -0000	1.8
+++ ChangeLog	7 Aug 2011 01:23:20 -0000	1.9
@@ -1,6 +1,11 @@
 # ChangeLog for sci-libs/mpir
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v 1.8 2011/06/29 19:00:09 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v 1.9 2011/08/07 01:23:20 bicatali Exp $
+
+*mpir-2.4.0 (07 Aug 2011)
+
+  07 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> +mpir-2.4.0.ebuild:
+  Version bump. Added static-libs flag
 
   29 Jun 2011; Brent Baude <ranger@gentoo.org> mpir-2.3.1.ebuild:
   Marking mpir-2.3.1 ~ppc for bug 345207



1.1                  sci-libs/mpir/mpir-2.4.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild?rev=1.1&content-type=text/plain

Index: mpir-2.4.0.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild,v 1.1 2011/08/07 01:23:20 bicatali Exp $

EAPI=4

inherit eutils autotools

DESCRIPTION="Library for arbitrary precision integer arithmetic derived from version 4.2.1 of gmp"
HOMEPAGE="http://www.mpir.org/"
SRC_URI="http://www.mpir.org/${P}.tar.bz2"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+cxx cpudetection static-libs"

DEPEND="x86? ( dev-lang/yasm )
	amd64? ( dev-lang/yasm )"
RDEPEND=""

src_prepare(){
	epatch \
		"${FILESDIR}/${PN}-2.2.0-yasm.patch" \
		"${FILESDIR}/${PN}-1.3.0-ABI-multilib.patch"
	# In the same way there was QA regarding executable stacks
	# with GMP we have some here as well. We cannot apply the
	# GMP solution as yasm is used, at least on x86/amd64.
	# Furthermore we are able to patch config.ac.

	ebegin "Patching assembler files to remove executable sections"
	local i
	for i in $(find . -type f -name '*.asm') ; do
		cat >> $i <<-EOF
			#if defined(__linux__) && defined(__ELF__)
			.section .note.GNU-stack,"",%progbits
			#endif
		EOF
	done

	for i in $(find . -type f -name '*.as') ; do
		cat >> $i <<-EOF
			%ifidn __OUTPUT_FORMAT__,elf
			section .note.GNU-stack noalloc noexec nowrite progbits
			%endif
		EOF
	done
	eend
	eautoreconf
}

src_configure() {
# beware that cpudetection aka fat binaries is x86/amd64 only.
# Place mpir in profiles/arch/$arch/package.use.mask when making it available on $arch.
	econf \
		$(use_enable cxx) \
		$(use_enable cpudetection fat) \
		$(use_enable static-libs static)

}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-libs/mpir: ChangeLog mpir-2.4.0.ebuild
@ 2011-08-15  9:22 Thomas Kahle (tomka)
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Kahle (tomka) @ 2011-08-15  9:22 UTC (permalink / raw
  To: gentoo-commits

tomka       11/08/15 09:22:11

  Modified:             ChangeLog mpir-2.4.0.ebuild
  Log:
  use autotools-utils.eclass
  
  (Portage version: 2.1.10.10/cvs/Linux i686)

Revision  Changes    Path
1.10                 sci-libs/mpir/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	7 Aug 2011 01:23:20 -0000	1.9
+++ ChangeLog	15 Aug 2011 09:22:11 -0000	1.10
@@ -1,6 +1,9 @@
 # ChangeLog for sci-libs/mpir
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v 1.9 2011/08/07 01:23:20 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v 1.10 2011/08/15 09:22:11 tomka Exp $
+
+  15 Aug 2011; Thomas Kahle <tomka@gentoo.org> mpir-2.4.0.ebuild:
+  use autotools-utils.eclass
 
 *mpir-2.4.0 (07 Aug 2011)
 



1.2                  sci-libs/mpir/mpir-2.4.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild?r1=1.1&r2=1.2

Index: mpir-2.4.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mpir-2.4.0.ebuild	7 Aug 2011 01:23:20 -0000	1.1
+++ mpir-2.4.0.ebuild	15 Aug 2011 09:22:11 -0000	1.2
@@ -1,10 +1,10 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild,v 1.1 2011/08/07 01:23:20 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/mpir-2.4.0.ebuild,v 1.2 2011/08/15 09:22:11 tomka Exp $
 
 EAPI=4
 
-inherit eutils autotools
+inherit eutils autotools-utils
 
 DESCRIPTION="Library for arbitrary precision integer arithmetic derived from version 4.2.1 of gmp"
 HOMEPAGE="http://www.mpir.org/"
@@ -23,11 +23,11 @@
 	epatch \
 		"${FILESDIR}/${PN}-2.2.0-yasm.patch" \
 		"${FILESDIR}/${PN}-1.3.0-ABI-multilib.patch"
+
 	# In the same way there was QA regarding executable stacks
 	# with GMP we have some here as well. We cannot apply the
 	# GMP solution as yasm is used, at least on x86/amd64.
 	# Furthermore we are able to patch config.ac.
-
 	ebegin "Patching assembler files to remove executable sections"
 	local i
 	for i in $(find . -type f -name '*.asm') ; do
@@ -52,9 +52,10 @@
 src_configure() {
 # beware that cpudetection aka fat binaries is x86/amd64 only.
 # Place mpir in profiles/arch/$arch/package.use.mask when making it available on $arch.
-	econf \
-		$(use_enable cxx) \
-		$(use_enable cpudetection fat) \
+	myeconfargs=(
+		$(use_enable cxx)
+		$(use_enable cpudetection fat)
 		$(use_enable static-libs static)
-
+	)
+	autotools-utils_src_configure
 }






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-15  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-07  1:23 [gentoo-commits] gentoo-x86 commit in sci-libs/mpir: ChangeLog mpir-2.4.0.ebuild Sebastien Fabbro (bicatali)
  -- strict thread matches above, loose matches on Subject: below --
2011-08-15  9:22 Thomas Kahle (tomka)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox