commit:     62ddc7e141cc60ceec4fc2f36ffc9ff1b23b6af5
Author:     François Bissey <frp.bissey <AT> gmail <DOT> com>
AuthorDate: Thu Sep 21 05:40:27 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Sep 23 04:59:42 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=62ddc7e1

sci-libs/gsl: bump to gsl-2.4.

  Change over to https in all ebuilds to keep repoman happy.

Closes: https://github.com/gentoo/sci/pull/815
Closes: https://github.com/gentoo/sci/issues/813

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sci-libs/gsl/gsl-1.16-r2.ebuild                 |  4 ++--
 sci-libs/gsl/gsl-2.1.ebuild                     |  2 +-
 sci-libs/gsl/gsl-2.3.ebuild                     |  2 +-
 sci-libs/gsl/{gsl-2.3.ebuild => gsl-2.4.ebuild} | 10 +++++++---
 4 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/sci-libs/gsl/gsl-1.16-r2.ebuild b/sci-libs/gsl/gsl-1.16-r2.ebuild
index 7c5ef46a1..a28f92b5c 100644
--- a/sci-libs/gsl/gsl-1.16-r2.ebuild
+++ b/sci-libs/gsl/gsl-1.16-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -9,7 +9,7 @@ MULTILIB_COMPAT=( abi_x86_{32,64} )
 inherit alternatives-2 autotools-multilib eutils toolchain-funcs
 
 DESCRIPTION="GNU Scientific Library"
-HOMEPAGE="http://www.gnu.org/software/gsl/";
+HOMEPAGE="https://www.gnu.org/software/gsl/";
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"

diff --git a/sci-libs/gsl/gsl-2.1.ebuild b/sci-libs/gsl/gsl-2.1.ebuild
index 94c797b45..299a889fc 100644
--- a/sci-libs/gsl/gsl-2.1.ebuild
+++ b/sci-libs/gsl/gsl-2.1.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 inherit alternatives-2 autotools multilib-build numeric toolchain-funcs
 
 DESCRIPTION="GNU Scientific Library"
-HOMEPAGE="http://www.gnu.org/software/gsl/";
+HOMEPAGE="https://www.gnu.org/software/gsl/";
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"

diff --git a/sci-libs/gsl/gsl-2.3.ebuild b/sci-libs/gsl/gsl-2.3.ebuild
index 7af97c8aa..296d8e964 100644
--- a/sci-libs/gsl/gsl-2.3.ebuild
+++ b/sci-libs/gsl/gsl-2.3.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 inherit alternatives-2 autotools multilib-build numeric toolchain-funcs
 
 DESCRIPTION="GNU Scientific Library"
-HOMEPAGE="http://www.gnu.org/software/gsl/";
+HOMEPAGE="https://www.gnu.org/software/gsl/";
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"

diff --git a/sci-libs/gsl/gsl-2.3.ebuild b/sci-libs/gsl/gsl-2.4.ebuild
similarity index 83%
copy from sci-libs/gsl/gsl-2.3.ebuild
copy to sci-libs/gsl/gsl-2.4.ebuild
index 7af97c8aa..f8cb47e0f 100644
--- a/sci-libs/gsl/gsl-2.3.ebuild
+++ b/sci-libs/gsl/gsl-2.4.ebuild
@@ -3,14 +3,14 @@
 
 EAPI=6
 
-inherit alternatives-2 autotools multilib-build numeric toolchain-funcs
+inherit alternatives-2 autotools flag-o-matic multilib-build numeric 
toolchain-funcs
 
 DESCRIPTION="GNU Scientific Library"
-HOMEPAGE="http://www.gnu.org/software/gsl/";
+HOMEPAGE="https://www.gnu.org/software/gsl/";
 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
-SLOT="0/19"
+SLOT="0/23"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="cblas-external static-libs"
 
@@ -36,6 +36,10 @@ src_configure() {
                fi
                econf $(use_with cblas-external)
        }
+       # fma flags, which can be enabled by -march=native, cause some tests to 
fail.
+       # https://github.com/gentoo/sci/pull/815
+       append-cflags $(test-flags-CC -mno-fma -mno-fma4)
+
        multilib_foreach_abi run_in_build_dir gsl_configure
 }
 

Reply via email to