public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-libs/mpir: mpir-2.6.0.ebuild ChangeLog mpir-2.3.1.ebuild mpir-2.4.0.ebuild
@ 2013-01-16 10:14 Thomas Kahle (tomka)
  0 siblings, 0 replies; only message in thread
From: Thomas Kahle (tomka) @ 2013-01-16 10:14 UTC (permalink / raw
  To: gentoo-commits

tomka       13/01/16 10:14:00

  Modified:             ChangeLog
  Added:                mpir-2.6.0.ebuild
  Removed:              mpir-2.3.1.ebuild mpir-2.4.0.ebuild
  Log:
  bump (bug 452340), remove old
  
  (Portage version: 2.1.11.42/cvs/Linux x86_64, signed Manifest commit with key 0x89DEB219565C32BC)

Revision  Changes    Path
1.14                 sci-libs/mpir/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	3 Aug 2012 19:53:49 -0000	1.13
+++ ChangeLog	16 Jan 2013 10:14:00 -0000	1.14
@@ -1,6 +1,12 @@
 # ChangeLog for sci-libs/mpir
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v 1.13 2012/08/03 19:53:49 bicatali Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/ChangeLog,v 1.14 2013/01/16 10:14:00 tomka Exp $
+
+*mpir-2.6.0 (16 Jan 2013)
+
+  16 Jan 2013; Thomas Kahle <tomka@gentoo.org> +files/mpir-2.6.0-yasm.patch,
+  +mpir-2.6.0.ebuild, -mpir-2.3.1.ebuild, -mpir-2.4.0.ebuild:
+  bump (bug 452340), remove old
 
   03 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> mpir-2.5.1.ebuild:
   keyword amd64-linux x86-linux



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

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

Index: mpir-2.6.0.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/mpir/mpir-2.6.0.ebuild,v 1.1 2013/01/16 10:14:00 tomka Exp $

EAPI=4

inherit eutils autotools-utils

DESCRIPTION="Library for arbitrary precision integer arithmetic (fork of gmp)"
HOMEPAGE="http://www.mpir.org/"
SRC_URI="http://www.mpir.org/${P}.tar.lzma"

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

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

src_prepare() {
	epatch \
		"${FILESDIR}"/${PN}-2.6.0-yasm.patch \
		"${FILESDIR}"/${PN}-1.3.0-ABI-multilib.patch \
		"${FILESDIR}"/${PN}-2.5.1-automake-1.12.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.
	myeconfargs+=(
		$(use_enable cxx)
		$(use_enable cpudetection fat)
	)
	autotools-utils_src_configure
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-16 10:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-16 10:14 [gentoo-commits] gentoo-x86 commit in sci-libs/mpir: mpir-2.6.0.ebuild ChangeLog mpir-2.3.1.ebuild mpir-2.4.0.ebuild 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