public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-libs/gsl: ChangeLog gsl-1.14-r1.ebuild
@ 2010-06-25 16:03 Justin Lecher (jlec)
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher (jlec) @ 2010-06-25 16:03 UTC (permalink / raw
  To: gentoo-commits

jlec        10/06/25 16:03:16

  Modified:             ChangeLog
  Added:                gsl-1.14-r1.ebuild
  Log:
  Include static lib support, force to pic
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.70                 sci-libs/gsl/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- ChangeLog	24 Jun 2010 21:07:08 -0000	1.69
+++ ChangeLog	25 Jun 2010 16:03:16 -0000	1.70
@@ -1,6 +1,11 @@
 # ChangeLog for sci-libs/gsl
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.69 2010/06/24 21:07:08 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.70 2010/06/25 16:03:16 jlec Exp $
+
+*gsl-1.14-r1 (25 Jun 2010)
+
+  25 Jun 2010; Justin Lecher <jlec@gentoo.org> +gsl-1.14-r1.ebuild:
+  Include static lib support, force to pic
 
   24 Jun 2010; Pacho Ramos <pacho@gentoo.org> gsl-1.14.ebuild:
   stable amd64, bug 325179



1.1                  sci-libs/gsl/gsl-1.14-r1.ebuild

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

Index: gsl-1.14-r1.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v 1.1 2010/06/25 16:03:16 jlec Exp $

EAPI="3"

inherit eutils flag-o-matic autotools

DESCRIPTION="The GNU Scientific Library"
HOMEPAGE="http://www.gnu.org/software/gsl/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="cblas static-libs"

RDEPEND="cblas? ( virtual/cblas )"
DEPEND="${RDEPEND}
	app-admin/eselect-cblas
	dev-util/pkgconfig"

pkg_setup() {
	ESELECT_PROF="gsl"
	# prevent to use external cblas from a previously installed gsl
	local current_lib=$(eselect cblas show | cut -d' ' -f2)
	if use cblas && [[ ${current_lib} == gsl ]]; then
		ewarn "USE flag cblas is set: linking gsl with an external cblas."
		ewarn "However the current selected external cblas is gsl."
		ewarn "Please install and/or eselect another cblas"
		die "Circular gsl dependency"
	fi
}

src_prepare() {
	filter-flags -ffast-math
	epatch "${FILESDIR}"/${P}-cblas.patch
	eautoreconf

	cp "${FILESDIR}"/eselect.cblas.gsl "${T}"/
	sed -i -e "s:/usr:${EPREFIX}/usr:" "${T}"/eselect.cblas.gsl || die
	if [[ ${CHOST} == *-darwin* ]] ; then
		sed -i -e 's/\.so\([\.0-9]\+\)\?/\1.dylib/g' \
			"${T}"/eselect.cblas.gsl || die
	fi
}

src_configure() {
	if use cblas; then
		export CBLAS_LIBS="$(pkg-config --libs cblas)"
		export CBLAS_CFLAGS="$(pkg-config --cflags cblas)"
	fi
	econf \
		--with-pic \
		--enable-shared \
		$(use_with cblas) \
		$(use_enable static-libs static)
}

src_install() {
	emake install DESTDIR="${D}" || die "emake install failed."
	dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO

	# take care of pkgconfig file for cblas implementation.
	sed -e "s/@LIBDIR@/$(get_libdir)/" \
		-e "s/@PV@/${PV}/" \
		-e "/^prefix=/s:=:=${EPREFIX}:" \
		-e "/^libdir=/s:=:=${EPREFIX}:" \
		"${FILESDIR}"/cblas.pc.in > cblas.pc \
		|| die "sed cblas.pc failed"
	insinto /usr/$(get_libdir)/blas/gsl
	doins cblas.pc || die "installing cblas.pc failed"
	eselect cblas add $(get_libdir) "${T}"/eselect.cblas.gsl \
		${ESELECT_PROF}
}

pkg_postinst() {
	local p=cblas
	local current_lib=$(eselect ${p} show | cut -d' ' -f2)
	if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then
		# work around eselect bug #189942
		local configfile="${EROOT}"/etc/env.d/${p}/$(get_libdir)/config
		[[ -e ${configfile} ]] && rm -f ${configfile}
		eselect ${p} set ${ESELECT_PROF}
		elog "${p} has been eselected to ${ESELECT_PROF}"
	else
		elog "Current eselected ${p} is ${current_lib}"
		elog "To use ${p} ${ESELECT_PROF} implementation, you have to issue (as root):"
		elog "\t eselect ${p} set ${ESELECT_PROF}"
	fi
}






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

* [gentoo-commits] gentoo-x86 commit in sci-libs/gsl: ChangeLog gsl-1.14-r1.ebuild
@ 2010-06-25 17:21 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2010-06-25 17:21 UTC (permalink / raw
  To: gentoo-commits

bicatali    10/06/25 17:21:18

  Modified:             ChangeLog gsl-1.14-r1.ebuild
  Log:
  Removed forced pic
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.71                 sci-libs/gsl/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- ChangeLog	25 Jun 2010 16:03:16 -0000	1.70
+++ ChangeLog	25 Jun 2010 17:21:17 -0000	1.71
@@ -1,6 +1,9 @@
 # ChangeLog for sci-libs/gsl
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.70 2010/06/25 16:03:16 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.71 2010/06/25 17:21:17 bicatali Exp $
+
+  25 Jun 2010; Sébastien Fabbro <bicatali@gentoo.org> gsl-1.14-r1.ebuild:
+  Removed forced pic
 
 *gsl-1.14-r1 (25 Jun 2010)
 



1.2                  sci-libs/gsl/gsl-1.14-r1.ebuild

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

Index: gsl-1.14-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gsl-1.14-r1.ebuild	25 Jun 2010 16:03:16 -0000	1.1
+++ gsl-1.14-r1.ebuild	25 Jun 2010 17:21:17 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v 1.1 2010/06/25 16:03:16 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v 1.2 2010/06/25 17:21:17 bicatali Exp $
 
 EAPI="3"
 
@@ -51,7 +51,6 @@
 		export CBLAS_CFLAGS="$(pkg-config --cflags cblas)"
 	fi
 	econf \
-		--with-pic \
 		--enable-shared \
 		$(use_with cblas) \
 		$(use_enable static-libs static)






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

* [gentoo-commits] gentoo-x86 commit in sci-libs/gsl: ChangeLog gsl-1.14-r1.ebuild
@ 2010-12-19 18:52 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Fabbro (bicatali) @ 2010-12-19 18:52 UTC (permalink / raw
  To: gentoo-commits

bicatali    10/12/19 18:52:12

  Modified:             ChangeLog gsl-1.14-r1.ebuild
  Log:
  Filtered flag -mfpmath=sse,387 for gcc 4.4.x bug #349005
  
  (Portage version: 2.1.9.25/cvs/Linux x86_64)

Revision  Changes    Path
1.78                 sci-libs/gsl/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- ChangeLog	9 Aug 2010 09:32:55 -0000	1.77
+++ ChangeLog	19 Dec 2010 18:52:12 -0000	1.78
@@ -1,6 +1,9 @@
 # ChangeLog for sci-libs/gsl
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.77 2010/08/09 09:32:55 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.78 2010/12/19 18:52:12 bicatali Exp $
+
+  19 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> gsl-1.14-r1.ebuild:
+  Filtered flag -mfpmath=sse,387 for gcc 4.4.x bug #349005
 
   09 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org>
   -files/gsl-1.6-deps.diff, -files/gsl-1.12-cblas.patch, gsl-1.13-r1.ebuild,



1.4                  sci-libs/gsl/gsl-1.14-r1.ebuild

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

Index: gsl-1.14-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gsl-1.14-r1.ebuild	9 Aug 2010 09:32:55 -0000	1.3
+++ gsl-1.14-r1.ebuild	19 Dec 2010 18:52:12 -0000	1.4
@@ -1,10 +1,10 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v 1.3 2010/08/09 09:32:55 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v 1.4 2010/12/19 18:52:12 bicatali Exp $
 
 EAPI="3"
 
-inherit eutils flag-o-matic autotools
+inherit eutils flag-o-matic autotools toolchain-funcs
 
 DESCRIPTION="The GNU Scientific Library"
 HOMEPAGE="http://www.gnu.org/software/gsl/"
@@ -30,10 +30,16 @@
 		ewarn "Please install and/or eselect another cblas"
 		die "Circular gsl dependency"
 	fi
+
+	# bug 349005
+	[[ $(tc-getCC)$ == *gcc* ]] && \
+		[[ $(tc-getCC)$ != *apple* ]] && \
+		[[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \
+		&& filter-flags -mfpmath=sse,387
+	filter-flags -ffast-math
 }
 
 src_prepare() {
-	filter-flags -ffast-math
 	epatch "${FILESDIR}"/${P}-cblas.patch
 	eautoreconf
 






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

* [gentoo-commits] gentoo-x86 commit in sci-libs/gsl: ChangeLog gsl-1.14-r1.ebuild
@ 2010-12-19 19:33 Kacper Kowalik (xarthisius)
  0 siblings, 0 replies; 4+ messages in thread
From: Kacper Kowalik (xarthisius) @ 2010-12-19 19:33 UTC (permalink / raw
  To: gentoo-commits

xarthisius    10/12/19 19:33:15

  Modified:             ChangeLog gsl-1.14-r1.ebuild
  Log:
  Use filter-mfpmath instead of filter-flags
  
  (Portage version: 2.1.9.25/cvs/Linux x86_64)

Revision  Changes    Path
1.79                 sci-libs/gsl/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- ChangeLog	19 Dec 2010 18:52:12 -0000	1.78
+++ ChangeLog	19 Dec 2010 19:33:15 -0000	1.79
@@ -1,6 +1,9 @@
 # ChangeLog for sci-libs/gsl
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.78 2010/12/19 18:52:12 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/ChangeLog,v 1.79 2010/12/19 19:33:15 xarthisius Exp $
+
+  19 Dec 2010; Kacper Kowalik <xarthisius@gentoo.org> gsl-1.14-r1.ebuild:
+  Use filter-mfpmath instead of filter-flags
 
   19 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> gsl-1.14-r1.ebuild:
   Filtered flag -mfpmath=sse,387 for gcc 4.4.x bug #349005



1.5                  sci-libs/gsl/gsl-1.14-r1.ebuild

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

Index: gsl-1.14-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gsl-1.14-r1.ebuild	19 Dec 2010 18:52:12 -0000	1.4
+++ gsl-1.14-r1.ebuild	19 Dec 2010 19:33:15 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v 1.4 2010/12/19 18:52:12 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/gsl/gsl-1.14-r1.ebuild,v 1.5 2010/12/19 19:33:15 xarthisius Exp $
 
 EAPI="3"
 
@@ -35,7 +35,7 @@
 	[[ $(tc-getCC)$ == *gcc* ]] && \
 		[[ $(tc-getCC)$ != *apple* ]] && \
 		[[ $(gcc-major-version)$(gcc-minor-version) -eq 44 ]] \
-		&& filter-flags -mfpmath=sse,387
+		&& filter-mfpmath sse
 	filter-flags -ffast-math
 }
 






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

end of thread, other threads:[~2010-12-19 19:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-19 18:52 [gentoo-commits] gentoo-x86 commit in sci-libs/gsl: ChangeLog gsl-1.14-r1.ebuild Sebastien Fabbro (bicatali)
  -- strict thread matches above, loose matches on Subject: below --
2010-12-19 19:33 Kacper Kowalik (xarthisius)
2010-06-25 17:21 Sebastien Fabbro (bicatali)
2010-06-25 16:03 Justin Lecher (jlec)

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