[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-11-24 Thread Michał Górny
commit: cf0915de4908a3c93f83cb86512fefd81e4f08f8
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov 24 16:25:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov 24 16:25:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0915de

dev-libs/ntl: Stabilize 11.5.1-r4 arm64, #918174

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r4.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
index 83fba366c113..2a091685334f 100644
--- a/dev-libs/ntl/ntl-11.5.1-r4.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="amd64 ~arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="amd64 arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="doc threads"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-08-04 Thread Michael Orlitzky
commit: b723304aa048be3e1eefc17f62b9ae60975d395e
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Aug  4 17:25:48 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Aug  4 20:08:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b723304a

dev-libs/ntl: drop 11.5.1-r3

Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r3.ebuild | 86 ---
 1 file changed, 86 deletions(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r3.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r3.ebuild
deleted file mode 100644
index b4e6ec7eadc4..
--- a/dev-libs/ntl/ntl-11.5.1-r3.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs gnuconfig
-
-DESCRIPTION="High-performance and portable C++ number theory library"
-HOMEPAGE="https://www.shoup.net/ntl/ https://github.com/libntl/ntl;
-SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
-
-LICENSE="LGPL-2.1+"
-SLOT="0/44"
-KEYWORDS="amd64 ~arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
-IUSE="doc threads cpu_flags_x86_avx2"
-
-BDEPEND="dev-lang/perl"
-DEPEND="dev-libs/gmp:0=
-   dev-libs/gf2x
-   threads? ( >=dev-libs/gf2x-1.2 )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-DOCS=( "${WORKDIR}/${P}"/README )
-
-src_unpack() {
-   default
-   gnuconfig_update "${S}/libtool-origin/"
-}
-
-src_configure() {
-   # The DoConfig script builds its own libtool, but doesn't
-   # really try to set up the build environment (bug 718892).
-   export CC="$(tc-getCC)"
-   export CXX="$(tc-getCXX)"
-
-   # The "AVX2" detection within NTL does more than just detect AVX2;
-   # it also checks that (for example) the size of a "long" is 64 bits.
-   # If we try to enable the AVX FFT (based on the avx2 cpu flag) and
-   # if NTL determines that AVX2 is unusable for some other reason,
-   # then the build will fail (bug 815775). To work around that, we
-   # disable the AVX FFT on x86 entirely. This still isn't perfect, but
-   # it should fix the cases we know about.
-   local avx_fft=$(usex cpu_flags_x86_avx2 on off)
-   use x86 && avx_fft=off
-
-   # Currently the build system can build a static library or both
-   # static and shared libraries, but not only shared libraries. The
-   # name NTL_GMP_LIP is *not* a typo.
-   perl DoConfig \
-   PREFIX="${EPREFIX}"/usr \
-   LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
-   CXXFLAGS="${CXXFLAGS}" \
-   CPPFLAGS="${CPPFLAGS}" \
-   LDFLAGS="${LDFLAGS}" \
-   CXX="$(tc-getCXX)" \
-   AR="$(tc-getAR)" \
-   RANLIB="$(tc-getRANLIB)" \
-   SHARED=on \
-   NTL_GMP_LIP=on \
-   NTL_GF2X_LIB=on \
-   NTL_THREADS=$(usex threads on off) \
-   NTL_ENABLE_AVX_FFT="${avx_fft}" \
-   NATIVE=off \
-   || die "DoConfig failed"
-
-   if use doc; then
-   DOCS+=( "${WORKDIR}/${P}"/doc/*.txt )
-   HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html 
"${WORKDIR}/${P}"/doc/*.gif )
-   fi
-
-   # 780534 - Required for rlibtool so it can find the generated libtool
-   ln -sf libtool-build/libtool . || die
-}
-
-src_install() {
-   default
-   find "${ED}" -name '*.la' -delete || die
-
-   # Use rm -f because the static archive may not be created when
-   # using (for example) slibtool-shared.
-   rm -f "${ED}/usr/$(get_libdir)"/libntl.a || die
-
-   rm -r "${ED}"/usr/share/doc/NTL || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-08-04 Thread Sam James
commit: 9404e7a838e817434c1ca5b7503c996b65cb6112
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  4 10:58:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  4 10:58:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9404e7a8

dev-libs/ntl: Stabilize 11.5.1-r4 ppc, #908494

Signed-off-by: Sam James  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r4.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
index 58472e5629a3..83fba366c113 100644
--- a/dev-libs/ntl/ntl-11.5.1-r4.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="doc threads"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-07-15 Thread Michael Orlitzky
commit: dd665732d193a04ad67a5f91252e6b70cb128357
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Jul 15 21:59:34 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Jul 15 21:59:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd665732

dev-libs/ntl: drop 11.5.1-r1

Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r1.ebuild | 79 ---
 1 file changed, 79 deletions(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r1.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
deleted file mode 100644
index c625986daa0f..
--- a/dev-libs/ntl/ntl-11.5.1-r1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs gnuconfig
-
-DESCRIPTION="High-performance and portable C++ number theory library"
-HOMEPAGE="https://www.shoup.net/ntl/ https://github.com/libntl/ntl;
-SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
-
-LICENSE="LGPL-2.1+"
-SLOT="0/44"
-KEYWORDS="amd64 ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
-IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
-
-BDEPEND="dev-lang/perl"
-DEPEND="dev-libs/gmp:0=
-   dev-libs/gf2x
-   threads? ( >=dev-libs/gf2x-1.2 )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-REQUIRED_USE="bindist? ( !cpu_flags_x86_avx2 )"
-
-DOCS=( "${WORKDIR}/${P}"/README )
-
-src_unpack() {
-   default
-   gnuconfig_update "${S}/libtool-origin/"
-}
-
-src_configure() {
-   # The DoConfig script builds its own libtool, but doesn't
-   # really try to set up the build environment (bug 718892).
-   export CC="$(tc-getCC)"
-   export CXX="$(tc-getCXX)"
-
-   # Currently the build system can build a static library or both
-   # static and shared libraries, but not only shared libraries. The
-   # name NTL_GMP_LIP is *not* a typo.
-   perl DoConfig \
-   PREFIX="${EPREFIX}"/usr \
-   LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
-   CXXFLAGS="${CXXFLAGS}" \
-   CPPFLAGS="${CPPFLAGS}" \
-   LDFLAGS="${LDFLAGS}" \
-   CXX="$(tc-getCXX)" \
-   AR="$(tc-getAR)" \
-   RANLIB="$(tc-getRANLIB)" \
-   SHARED=on \
-   NTL_GMP_LIP=on \
-   NTL_GF2X_LIB=on \
-   NTL_THREADS=$(usex threads on off) \
-   NTL_ENABLE_AVX_FFT=$(usex cpu_flags_x86_avx2 on off) \
-   NATIVE=$(usex bindist off on) \
-   || die "DoConfig failed"
-
-   if use doc; then
-   DOCS+=( "${WORKDIR}/${P}"/doc/*.txt )
-   HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html 
"${WORKDIR}/${P}"/doc/*.gif )
-   fi
-}
-
-src_install() {
-   default
-
-   if ! use static-libs; then
-   # bug #775884
-   find "${ED}" -name '*.la' -delete || die
-
-   # Use rm -f because the static archive may not be created when
-   # using (for example) slibtool-shared.
-   rm -f "${ED}/usr/$(get_libdir)"/libntl.a || die
-   fi
-
-   rm -r "${ED}"/usr/share/doc/NTL || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-06-14 Thread Arthur Zamarin
commit: f5c29467608b5d4d5e94d50e286ef084267274e1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jun 14 15:32:55 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jun 14 15:32:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c29467

dev-libs/ntl: Stabilize 11.5.1-r4 x86, #908494

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r4.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
index a15d8549c839..58472e5629a3 100644
--- a/dev-libs/ntl/ntl-11.5.1-r4.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="doc threads"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-06-14 Thread Michael Orlitzky
commit: c9a1216cb805d26b177f98b927537859ec82997f
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Jun 14 15:09:47 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Jun 14 15:13:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a1216c

dev-libs/ntl: set NATIVE=off again.

Pong. NTL detects CPU features at build time, and needs something like
CXXFLAGS="-march=native" to do it properly. But, so long as we don't try
to enable anything based on the user's CPU_FLAGS_X86, it should be safe
to leave NATIVE=off to avoid overriding his CXXFLAGS.

Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r4.ebuild | 8 +---
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r4.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
index c8e07339e445..a15d8549c839 100644
--- a/dev-libs/ntl/ntl-11.5.1-r4.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
@@ -47,12 +47,6 @@ src_configure() {
# may lead to worse performance." So we are probably not missing out
# on much.
#
-   # The NATIVE=on option adds "-march=native" to CXXFLAGS and should
-   # not be enabled on Gentoo, but is currently necessary for NTL's CPU
-   # feature detection to work (bug 815775). See the upstream issue,
-   #
-   #  https://github.com/libntl/ntl/issues/22
-   #
perl DoConfig \
PREFIX="${EPREFIX}"/usr \
LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
@@ -67,7 +61,7 @@ src_configure() {
NTL_GF2X_LIB=on \
NTL_THREADS=$(usex threads on off) \
NTL_ENABLE_AVX_FFT=off \
-   NATIVE=on \
+   NATIVE=off \
|| die "DoConfig failed"
 
if use doc; then



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-06-14 Thread Arthur Zamarin
commit: d0d4d60a75d8fce14c874c3c365e82a47b8aeac1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jun 14 12:31:07 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jun 14 12:31:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0d4d60a

dev-libs/ntl: Stabilize 11.5.1-r4 amd64, #908494

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r4.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
index a7373655ffa1..c8e07339e445 100644
--- a/dev-libs/ntl/ntl-11.5.1-r4.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="doc threads"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-06-14 Thread Michael Orlitzky
commit: 9ed8c182abf1232c57446017da57b24c4351a34c
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Jun 14 06:26:26 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Jun 14 11:14:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ed8c182

dev-libs/ntl: another AVX FFT build fix, this time on amd64.

Even on amd64, detection of the CPU features needed for AVX FFT can
fail. In particular, it can fail when -march=native is absent from
CXXFLAGS. Since the upstream documentation calls the AVX FFT
experimental, we disable it entirely. We also bring back NATIVE=on,
which should somewhat hide the CXXFLAGS issue until it can be addressed
upstream.

Closes: https://bugs.gentoo.org/815775
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r4.ebuild | 91 +++
 1 file changed, 91 insertions(+)

diff --git a/dev-libs/ntl/ntl-11.5.1-r4.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
new file mode 100644
index ..a7373655ffa1
--- /dev/null
+++ b/dev-libs/ntl/ntl-11.5.1-r4.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs gnuconfig
+
+DESCRIPTION="High-performance and portable C++ number theory library"
+HOMEPAGE="https://www.shoup.net/ntl/ https://github.com/libntl/ntl;
+SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
+
+LICENSE="LGPL-2.1+"
+SLOT="0/44"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+IUSE="doc threads"
+
+BDEPEND="dev-lang/perl"
+DEPEND="dev-libs/gmp:0=
+   dev-libs/gf2x
+   threads? ( >=dev-libs/gf2x-1.2 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+DOCS=( "${WORKDIR}/${P}"/README )
+
+src_unpack() {
+   default
+   gnuconfig_update "${S}/libtool-origin/"
+}
+
+src_configure() {
+   # The DoConfig script builds its own libtool, but doesn't
+   # really try to set up the build environment (bug 718892).
+   export CC="$(tc-getCC)"
+   export CXX="$(tc-getCXX)"
+
+   # Currently the build system can build a static library or both
+   # static and shared libraries, but not only shared libraries. The
+   # name NTL_GMP_LIP is *not* a typo.
+   #
+   # We have left NTL_ENABLE_AVX_FFT unconditionally disabled: NTL's
+   # AVX2 detection can fail even when the CPU supports it (bug
+   # 815775), and moreover, can fail due to CXXFLAGS. When that
+   # happens, and if we try to use the AVX FFT, the build fails.
+   # Finally, doc/config.txt says, "this is experimental at moment, and
+   # may lead to worse performance." So we are probably not missing out
+   # on much.
+   #
+   # The NATIVE=on option adds "-march=native" to CXXFLAGS and should
+   # not be enabled on Gentoo, but is currently necessary for NTL's CPU
+   # feature detection to work (bug 815775). See the upstream issue,
+   #
+   #  https://github.com/libntl/ntl/issues/22
+   #
+   perl DoConfig \
+   PREFIX="${EPREFIX}"/usr \
+   LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
+   CXXFLAGS="${CXXFLAGS}" \
+   CPPFLAGS="${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   CXX="$(tc-getCXX)" \
+   AR="$(tc-getAR)" \
+   RANLIB="$(tc-getRANLIB)" \
+   SHARED=on \
+   NTL_GMP_LIP=on \
+   NTL_GF2X_LIB=on \
+   NTL_THREADS=$(usex threads on off) \
+   NTL_ENABLE_AVX_FFT=off \
+   NATIVE=on \
+   || die "DoConfig failed"
+
+   if use doc; then
+   DOCS+=( "${WORKDIR}/${P}"/doc/*.txt )
+   HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html 
"${WORKDIR}/${P}"/doc/*.gif )
+   fi
+
+   # 780534 - Required for rlibtool so it can find the generated libtool
+   ln -sf libtool-build/libtool . || die
+}
+
+src_install() {
+   default
+   find "${ED}" -name '*.la' -delete || die
+
+   # Use rm -f because the static archive may not be created when
+   # using (for example) slibtool-shared.
+   rm -f "${ED}/usr/$(get_libdir)"/libntl.a || die
+
+   rm -r "${ED}"/usr/share/doc/NTL || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-06-06 Thread Arthur Zamarin
commit: 1728bc0b2c5c4c19fe9c72971a8056399892d7f2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jun  7 04:21:16 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jun  7 04:21:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1728bc0b

dev-libs/ntl: Stabilize 11.5.1-r3 ppc, #907964

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r3.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r3.ebuild
index 33d213326064..b4e6ec7eadc4 100644
--- a/dev-libs/ntl/ntl-11.5.1-r3.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="doc threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-06-06 Thread Arthur Zamarin
commit: e3fd958ad4d76bd9270b9dd2652425b4073d235d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jun  7 04:21:14 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jun  7 04:21:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3fd958a

dev-libs/ntl: Stabilize 11.5.1-r3 x86, #907964

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r3.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r3.ebuild
index 1b7f7af03821..c3b26e4a2616 100644
--- a/dev-libs/ntl/ntl-11.5.1-r3.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="doc threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-06-06 Thread Arthur Zamarin
commit: a4ac7270a3e5d70e35beb60b7d80054242e485e4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jun  7 04:21:15 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jun  7 04:21:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4ac7270

dev-libs/ntl: Stabilize 11.5.1-r3 amd64, #907964

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r3.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r3.ebuild
index c3b26e4a2616..33d213326064 100644
--- a/dev-libs/ntl/ntl-11.5.1-r3.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="doc threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-06-05 Thread Michael Orlitzky
commit: 800bc1a9abc6937dd0363bc22c8fa4f88e75eeaf
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Mon Jun  5 12:59:31 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Jun  5 12:59:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=800bc1a9

dev-libs/ntl: add github upstream metadata

Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-libs/ntl/metadata.xml b/dev-libs/ntl/metadata.xml
index 41060691e818..495cab106d33 100644
--- a/dev-libs/ntl/metadata.xml
+++ b/dev-libs/ntl/metadata.xml
@@ -11,4 +11,7 @@
integers, and for vectors, matrices, and polynomials over the
integers and over finite fields.

+   
+   libntl/ntl
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-06-05 Thread Michael Orlitzky
commit: ac9bae7a4256bb2ac15232d4d9a5a5f9a72430f9
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Mon Jun  5 12:49:51 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Jun  5 12:50:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac9bae7a

dev-libs/ntl: new revision to fix the x86 build (and drop static-libs).

Bug: https://bugs.gentoo.org/815775
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../{ntl-11.5.1-r2.ebuild => ntl-11.5.1-r3.ebuild} | 26 +-
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r2.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r3.ebuild
similarity index 69%
rename from dev-libs/ntl/ntl-11.5.1-r2.ebuild
rename to dev-libs/ntl/ntl-11.5.1-r3.ebuild
index 5601959c8c2a..1b7f7af03821 100644
--- a/dev-libs/ntl/ntl-11.5.1-r2.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
 KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
-IUSE="doc static-libs threads cpu_flags_x86_avx2"
+IUSE="doc threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"
 DEPEND="dev-libs/gmp:0=
@@ -35,6 +35,16 @@ src_configure() {
export CC="$(tc-getCC)"
export CXX="$(tc-getCXX)"
 
+   # The "AVX2" detection within NTL does more than just detect AVX2;
+   # it also checks that (for example) the size of a "long" is 64 bits.
+   # If we try to enable the AVX FFT (based on the avx2 cpu flag) and
+   # if NTL determines that AVX2 is unusable for some other reason,
+   # then the build will fail (bug 815775). To work around that, we
+   # disable the AVX FFT on x86 entirely. This still isn't perfect, but
+   # it should fix the cases we know about.
+   local avx_fft=$(usex cpu_flags_x86_avx2 on off)
+   use x86 && avx_fft=off
+
# Currently the build system can build a static library or both
# static and shared libraries, but not only shared libraries. The
# name NTL_GMP_LIP is *not* a typo.
@@ -51,7 +61,7 @@ src_configure() {
NTL_GMP_LIP=on \
NTL_GF2X_LIB=on \
NTL_THREADS=$(usex threads on off) \
-   NTL_ENABLE_AVX_FFT=$(usex cpu_flags_x86_avx2 on off) \
+   NTL_ENABLE_AVX_FFT="${avx_fft}" \
NATIVE=off \
|| die "DoConfig failed"
 
@@ -66,15 +76,11 @@ src_configure() {
 
 src_install() {
default
+   find "${ED}" -name '*.la' -delete || die
 
-   if ! use static-libs; then
-   # bug #775884
-   find "${ED}" -name '*.la' -delete || die
-
-   # Use rm -f because the static archive may not be created when
-   # using (for example) slibtool-shared.
-   rm -f "${ED}/usr/$(get_libdir)"/libntl.a || die
-   fi
+   # Use rm -f because the static archive may not be created when
+   # using (for example) slibtool-shared.
+   rm -f "${ED}/usr/$(get_libdir)"/libntl.a || die
 
rm -r "${ED}"/usr/share/doc/NTL || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2023-04-16 Thread WANG Xuerui
commit: 6ecf8789db78c9e6f27a56f44f91ef73d8d17808
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Apr 16 05:28:02 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Apr 16 12:03:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ecf8789

dev-libs/ntl: keyword 11.5.1-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r2.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r2.ebuild
index 261e6f0b0dab..5601959c8c2a 100644
--- a/dev-libs/ntl/ntl-11.5.1-r2.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2022-11-18 Thread Arthur Zamarin
commit: bcdace7fd0abf45f45853df808a332b8044cbaeb
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 18 17:29:15 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 18 17:29:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcdace7f

dev-libs/ntl: Keyword 11.5.1-r2 ppc64, #871921

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r2.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r2.ebuild
index fd3a3c4dcc5d..261e6f0b0dab 100644
--- a/dev-libs/ntl/ntl-11.5.1-r2.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos"
 IUSE="doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2022-06-19 Thread Sam James
commit: 804f5a2e842505c50952abbeb716aef498701bf7
Author: orbea  riseup  net>
AuthorDate: Sun Jun 19 02:56:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 20 02:03:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=804f5a2e

dev-libs/ntl: Fix build with rlibtool + remove USE

The build fails with rlibtool because the generated libtool is in the
libtool-build directory. The easiest way to work around this is to
symlink it in place.

The bindist USE flag controls the NATIVE argument for ntl's DoConfig
which enables or disables -march=native. The user should set -march
flags on their own and not the build system.

Bug: https://bugs.gentoo.org/780534
Signed-off-by: orbea  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/25967
Signed-off-by: Sam James  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r2.ebuild | 80 +++
 1 file changed, 80 insertions(+)

diff --git a/dev-libs/ntl/ntl-11.5.1-r2.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r2.ebuild
new file mode 100644
index ..fd3a3c4dcc5d
--- /dev/null
+++ b/dev-libs/ntl/ntl-11.5.1-r2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs gnuconfig
+
+DESCRIPTION="High-performance and portable C++ number theory library"
+HOMEPAGE="https://www.shoup.net/ntl/ https://github.com/libntl/ntl;
+SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
+
+LICENSE="LGPL-2.1+"
+SLOT="0/44"
+KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="doc static-libs threads cpu_flags_x86_avx2"
+
+BDEPEND="dev-lang/perl"
+DEPEND="dev-libs/gmp:0=
+   dev-libs/gf2x
+   threads? ( >=dev-libs/gf2x-1.2 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+DOCS=( "${WORKDIR}/${P}"/README )
+
+src_unpack() {
+   default
+   gnuconfig_update "${S}/libtool-origin/"
+}
+
+src_configure() {
+   # The DoConfig script builds its own libtool, but doesn't
+   # really try to set up the build environment (bug 718892).
+   export CC="$(tc-getCC)"
+   export CXX="$(tc-getCXX)"
+
+   # Currently the build system can build a static library or both
+   # static and shared libraries, but not only shared libraries. The
+   # name NTL_GMP_LIP is *not* a typo.
+   perl DoConfig \
+   PREFIX="${EPREFIX}"/usr \
+   LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
+   CXXFLAGS="${CXXFLAGS}" \
+   CPPFLAGS="${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   CXX="$(tc-getCXX)" \
+   AR="$(tc-getAR)" \
+   RANLIB="$(tc-getRANLIB)" \
+   SHARED=on \
+   NTL_GMP_LIP=on \
+   NTL_GF2X_LIB=on \
+   NTL_THREADS=$(usex threads on off) \
+   NTL_ENABLE_AVX_FFT=$(usex cpu_flags_x86_avx2 on off) \
+   NATIVE=off \
+   || die "DoConfig failed"
+
+   if use doc; then
+   DOCS+=( "${WORKDIR}/${P}"/doc/*.txt )
+   HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html 
"${WORKDIR}/${P}"/doc/*.gif )
+   fi
+
+   # 780534 - Required for rlibtool so it can find the generated libtool
+   ln -sf libtool-build/libtool . || die
+}
+
+src_install() {
+   default
+
+   if ! use static-libs; then
+   # bug #775884
+   find "${ED}" -name '*.la' -delete || die
+
+   # Use rm -f because the static archive may not be created when
+   # using (for example) slibtool-shared.
+   rm -f "${ED}/usr/$(get_libdir)"/libntl.a || die
+   fi
+
+   rm -r "${ED}"/usr/share/doc/NTL || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2022-05-07 Thread Michael Orlitzky
commit: 2abb60fd48997871a30c69ca5243301afe04488a
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat May  7 12:17:25 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat May  7 12:17:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2abb60fd

dev-libs/ntl: remove old ntl-11.4.4.ebuild.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/Manifest  |  1 -
 dev-libs/ntl/ntl-11.4.4.ebuild | 66 --
 2 files changed, 67 deletions(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index c44f36699663..e07916ee1821 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,2 +1 @@
-DIST ntl-11.4.4.tar.gz 2378708 BLAKE2B 
9a4c85bbe2fd2d3360988e0c350864fc0a05714e39ce3972228d93aba17f0dc079c90fbe40ab9d72116d1e31f55328bbd5cc71cd080e42ea33bc92361b4462aa
 SHA512 
ed89d82008ca8785cb3d69de9577f42abe464dabf167ea2aaf801951843fc427d41171cbaac2f0cf68f35110d029cc28a65bd5aad69d30e7312f5ebcb0b58911
 DIST ntl-11.5.1.tar.gz 2304103 BLAKE2B 
92284383451c7a810f7ee8d9a82836695d19d2a2e46b71c8c60b00acb77f4b4d3bad5497a309616a3e3188567d20203f5ad31295130ab0f3ace08417188c9fda
 SHA512 
cf1f642b8a0f9cdc6dda888e07183817dc67ff494e56a852053aeb15b3d2a0e61fbc05824779c5d1f20b8115fba6f97266acf7e0b0b527c25df5989c86d5928f

diff --git a/dev-libs/ntl/ntl-11.4.4.ebuild b/dev-libs/ntl/ntl-11.4.4.ebuild
deleted file mode 100644
index 38b47b4ab714..
--- a/dev-libs/ntl/ntl-11.4.4.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="High-performance and portable C++ number theory library"
-HOMEPAGE="https://www.shoup.net/ntl/ https://github.com/libntl/ntl;
-SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
-
-LICENSE="LGPL-2.1+"
-SLOT="0/43"
-KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
-
-BDEPEND="dev-lang/perl"
-DEPEND="dev-libs/gmp:0=
-   dev-libs/gf2x
-   threads? ( >=dev-libs/gf2x-1.2 )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-REQUIRED_USE="bindist? ( !cpu_flags_x86_avx2 )"
-
-DOCS=( "${WORKDIR}/${P}"/README )
-
-src_configure() {
-   # Currently the build system can build a static library or both
-   # static and shared libraries, but not only shared libraries. The
-   # name NTL_GMP_LIP is *not* a typo.
-   perl DoConfig \
-   PREFIX="${EPREFIX}"/usr \
-   LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
-   CXXFLAGS="${CXXFLAGS}" \
-   CPPFLAGS="${CPPFLAGS}" \
-   LDFLAGS="${LDFLAGS}" \
-   CXX="$(tc-getCXX)" \
-   AR="$(tc-getAR)" \
-   RANLIB="$(tc-getRANLIB)" \
-   SHARED=on \
-   NTL_GMP_LIP=on \
-   NTL_GF2X_LIB=on \
-   NTL_THREADS=$(usex threads on off) \
-   NTL_ENABLE_AVX_FFT=$(usex cpu_flags_x86_avx2 on off) \
-   NATIVE=$(usex bindist off on) \
-   || die "DoConfig failed"
-
-   if use doc; then
-   DOCS+=( "${WORKDIR}/${P}"/doc/*.txt )
-   HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html 
"${WORKDIR}/${P}"/doc/*.gif )
-   fi
-}
-
-src_install() {
-   default
-
-   if ! use static-libs; then
-   # bug #775884
-   find "${ED}" -name '*.la' -delete || die
-   rm "${ED}/usr/$(get_libdir)"/libntl.a || die
-   fi
-
-   rm -r "${ED}"/usr/share/doc/NTL || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2022-05-06 Thread Jakov Smolić
commit: 25b38dd04c3d8fcb8ffe90cddb1d6ec0d0eb2bef
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May  6 23:45:01 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May  6 23:45:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25b38dd0

dev-libs/ntl: Stabilize 11.5.1-r1 ppc, #843050

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r1.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
index 2eeb95405d24..c625986daa0f 100644
--- a/dev-libs/ntl/ntl-11.5.1-r1.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="amd64 ~arm64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm64 ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2022-05-06 Thread Jakov Smolić
commit: 1f0de4b10a0eff2c40588993c10080cce20f80e3
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May  6 23:39:22 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May  6 23:39:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f0de4b1

dev-libs/ntl: Stabilize 11.5.1-r1 x86, #843050

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r1.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
index b9721a35fca2..2eeb95405d24 100644
--- a/dev-libs/ntl/ntl-11.5.1-r1.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm64 ~ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2022-05-06 Thread Jakov Smolić
commit: a616cd1934d24bbcfaac3d73b5e3930f88a49bf4
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri May  6 23:39:18 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri May  6 23:39:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a616cd19

dev-libs/ntl: Stabilize 11.5.1-r1 amd64, #843050

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r1.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
index babd1e7a505c..b9721a35fca2 100644
--- a/dev-libs/ntl/ntl-11.5.1-r1.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/44"
-KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2022-03-25 Thread Sam James
commit: 2315df4ae43d1d0c1d2bff178a34f4c3a8cdb7aa
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 25 23:56:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 26 00:00:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2315df4a

dev-libs/ntl: [QA] fix tc-get* quoting

This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James  gentoo.org>

 dev-libs/ntl/ntl-11.5.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/ntl/ntl-11.5.1-r1.ebuild 
b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
index b5dd020eb133..babd1e7a505c 100644
--- a/dev-libs/ntl/ntl-11.5.1-r1.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
@@ -34,8 +34,8 @@ src_unpack() {
 src_configure() {
# The DoConfig script builds its own libtool, but doesn't
# really try to set up the build environment (bug 718892).
-   export CC=$(tc-getCC)
-   export CXX=$(tc-getCXX)
+   export CC="$(tc-getCC)"
+   export CXX="$(tc-getCXX)"
 
# Currently the build system can build a static library or both
# static and shared libraries, but not only shared libraries. The



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2022-01-23 Thread Michael Orlitzky
commit: 39869e36d91a055f494b73a2d7ab14a4ce861535
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Jan 23 23:45:56 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Jan 23 23:46:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39869e36

dev-libs/ntl: bump the 11.5.1 (soname) subslot.

I should've bumped this with the new version. Better late than never.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/{ntl-11.5.1.ebuild => ntl-11.5.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.5.1.ebuild b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
similarity index 99%
rename from dev-libs/ntl/ntl-11.5.1.ebuild
rename to dev-libs/ntl/ntl-11.5.1-r1.ebuild
index cc0f2835f57f..b5dd020eb133 100644
--- a/dev-libs/ntl/ntl-11.5.1.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.shoup.net/ntl/ 
https://github.com/libntl/ntl;
 SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
-SLOT="0/43"
+SLOT="0/44"
 KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2022-01-18 Thread Michael Orlitzky
commit: 3479b00f345a3df28d032ea905246867650168e0
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Jan 18 14:47:41 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Jan 18 14:47:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3479b00f

dev-libs/ntl: new upstream version 11.5.1.

Closes: https://bugs.gentoo.org/718892
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/Manifest| 1 +
 dev-libs/ntl/{ntl-11.4.4-r1.ebuild => ntl-11.5.1.ebuild} | 7 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index ea540e36f6a4..c44f36699663 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1 +1,2 @@
 DIST ntl-11.4.4.tar.gz 2378708 BLAKE2B 
9a4c85bbe2fd2d3360988e0c350864fc0a05714e39ce3972228d93aba17f0dc079c90fbe40ab9d72116d1e31f55328bbd5cc71cd080e42ea33bc92361b4462aa
 SHA512 
ed89d82008ca8785cb3d69de9577f42abe464dabf167ea2aaf801951843fc427d41171cbaac2f0cf68f35110d029cc28a65bd5aad69d30e7312f5ebcb0b58911
+DIST ntl-11.5.1.tar.gz 2304103 BLAKE2B 
92284383451c7a810f7ee8d9a82836695d19d2a2e46b71c8c60b00acb77f4b4d3bad5497a309616a3e3188567d20203f5ad31295130ab0f3ace08417188c9fda
 SHA512 
cf1f642b8a0f9cdc6dda888e07183817dc67ff494e56a852053aeb15b3d2a0e61fbc05824779c5d1f20b8115fba6f97266acf7e0b0b527c25df5989c86d5928f

diff --git a/dev-libs/ntl/ntl-11.4.4-r1.ebuild b/dev-libs/ntl/ntl-11.5.1.ebuild
similarity index 90%
rename from dev-libs/ntl/ntl-11.4.4-r1.ebuild
rename to dev-libs/ntl/ntl-11.5.1.ebuild
index cc4a14f83cd4..cc0f2835f57f 100644
--- a/dev-libs/ntl/ntl-11.4.4-r1.ebuild
+++ b/dev-libs/ntl/ntl-11.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -32,6 +32,11 @@ src_unpack() {
 }
 
 src_configure() {
+   # The DoConfig script builds its own libtool, but doesn't
+   # really try to set up the build environment (bug 718892).
+   export CC=$(tc-getCC)
+   export CXX=$(tc-getCXX)
+
# Currently the build system can build a static library or both
# static and shared libraries, but not only shared libraries. The
# name NTL_GMP_LIP is *not* a typo.



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2021-11-21 Thread Yixun Lan
commit: 0fa15906ee5ff5eb4d6aaf4b8949dfdb38f710f5
Author: Alex Fan  gmail  com>
AuthorDate: Thu Nov 18 07:21:55 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Nov 22 03:01:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa15906

dev-libs/ntl: keyword 11.4.4-r1 for ~riscv

Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-libs/ntl/ntl-11.4.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.4.4-r1.ebuild 
b/dev-libs/ntl/ntl-11.4.4-r1.ebuild
index 05f9388f8c54..cc4a14f83cd4 100644
--- a/dev-libs/ntl/ntl-11.4.4-r1.ebuild
+++ b/dev-libs/ntl/ntl-11.4.4-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/43"
-KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2021-11-08 Thread Michael Orlitzky
commit: 0a4cdd3089d1152a58428ce7f4f8b9f710c0c4f4
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Nov  9 02:57:38 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Nov  9 03:37:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a4cdd30

dev-libs/ntl: support LIBTOOL="slibtool-shared".

When using slibtool-shared, no static archives (*.a) are created. To
tolerate their absence, we add an "-f" to the "rm" that tries to
remove them.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/ntl-11.4.4-r1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.4.4-r1.ebuild 
b/dev-libs/ntl/ntl-11.4.4-r1.ebuild
index 1b184a8a48c..05f9388f8c5 100644
--- a/dev-libs/ntl/ntl-11.4.4-r1.ebuild
+++ b/dev-libs/ntl/ntl-11.4.4-r1.ebuild
@@ -64,7 +64,10 @@ src_install() {
if ! use static-libs; then
# bug #775884
find "${ED}" -name '*.la' -delete || die
-   rm "${ED}/usr/$(get_libdir)"/libntl.a || die
+
+   # Use rm -f because the static archive may not be created when
+   # using (for example) slibtool-shared.
+   rm -f "${ED}/usr/$(get_libdir)"/libntl.a || die
fi
 
rm -r "${ED}"/usr/share/doc/NTL || die



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2021-11-08 Thread Michael Orlitzky
commit: 444b2094dad9c3f4b5eb82592997534eb2e472ed
Author: Alex Fan  yahoo  com>
AuthorDate: Tue Nov  9 01:07:47 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Nov  9 03:37:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=444b2094

dev-libs/ntl: add 11.4.4-r1

bump to EAPI 8
update bundled config.guess and config.sub automatically.

Closes: https://bugs.gentoo.org/821061
Closes: https://github.com/gentoo/gentoo/pull/22822
Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/ntl-11.4.4-r1.ebuild | 71 +++
 1 file changed, 71 insertions(+)

diff --git a/dev-libs/ntl/ntl-11.4.4-r1.ebuild 
b/dev-libs/ntl/ntl-11.4.4-r1.ebuild
new file mode 100644
index 000..1b184a8a48c
--- /dev/null
+++ b/dev-libs/ntl/ntl-11.4.4-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs gnuconfig
+
+DESCRIPTION="High-performance and portable C++ number theory library"
+HOMEPAGE="https://www.shoup.net/ntl/ https://github.com/libntl/ntl;
+SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
+
+LICENSE="LGPL-2.1+"
+SLOT="0/43"
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
+
+BDEPEND="dev-lang/perl"
+DEPEND="dev-libs/gmp:0=
+   dev-libs/gf2x
+   threads? ( >=dev-libs/gf2x-1.2 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+REQUIRED_USE="bindist? ( !cpu_flags_x86_avx2 )"
+
+DOCS=( "${WORKDIR}/${P}"/README )
+
+src_unpack() {
+   default
+   gnuconfig_update "${S}/libtool-origin/"
+}
+
+src_configure() {
+   # Currently the build system can build a static library or both
+   # static and shared libraries, but not only shared libraries. The
+   # name NTL_GMP_LIP is *not* a typo.
+   perl DoConfig \
+   PREFIX="${EPREFIX}"/usr \
+   LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
+   CXXFLAGS="${CXXFLAGS}" \
+   CPPFLAGS="${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   CXX="$(tc-getCXX)" \
+   AR="$(tc-getAR)" \
+   RANLIB="$(tc-getRANLIB)" \
+   SHARED=on \
+   NTL_GMP_LIP=on \
+   NTL_GF2X_LIB=on \
+   NTL_THREADS=$(usex threads on off) \
+   NTL_ENABLE_AVX_FFT=$(usex cpu_flags_x86_avx2 on off) \
+   NATIVE=$(usex bindist off on) \
+   || die "DoConfig failed"
+
+   if use doc; then
+   DOCS+=( "${WORKDIR}/${P}"/doc/*.txt )
+   HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html 
"${WORKDIR}/${P}"/doc/*.gif )
+   fi
+}
+
+src_install() {
+   default
+
+   if ! use static-libs; then
+   # bug #775884
+   find "${ED}" -name '*.la' -delete || die
+   rm "${ED}/usr/$(get_libdir)"/libntl.a || die
+   fi
+
+   rm -r "${ED}"/usr/share/doc/NTL || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2021-11-03 Thread Michael Orlitzky
commit: a314b8db1b53a6debe50f3db9337c18c9ea3f30f
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Nov  3 12:45:59 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Nov  3 12:50:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a314b8db

dev-libs/ntl: remove old "unused" ntl-11.4.3.ebuild.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/Manifest  |  1 -
 dev-libs/ntl/ntl-11.4.3.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index 6e7174b0f2c..ea540e36f6a 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,2 +1 @@
-DIST ntl-11.4.3.tar.gz 2274421 BLAKE2B 
d2c2fe695b17f47b24ad714d51dd723cbba453cc0fd67b8f46392103ef2f40ba54246411c793f0f60d1d50aae27cb8e75f6e8526fa9592e04c2cd0bdecef760c
 SHA512 
26515ed73c8e74d0ff8bc161101f1b815f2c23e4bd633cc426f6da2741c6d8f43ad4f8df2cb7ad915475933599e0ee01cc360e75569f6f5d49cb5e5eae37b3f5
 DIST ntl-11.4.4.tar.gz 2378708 BLAKE2B 
9a4c85bbe2fd2d3360988e0c350864fc0a05714e39ce3972228d93aba17f0dc079c90fbe40ab9d72116d1e31f55328bbd5cc71cd080e42ea33bc92361b4462aa
 SHA512 
ed89d82008ca8785cb3d69de9577f42abe464dabf167ea2aaf801951843fc427d41171cbaac2f0cf68f35110d029cc28a65bd5aad69d30e7312f5ebcb0b58911

diff --git a/dev-libs/ntl/ntl-11.4.3.ebuild b/dev-libs/ntl/ntl-11.4.3.ebuild
deleted file mode 100644
index 130a7bf8c35..000
--- a/dev-libs/ntl/ntl-11.4.3.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit toolchain-funcs
-
-DESCRIPTION="High-performance and portable C++ number theory library"
-HOMEPAGE="https://www.shoup.net/ntl/;
-SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
-
-LICENSE="LGPL-2.1+"
-SLOT="0/43"
-KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
-
-BDEPEND="dev-lang/perl"
-DEPEND="dev-libs/gmp:0=
-   dev-libs/gf2x
-   threads? ( >=dev-libs/gf2x-1.2 )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-REQUIRED_USE="bindist? ( !cpu_flags_x86_avx2 )"
-
-DOCS=( "${WORKDIR}/${P}"/README )
-
-src_configure() {
-   # Currently the build system can build a static library or both
-   # static and shared libraries, but not only shared libraries. The
-   # name NTL_GMP_LIP is *not* a typo.
-   perl DoConfig \
-   PREFIX="${EPREFIX}"/usr \
-   LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
-   CXXFLAGS="${CXXFLAGS}" \
-   CPPFLAGS="${CPPFLAGS}" \
-   LDFLAGS="${LDFLAGS}" \
-   CXX="$(tc-getCXX)" \
-   AR="$(tc-getAR)" \
-   RANLIB="$(tc-getRANLIB)" \
-   SHARED=on \
-   NTL_GMP_LIP=on \
-   NTL_GF2X_LIB=on \
-   NTL_THREADS=$(usex threads on off) \
-   NTL_ENABLE_AVX_FFT=$(usex cpu_flags_x86_avx2 on off) \
-   NATIVE=$(usex bindist off on) \
-   || die "DoConfig failed"
-
-   if use doc; then
-   DOCS+=( "${WORKDIR}/${P}"/doc/*.txt )
-   HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html 
"${WORKDIR}/${P}"/doc/*.gif )
-   fi
-}
-
-src_install() {
-   default
-   if ! use static-libs; then
-   rm "${ED}/usr/$(get_libdir)"/libntl.{la,a} || die
-   fi
-
-   rm -r "${ED}"/usr/share/doc/NTL || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2021-11-03 Thread Agostino Sarubbo
commit: 6fc22db5aa4d57720359a4cb33e02b4d5ccd20ff
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov  3 10:07:56 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov  3 10:07:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fc22db5

dev-libs/ntl: x86 stable wrt bug #821325

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/ntl/ntl-11.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.4.4.ebuild b/dev-libs/ntl/ntl-11.4.4.ebuild
index 0df685dd90d..38b47b4ab71 100644
--- a/dev-libs/ntl/ntl-11.4.4.ebuild
+++ b/dev-libs/ntl/ntl-11.4.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/43"
-KEYWORDS="amd64 ~arm64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2021-11-03 Thread Agostino Sarubbo
commit: 2c0b5f3537164f85251830ef56a83c24b4e2f98b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov  3 10:06:06 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov  3 10:06:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c0b5f35

dev-libs/ntl: amd64 stable wrt bug #821325

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/ntl/ntl-11.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.4.4.ebuild b/dev-libs/ntl/ntl-11.4.4.ebuild
index 9b4ebf81f54..0df685dd90d 100644
--- a/dev-libs/ntl/ntl-11.4.4.ebuild
+++ b/dev-libs/ntl/ntl-11.4.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/43"
-KEYWORDS="~amd64 ~arm64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="amd64 ~arm64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2021-11-02 Thread Sam James
commit: a308a2c5cb9b3f0084edd4c2c1476a641037608b
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov  2 15:45:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov  2 15:45:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a308a2c5

dev-libs/ntl: Stabilize 11.4.4 ppc, #821325

Signed-off-by: Sam James  gentoo.org>

 dev-libs/ntl/ntl-11.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.4.4.ebuild b/dev-libs/ntl/ntl-11.4.4.ebuild
index 18f21afb1eb..9b4ebf81f54 100644
--- a/dev-libs/ntl/ntl-11.4.4.ebuild
+++ b/dev-libs/ntl/ntl-11.4.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/43"
-KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+KEYWORDS="~amd64 ~arm64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2021-03-16 Thread Sam James
commit: 5e60c807e905109484bcca17eaba8c46dd58c40d
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 16 21:32:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 16 21:32:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e60c807

dev-libs/ntl: handle removing .la differently

Closes: https://bugs.gentoo.org/775884
Signed-off-by: Sam James  gentoo.org>

 dev-libs/ntl/ntl-11.4.4.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.4.4.ebuild b/dev-libs/ntl/ntl-11.4.4.ebuild
index 0a9584119e1..18f21afb1eb 100644
--- a/dev-libs/ntl/ntl-11.4.4.ebuild
+++ b/dev-libs/ntl/ntl-11.4.4.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit toolchain-funcs
 
 DESCRIPTION="High-performance and portable C++ number theory library"
@@ -54,8 +55,11 @@ src_configure() {
 
 src_install() {
default
+
if ! use static-libs; then
-   rm "${ED}/usr/$(get_libdir)"/libntl.{la,a} || die
+   # bug #775884
+   find "${ED}" -name '*.la' -delete || die
+   rm "${ED}/usr/$(get_libdir)"/libntl.a || die
fi
 
rm -r "${ED}"/usr/share/doc/NTL || die



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2021-03-05 Thread Michael Orlitzky
commit: 6ff3b32f1a5748cd3d8f1864047a90b0e44d5de2
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Mar  6 01:57:48 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Mar  6 02:54:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ff3b32f

dev-libs/ntl: new upstream version 11.4.4.

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/Manifest  |  1 +
 dev-libs/ntl/ntl-11.4.4.ebuild | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index c1c7dc4d859..6e7174b0f2c 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1 +1,2 @@
 DIST ntl-11.4.3.tar.gz 2274421 BLAKE2B 
d2c2fe695b17f47b24ad714d51dd723cbba453cc0fd67b8f46392103ef2f40ba54246411c793f0f60d1d50aae27cb8e75f6e8526fa9592e04c2cd0bdecef760c
 SHA512 
26515ed73c8e74d0ff8bc161101f1b815f2c23e4bd633cc426f6da2741c6d8f43ad4f8df2cb7ad915475933599e0ee01cc360e75569f6f5d49cb5e5eae37b3f5
+DIST ntl-11.4.4.tar.gz 2378708 BLAKE2B 
9a4c85bbe2fd2d3360988e0c350864fc0a05714e39ce3972228d93aba17f0dc079c90fbe40ab9d72116d1e31f55328bbd5cc71cd080e42ea33bc92361b4462aa
 SHA512 
ed89d82008ca8785cb3d69de9577f42abe464dabf167ea2aaf801951843fc427d41171cbaac2f0cf68f35110d029cc28a65bd5aad69d30e7312f5ebcb0b58911

diff --git a/dev-libs/ntl/ntl-11.4.4.ebuild b/dev-libs/ntl/ntl-11.4.4.ebuild
new file mode 100644
index 000..0a9584119e1
--- /dev/null
+++ b/dev-libs/ntl/ntl-11.4.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="High-performance and portable C++ number theory library"
+HOMEPAGE="https://www.shoup.net/ntl/ https://github.com/libntl/ntl;
+SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
+
+LICENSE="LGPL-2.1+"
+SLOT="0/43"
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
+
+BDEPEND="dev-lang/perl"
+DEPEND="dev-libs/gmp:0=
+   dev-libs/gf2x
+   threads? ( >=dev-libs/gf2x-1.2 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+REQUIRED_USE="bindist? ( !cpu_flags_x86_avx2 )"
+
+DOCS=( "${WORKDIR}/${P}"/README )
+
+src_configure() {
+   # Currently the build system can build a static library or both
+   # static and shared libraries, but not only shared libraries. The
+   # name NTL_GMP_LIP is *not* a typo.
+   perl DoConfig \
+   PREFIX="${EPREFIX}"/usr \
+   LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
+   CXXFLAGS="${CXXFLAGS}" \
+   CPPFLAGS="${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   CXX="$(tc-getCXX)" \
+   AR="$(tc-getAR)" \
+   RANLIB="$(tc-getRANLIB)" \
+   SHARED=on \
+   NTL_GMP_LIP=on \
+   NTL_GF2X_LIB=on \
+   NTL_THREADS=$(usex threads on off) \
+   NTL_ENABLE_AVX_FFT=$(usex cpu_flags_x86_avx2 on off) \
+   NATIVE=$(usex bindist off on) \
+   || die "DoConfig failed"
+
+   if use doc; then
+   DOCS+=( "${WORKDIR}/${P}"/doc/*.txt )
+   HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html 
"${WORKDIR}/${P}"/doc/*.gif )
+   fi
+}
+
+src_install() {
+   default
+   if ! use static-libs; then
+   rm "${ED}/usr/$(get_libdir)"/libntl.{la,a} || die
+   fi
+
+   rm -r "${ED}"/usr/share/doc/NTL || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2021-01-06 Thread Fabian Groffen
commit: e4ba8709a0e50805e71d54538710ef83b8a1d6ca
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 19:29:59 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 19:33:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ba8709

dev-libs/ntl: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/ntl/ntl-11.4.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/ntl/ntl-11.4.3.ebuild b/dev-libs/ntl/ntl-11.4.3.ebuild
index b30b4e2fe4e..130a7bf8c35 100644
--- a/dev-libs/ntl/ntl-11.4.3.ebuild
+++ b/dev-libs/ntl/ntl-11.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/43"
-KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
+KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2020-08-25 Thread Sam James
commit: d37abec9f8d9af51210746f46f8f10b02040e2c3
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 25 10:25:06 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 25 10:25:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d37abec9

dev-libs/ntl: arm64 keyworded (bug #734822)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-libs/ntl/ntl-11.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.4.3.ebuild b/dev-libs/ntl/ntl-11.4.3.ebuild
index b19d42f860c..b30b4e2fe4e 100644
--- a/dev-libs/ntl/ntl-11.4.3.ebuild
+++ b/dev-libs/ntl/ntl-11.4.3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/43"
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
+KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/, dev-libs/ntl/files/

2020-04-24 Thread Michael Orlitzky
commit: 16bf0e7f6968b4a6eff5a3139a79d26871a37037
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Apr 24 21:24:57 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Apr 24 21:41:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bf0e7f

dev-libs/ntl: remove old "unused" versions.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/Manifest  |   3 -
 .../ntl/files/ntl-9.2.0-sanitize-makefile.patch| 160 -
 dev-libs/ntl/files/ntl-9.2.0-singular.patch|  13 --
 .../ntl/files/ntl-9.6.4-sanitize-makefile.patch| 160 -
 dev-libs/ntl/ntl-10.5.0.ebuild |  62 
 dev-libs/ntl/ntl-9.3.0.ebuild  |  82 ---
 dev-libs/ntl/ntl-9.6.4.ebuild  |  85 ---
 7 files changed, 565 deletions(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index 3ae669d70fb..c1c7dc4d859 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,4 +1 @@
-DIST ntl-10.5.0.tar.gz 1278729 BLAKE2B 
a061ac4e0989ea671c51a22904851e5b7919f3a7e55624048c576d6f48d2ba3d6f88baa6c656c9ef43ad2145a03df9d891372f8462a1c5b6b53bc1d05301d9f6
 SHA512 
b299dfc29005079470972c2a9ca02acd0ebdbc31ff8923df02f3627dbc66daa0f527226972cef032e1e488c4272554634a96456e94653fdf8b01356160319aa0
 DIST ntl-11.4.3.tar.gz 2274421 BLAKE2B 
d2c2fe695b17f47b24ad714d51dd723cbba453cc0fd67b8f46392103ef2f40ba54246411c793f0f60d1d50aae27cb8e75f6e8526fa9592e04c2cd0bdecef760c
 SHA512 
26515ed73c8e74d0ff8bc161101f1b815f2c23e4bd633cc426f6da2741c6d8f43ad4f8df2cb7ad915475933599e0ee01cc360e75569f6f5d49cb5e5eae37b3f5
-DIST ntl-9.3.0.tar.gz 888710 BLAKE2B 
153a6f1bd11f27ef2944e4df5e941c4ddbb1783449e2a72aa1a272fcf169997b01646cfac63ac3af5a85a7f9a4db99a664503615d323ba54784849e764316b0c
 SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
-DIST ntl-9.6.4.tar.gz 915256 BLAKE2B 
78d8415bb1fe858881f997383ca9adcc8af2499251fc1b2e8e2211a8c7b8edc249ef28f3705e302d438c19cc07bd31d8b36681cb6b5a846d4f0b35ff09d310ff
 SHA512 
ec8a4deb6996b31140edff978e07844ea8e30327491a6777d3982bffec01599b0cb5cc5dca297c8610ecb7ac9a4eae3407a59736fed840a2415a52a159370868

diff --git a/dev-libs/ntl/files/ntl-9.2.0-sanitize-makefile.patch 
b/dev-libs/ntl/files/ntl-9.2.0-sanitize-makefile.patch
deleted file mode 100644
index 2e8b77ae4b9..000
--- a/dev-libs/ntl/files/ntl-9.2.0-sanitize-makefile.patch
+++ /dev/null
@@ -1,160 +0,0 @@
-diff -Naur ntl-9.2.0.orig/src/DoConfig ntl-9.2.0/src/DoConfig
 ntl-9.2.0.orig/src/DoConfig2015-07-09 21:45:26.959930693 +1200
-+++ ntl-9.2.0/src/DoConfig 2015-07-09 21:46:52.250122780 +1200
-@@ -38,14 +38,16 @@
- 
- 'LDFLAGS' => '',
- 'LDLIBS'  => '-lm',
-+'PICFLAG' => '-fPIC',
- 'CPPFLAGS'=> '',
- 
--'DEF_PREFIX'  => '/usr/local',
-+'DEF_PREFIX'  => '/usr',
- 
- 'PREFIX'  => '$(DEF_PREFIX)',
- 'LIBDIR'  => '$(PREFIX)/lib',
- 'INCLUDEDIR'  => '$(PREFIX)/include',
- 'DOCDIR'  => '$(PREFIX)/share/doc',
-+'SHMAKE'  => 'non-gld',
- 
- 'GMP_PREFIX'  => '$(DEF_PREFIX)',
- 'GMP_INCDIR'  => '$(GMP_PREFIX)/include',
-diff -Naur ntl-9.2.0.orig/src/mfile ntl-9.2.0/src/mfile
 ntl-9.2.0.orig/src/mfile   2015-07-09 21:45:26.959930693 +1200
-+++ ntl-9.2.0/src/mfile2015-07-09 21:57:40.631583489 +1200
-@@ -109,6 +109,16 @@
- WIZARD=@{WIZARD}
- # Set to off if you want to bypass the wizard; otherwise, set to on.
- 
-+###
-+#
-+# New addition for shared library building. With gcc you need to
-+# choose the Position Indepent Code flag. You have a choice of 
-+# -fpic better code but in rare case not available (ppc)
-+# -fPIC slightly slower code but guaranted to work anywhere.
-+#
-+###
-+
-+PICFLAG=@{PICFLAG}
- 
- #
- #
-@@ -141,6 +151,8 @@
- 
- OBJ=$(O19)
- 
-+SHOBJ=$(subst .o,.lo,$(OBJ))
-+
- # library source files
- 
- 
-@@ -314,6 +326,8 @@
- 
- LINK = $(CXX) $(NTL_INCLUDE) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
- 
-+.SUFFIXES: .lo
-+
- 
- 
- # 'make all' does a complete make, including all setup.
-@@ -322,11 +336,11 @@
- # again.
- 
- all:
--  make setup1
--  make setup2
--  make setup3
--  make setup4
--  make ntl.a
-+  ${MAKE} setup1
-+  ${MAKE} setup2
-+  ${MAKE} setup3
-+  ${MAKE} setup4
-+  ${MAKE} ntl.a
-   touch all
- 
- 
-@@ -373,22 +387,37 @@
- lip.o:lip.c g_lip_impl.h c_lip_impl.h 
-   $(LCOMP) $(COMPILE) $(GMP_OPT_INCDIR) lip.c
- 
-+lip.lo:   lip.c g_lip_impl.h c_lip_impl.h 
-+  $(LCOMP) $(COMPILE) $(PICFLAG) $(GMP_OPT_INCDIR) lip.c -o lip.lo
-+
- ctools.o: ctools.c
-   $(LCOMP) $(COMPILE) ctools.c
- 
-+ctools.lo:ctools.c

[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2020-04-23 Thread Agostino Sarubbo
commit: 2cc60686ddb0881327617f015f76845714f1a02c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Apr 23 06:28:52 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Apr 23 06:28:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cc60686

dev-libs/ntl: x86 stable wrt bug #718620

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/ntl/ntl-11.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.4.3.ebuild b/dev-libs/ntl/ntl-11.4.3.ebuild
index 94c35614320..b19d42f860c 100644
--- a/dev-libs/ntl/ntl-11.4.3.ebuild
+++ b/dev-libs/ntl/ntl-11.4.3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/43"
-KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2020-04-23 Thread Agostino Sarubbo
commit: a826ad8c6e98a7c4a5990cd87ff9ac62e8a3ba00
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Apr 23 06:24:16 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Apr 23 06:24:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a826ad8c

dev-libs/ntl: ppc stable wrt bug #718620

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/ntl/ntl-11.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.4.3.ebuild b/dev-libs/ntl/ntl-11.4.3.ebuild
index 6dd91f37e49..94c35614320 100644
--- a/dev-libs/ntl/ntl-11.4.3.ebuild
+++ b/dev-libs/ntl/ntl-11.4.3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/43"
-KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
+KEYWORDS="amd64 ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2020-04-23 Thread Agostino Sarubbo
commit: 30a8a2698b2c88b1163a249c923d00c5c834e3cd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Apr 23 06:19:56 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Apr 23 06:19:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30a8a269

dev-libs/ntl: amd64 stable wrt bug #718620

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/ntl/ntl-11.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-11.4.3.ebuild b/dev-libs/ntl/ntl-11.4.3.ebuild
index ff46212b852..6dd91f37e49 100644
--- a/dev-libs/ntl/ntl-11.4.3.ebuild
+++ b/dev-libs/ntl/ntl-11.4.3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE="LGPL-2.1+"
 SLOT="0/43"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
+KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
 IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
 
 BDEPEND="dev-lang/perl"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2020-03-24 Thread Michael Orlitzky
commit: 61c774894ebc9a92986363b21f8a537ea000447f
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Mar 24 18:05:29 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Mar 24 18:20:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c77489

dev-libs/ntl: new version 11.4.3.

Update to the latest version using François Bissey's ebuild from the
sage-on-gentoo overlay. I've updated the LICENSE to LGPL-2.1+ per the
project's homepage, and have removed the CFLAGS override since now
NTL builds and passes its test suite with -O3 (if you set anything
higher than that, you're on your own). I've also tried to simplify
a few of the usex calls in the DoConfig process.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-libs/ntl/Manifest  |  1 +
 dev-libs/ntl/ntl-11.4.3.ebuild | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index c4a37d6c5de..3ae669d70fb 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,3 +1,4 @@
 DIST ntl-10.5.0.tar.gz 1278729 BLAKE2B 
a061ac4e0989ea671c51a22904851e5b7919f3a7e55624048c576d6f48d2ba3d6f88baa6c656c9ef43ad2145a03df9d891372f8462a1c5b6b53bc1d05301d9f6
 SHA512 
b299dfc29005079470972c2a9ca02acd0ebdbc31ff8923df02f3627dbc66daa0f527226972cef032e1e488c4272554634a96456e94653fdf8b01356160319aa0
+DIST ntl-11.4.3.tar.gz 2274421 BLAKE2B 
d2c2fe695b17f47b24ad714d51dd723cbba453cc0fd67b8f46392103ef2f40ba54246411c793f0f60d1d50aae27cb8e75f6e8526fa9592e04c2cd0bdecef760c
 SHA512 
26515ed73c8e74d0ff8bc161101f1b815f2c23e4bd633cc426f6da2741c6d8f43ad4f8df2cb7ad915475933599e0ee01cc360e75569f6f5d49cb5e5eae37b3f5
 DIST ntl-9.3.0.tar.gz 888710 BLAKE2B 
153a6f1bd11f27ef2944e4df5e941c4ddbb1783449e2a72aa1a272fcf169997b01646cfac63ac3af5a85a7f9a4db99a664503615d323ba54784849e764316b0c
 SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
 DIST ntl-9.6.4.tar.gz 915256 BLAKE2B 
78d8415bb1fe858881f997383ca9adcc8af2499251fc1b2e8e2211a8c7b8edc249ef28f3705e302d438c19cc07bd31d8b36681cb6b5a846d4f0b35ff09d310ff
 SHA512 
ec8a4deb6996b31140edff978e07844ea8e30327491a6777d3982bffec01599b0cb5cc5dca297c8610ecb7ac9a4eae3407a59736fed840a2415a52a159370868

diff --git a/dev-libs/ntl/ntl-11.4.3.ebuild b/dev-libs/ntl/ntl-11.4.3.ebuild
new file mode 100644
index 000..ff46212b852
--- /dev/null
+++ b/dev-libs/ntl/ntl-11.4.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="High-performance and portable C++ number theory library"
+HOMEPAGE="https://www.shoup.net/ntl/;
+SRC_URI="https://www.shoup.net/ntl/${P}.tar.gz;
+
+LICENSE="LGPL-2.1+"
+SLOT="0/43"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
+IUSE="bindist doc static-libs threads cpu_flags_x86_avx2"
+
+BDEPEND="dev-lang/perl"
+DEPEND="dev-libs/gmp:0=
+   dev-libs/gf2x
+   threads? ( >=dev-libs/gf2x-1.2 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+REQUIRED_USE="bindist? ( !cpu_flags_x86_avx2 )"
+
+DOCS=( "${WORKDIR}/${P}"/README )
+
+src_configure() {
+   # Currently the build system can build a static library or both
+   # static and shared libraries, but not only shared libraries. The
+   # name NTL_GMP_LIP is *not* a typo.
+   perl DoConfig \
+   PREFIX="${EPREFIX}"/usr \
+   LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
+   CXXFLAGS="${CXXFLAGS}" \
+   CPPFLAGS="${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   CXX="$(tc-getCXX)" \
+   AR="$(tc-getAR)" \
+   RANLIB="$(tc-getRANLIB)" \
+   SHARED=on \
+   NTL_GMP_LIP=on \
+   NTL_GF2X_LIB=on \
+   NTL_THREADS=$(usex threads on off) \
+   NTL_ENABLE_AVX_FFT=$(usex cpu_flags_x86_avx2 on off) \
+   NATIVE=$(usex bindist off on) \
+   || die "DoConfig failed"
+
+   if use doc; then
+   DOCS+=( "${WORKDIR}/${P}"/doc/*.txt )
+   HTML_DOCS=( "${WORKDIR}/${P}"/doc/*.html 
"${WORKDIR}/${P}"/doc/*.gif )
+   fi
+}
+
+src_install() {
+   default
+   if ! use static-libs; then
+   rm "${ED}/usr/$(get_libdir)"/libntl.{la,a} || die
+   fi
+
+   rm -r "${ED}"/usr/share/doc/NTL || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/files/, dev-libs/ntl/

2017-12-02 Thread David Seifert
commit: 8861bc8d50b8d7d8e090414be4334b7f31594ff6
Author: Harri Nieminen  gmail  com>
AuthorDate: Fri Dec  1 15:52:03 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Dec  2 13:03:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8861bc8d

dev-libs/ntl: Remove old

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-libs/ntl/Manifest |   2 -
 dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch |  53 
 dev-libs/ntl/files/ntl-5.5.2-shared-r1.patch  | 151 ---
 dev-libs/ntl/files/ntl-5.5.2-shared.patch | 166 --
 dev-libs/ntl/files/ntl-5.5.2-singular.patch   |  12 --
 dev-libs/ntl/files/ntl-6.0.0-sage-tools.patch |  61 --
 dev-libs/ntl/files/ntl-6.0.0-singular.patch   |  12 --
 dev-libs/ntl/ntl-5.5.2.ebuild |  74 
 dev-libs/ntl/ntl-6.1.0.ebuild |  74 
 9 files changed, 605 deletions(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index 4e3d253ab81..67c718d474d 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,5 +1,3 @@
 DIST ntl-10.5.0.tar.gz 1278729 SHA256 
b90b36c9dd8954c9bc54410b1d57c00be956ae1db5a062945822bbd7a86ab4d2 SHA512 
b299dfc29005079470972c2a9ca02acd0ebdbc31ff8923df02f3627dbc66daa0f527226972cef032e1e488c4272554634a96456e94653fdf8b01356160319aa0
 WHIRLPOOL 
270f76a0088c79b506a1e0bfa12cbe06419bb5c0421e7cdb9fcc3ec2bd6b22b4f4c2468bbe73001090db623e8a662d185e181f4390475513b32a388ecca7c3cc
-DIST ntl-5.5.2.tar.gz 707247 SHA256 
ef7fe7c8b60ec6e05b2a279caad0081263f7fb68b7360120846644cde726ff56 SHA512 
44892e00051ca743b1184c9ae30e62c8e2605edaa394358979ff990a535993a6f282d882871ca9ebb3c632971f806c41d9b8024c8fb2cc6fa0d22bc26c66db06
 WHIRLPOOL 
4587463c4b52be721a7feb164fab73341af97c6f451c0bb2fbf675503c8a5262a5d7615d628e97f082dde23ce49db0f0b314c625dae0526bb1abdfc88732896f
-DIST ntl-6.1.0.tar.gz 715439 SHA256 
e16c30ceef1d47e94b8a37a8c4a1fb58729b8f8449c648e2a96280a3eecf9b6f SHA512 
8c013bd4a250c8e29d57864585492be1f392c84356959d8100d5c45b420e411e5cd677524e2d50bbe265dda4c364185395780ba5d8490f6ac46da73c6a9728de
 WHIRLPOOL 
cf2a48cfe33cb58d8bda35d4a18d57a20ae23f2ba53f0f757d1bacc58ffa0bfdfd38363db38996e2e4069f5e3f2ad6a3ae9a859437a93404308512652190c765
 DIST ntl-9.3.0.tar.gz 888710 SHA256 
8f31508a9176b3fc843f08468b1632017f2450677bfd5147ead5136e0f24b68f SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
 WHIRLPOOL 
a1f7cf573d49a277f0b2f1d50d18e66ef83a54430c517fd5d3c75e800216b706e8b5ff10e6ed2dc02b6eb4f9290671b249c67f1937cced96ac987055aaa3ab99
 DIST ntl-9.6.4.tar.gz 915256 SHA256 
c4a1f015a879b4a20f6b76a98eb6033a7936b0ff3b3f3ca6159d7e7b2afd89eb SHA512 
ec8a4deb6996b31140edff978e07844ea8e30327491a6777d3982bffec01599b0cb5cc5dca297c8610ecb7ac9a4eae3407a59736fed840a2415a52a159370868
 WHIRLPOOL 
31ab69dc19b206868d1a9ac4f3d1cb52180980e751fe1431b738921b3816998797cf33a0ea9db8e1017e4face98efa897a4e42aa5be58365d1bc12e320a34354

diff --git a/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch 
b/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch
deleted file mode 100644
index fafa97356cd..000
--- a/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch
+++ /dev/null
@@ -1,53 +0,0 @@
 include/NTL/tools.h.orig   2008-05-06 22:14:06.0 +1200
-+++ include/NTL/tools.h2008-05-06 22:14:23.0 +1200
-@@ -249,6 +249,12 @@
- char IntValToChar(long a);
- 
- 
-+/*
-+  This function is not present in vanilla NTL
-+  See tools.c for documentation.
-+ */
-+void SetErrorCallbackFunction(void (*func)(const char *s, void *context), 
void *context);
-+
- 
- void Error(const char *s);
- 
 src/tools.c.orig   2008-05-06 22:15:32.0 +1200
-+++ src/tools.c2008-05-06 22:15:45.0 +1200
-@@ -8,8 +8,35 @@
- NTL_START_IMPL
- 
- 
-+/*
-+   The following code differs from vanilla NTL
-+
-+   We add a SetErrorCallbackFunction(). This sets a global callback function 
_function_,
-+   which gets called with parameter _context_ and an error message string 
whenever Error()
-+   gets called.
-+
-+   Note that if the custom error handler *returns*, then NTL will dump the 
error message
-+   back to stderr and abort() as it habitually does.
-+
-+   -- David Harvey (2008-04-12)
-+*/
-+
-+void (*ErrorCallbackFunction)(const char*, void*) = NULL;
-+void *ErrorCallbackContext = NULL;
-+
-+
-+void SetErrorCallbackFunction(void (*function)(const char*, void*), void 
*context)
-+{
-+   ErrorCallbackFunction = function;
-+   ErrorCallbackContext = context;
-+}
-+
-+
- void Error(const char *s)
- {
-+   if (ErrorCallbackFunction != NULL)
-+  ErrorCallbackFunction(s, ErrorCallbackContext);
-+
-cerr << s << "\n";
-abort();
- }

diff --git a/dev-libs/ntl/files/ntl-5.5.2-shared-r1.patch 
b/dev-libs/ntl/files/ntl-5.5.2-shared-r1.patch
deleted file mode 100644
index 1420f55f328..000
--- 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2017-07-20 Thread Sebastien Fabbro
commit: 472f9442ac2281e0e960bbeb05abcdf042242633
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Fri Jul 21 00:09:28 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Fri Jul 21 00:22:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472f9442

dev-libs/ntl: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-libs/ntl/Manifest  |  1 +
 dev-libs/ntl/ntl-10.5.0.ebuild | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index 78ef6917559..4e3d253ab81 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,3 +1,4 @@
+DIST ntl-10.5.0.tar.gz 1278729 SHA256 
b90b36c9dd8954c9bc54410b1d57c00be956ae1db5a062945822bbd7a86ab4d2 SHA512 
b299dfc29005079470972c2a9ca02acd0ebdbc31ff8923df02f3627dbc66daa0f527226972cef032e1e488c4272554634a96456e94653fdf8b01356160319aa0
 WHIRLPOOL 
270f76a0088c79b506a1e0bfa12cbe06419bb5c0421e7cdb9fcc3ec2bd6b22b4f4c2468bbe73001090db623e8a662d185e181f4390475513b32a388ecca7c3cc
 DIST ntl-5.5.2.tar.gz 707247 SHA256 
ef7fe7c8b60ec6e05b2a279caad0081263f7fb68b7360120846644cde726ff56 SHA512 
44892e00051ca743b1184c9ae30e62c8e2605edaa394358979ff990a535993a6f282d882871ca9ebb3c632971f806c41d9b8024c8fb2cc6fa0d22bc26c66db06
 WHIRLPOOL 
4587463c4b52be721a7feb164fab73341af97c6f451c0bb2fbf675503c8a5262a5d7615d628e97f082dde23ce49db0f0b314c625dae0526bb1abdfc88732896f
 DIST ntl-6.1.0.tar.gz 715439 SHA256 
e16c30ceef1d47e94b8a37a8c4a1fb58729b8f8449c648e2a96280a3eecf9b6f SHA512 
8c013bd4a250c8e29d57864585492be1f392c84356959d8100d5c45b420e411e5cd677524e2d50bbe265dda4c364185395780ba5d8490f6ac46da73c6a9728de
 WHIRLPOOL 
cf2a48cfe33cb58d8bda35d4a18d57a20ae23f2ba53f0f757d1bacc58ffa0bfdfd38363db38996e2e4069f5e3f2ad6a3ae9a859437a93404308512652190c765
 DIST ntl-9.3.0.tar.gz 888710 SHA256 
8f31508a9176b3fc843f08468b1632017f2450677bfd5147ead5136e0f24b68f SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
 WHIRLPOOL 
a1f7cf573d49a277f0b2f1d50d18e66ef83a54430c517fd5d3c75e800216b706e8b5ff10e6ed2dc02b6eb4f9290671b249c67f1937cced96ac987055aaa3ab99

diff --git a/dev-libs/ntl/ntl-10.5.0.ebuild b/dev-libs/ntl/ntl-10.5.0.ebuild
new file mode 100644
index 000..00821f04ef3
--- /dev/null
+++ b/dev-libs/ntl/ntl-10.5.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="High-performance and portable Number Theory C++ library"
+HOMEPAGE="http://shoup.net/ntl/;
+SRC_URI="http://www.shoup.net/ntl/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0/35"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos"
+IUSE="doc static-libs test threads bindist"
+
+RDEPEND="dev-libs/gmp:0=
+   >=dev-libs/gf2x-0.9"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+S="${WORKDIR}/${P}/src"
+
+pkg_setup() {
+   replace-flags -O[3-9] -O2
+}
+
+src_configure() {
+   # Currently the build system can build a static library or
+   # both static and shared libraries. But not only shared libraries.
+   perl DoConfig \
+   PREFIX="${EPREFIX}"/usr \
+   LIBDIR="${EPREFIX}"/usr/$(get_libdir) \
+   CXXFLAGS="${CXXFLAGS}" \
+   CPPFLAGS="${CPPFLAGS}" \
+   LDFLAGS="${LDFLAGS}" \
+   CXX="$(tc-getCXX)" \
+   AR="$(tc-getAR)" \
+   RANLIB="$(tc-getRANLIB)" \
+   SHARED=on \
+   NTL_GMP_LIP=on NTL_GF2X_LIB=on \
+   $(usex threads NTL_THREADS= NTL_THREADS= on off) \
+   $(usex bindist NATIVE= NATIVE= off on) \
+   || die "DoConfig failed"
+}
+
+src_install() {
+   default
+   if ! use static-libs; then
+   prune_libtool_files --all
+   rm -f "${ED}"/usr/$(get_libdir)/libntl.a
+   fi
+
+   cd ..
+   rm -rf "${ED}"/usr/share/doc/NTL
+   dodoc README
+   if use doc ; then
+   dodoc doc/*.txt
+   docinto html
+   dodoc doc/*.html doc/*.gif
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/files/, dev-libs/ntl/

2016-03-06 Thread David Seifert
commit: 3f736ff207646a3739b5824483164ef552e0a71c
Author: David Seifert  gentoo  org>
AuthorDate: Sat Mar  5 12:51:22 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Mar  5 17:29:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f736ff2

dev-libs/ntl: version bump to 9.6.4

* EAPI=6

Package-Manager: portage-2.2.27

 dev-libs/ntl/Manifest  |   1 +
 .../ntl/files/ntl-9.6.4-sanitize-makefile.patch| 160 +
 dev-libs/ntl/ntl-9.6.4.ebuild  |  85 +++
 3 files changed, 246 insertions(+)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index bb34f48..78ef691 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,3 +1,4 @@
 DIST ntl-5.5.2.tar.gz 707247 SHA256 
ef7fe7c8b60ec6e05b2a279caad0081263f7fb68b7360120846644cde726ff56 SHA512 
44892e00051ca743b1184c9ae30e62c8e2605edaa394358979ff990a535993a6f282d882871ca9ebb3c632971f806c41d9b8024c8fb2cc6fa0d22bc26c66db06
 WHIRLPOOL 
4587463c4b52be721a7feb164fab73341af97c6f451c0bb2fbf675503c8a5262a5d7615d628e97f082dde23ce49db0f0b314c625dae0526bb1abdfc88732896f
 DIST ntl-6.1.0.tar.gz 715439 SHA256 
e16c30ceef1d47e94b8a37a8c4a1fb58729b8f8449c648e2a96280a3eecf9b6f SHA512 
8c013bd4a250c8e29d57864585492be1f392c84356959d8100d5c45b420e411e5cd677524e2d50bbe265dda4c364185395780ba5d8490f6ac46da73c6a9728de
 WHIRLPOOL 
cf2a48cfe33cb58d8bda35d4a18d57a20ae23f2ba53f0f757d1bacc58ffa0bfdfd38363db38996e2e4069f5e3f2ad6a3ae9a859437a93404308512652190c765
 DIST ntl-9.3.0.tar.gz 888710 SHA256 
8f31508a9176b3fc843f08468b1632017f2450677bfd5147ead5136e0f24b68f SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
 WHIRLPOOL 
a1f7cf573d49a277f0b2f1d50d18e66ef83a54430c517fd5d3c75e800216b706e8b5ff10e6ed2dc02b6eb4f9290671b249c67f1937cced96ac987055aaa3ab99
+DIST ntl-9.6.4.tar.gz 915256 SHA256 
c4a1f015a879b4a20f6b76a98eb6033a7936b0ff3b3f3ca6159d7e7b2afd89eb SHA512 
ec8a4deb6996b31140edff978e07844ea8e30327491a6777d3982bffec01599b0cb5cc5dca297c8610ecb7ac9a4eae3407a59736fed840a2415a52a159370868
 WHIRLPOOL 
31ab69dc19b206868d1a9ac4f3d1cb52180980e751fe1431b738921b3816998797cf33a0ea9db8e1017e4face98efa897a4e42aa5be58365d1bc12e320a34354

diff --git a/dev-libs/ntl/files/ntl-9.6.4-sanitize-makefile.patch 
b/dev-libs/ntl/files/ntl-9.6.4-sanitize-makefile.patch
new file mode 100644
index 000..ed2e533
--- /dev/null
+++ b/dev-libs/ntl/files/ntl-9.6.4-sanitize-makefile.patch
@@ -0,0 +1,160 @@
+--- ntl-9.6.4/src/DoConfig
 ntl-9.6.4/src/DoConfig
+@@ -24,14 +24,16 @@
+ 
+ 'LDFLAGS' => '',
+ 'LDLIBS'  => '-lm',
++'PICFLAG' => '-fPIC',
+ 'CPPFLAGS'=> '',
+ 
+-'DEF_PREFIX'  => '/usr/local',
++'DEF_PREFIX'  => '/usr',
+ 
+ 'PREFIX'  => '$(DEF_PREFIX)',
+ 'LIBDIR'  => '$(PREFIX)/lib',
+ 'INCLUDEDIR'  => '$(PREFIX)/include',
+ 'DOCDIR'  => '$(PREFIX)/share/doc',
++'SHMAKE'  => 'non-gld',
+ 
+ 'GMP_PREFIX'  => '$(DEF_PREFIX)',
+ 'GMP_INCDIR'  => '$(GMP_PREFIX)/include',
+--- ntl-9.6.4/src/mfile
 ntl-9.6.4/src/mfile
+@@ -113,6 +113,18 @@
+ # Set to off if you want to bypass the wizard; otherwise, set to on.
+ 
+ 
++###
++#
++# New addition for shared library building. With gcc you need to
++# choose the Position Indepent Code flag. You have a choice of 
++# -fpic better code but in rare case not available (ppc)
++# -fPIC slightly slower code but guaranted to work anywhere.
++#
++###
++
++PICFLAG=@{PICFLAG}
++
++
+ #
+ #
+ #  That's it!  You can ignore everything else in this file!
+@@ -144,6 +156,8 @@
+ 
+ OBJ=$(O19)
+ 
++SHOBJ=$(subst .o,.lo,$(OBJ))
++
+ # library source files
+ 
+ 
+@@ -317,6 +331,7 @@
+ 
+ LINK = $(CXX) $(NTL_INCLUDE) $(CPPFLAGS) $(CXXAUTOFLAGS) $(CXXFLAGS) 
$(LDFLAGS)
+ 
++.SUFFIXES: .lo
+ 
+ 
+ # 'make all' does a complete make, including all setup.
+@@ -325,11 +340,11 @@
+ # again.
+ 
+ all:
+-  make setup1
+-  make setup2
+-  make setup3
+-  make setup4
+-  make ntl.a
++  ${MAKE} setup1
++  ${MAKE} setup2
++  ${MAKE} setup3
++  ${MAKE} setup4
++  ${MAKE} ntl.a
+   touch all
+ 
+ 
+@@ -378,16 +393,28 @@
+ lip.o:lip.c g_lip_impl.h c_lip_impl.h 
+   $(LCOMP) $(COMPILE) $(GMP_OPT_INCDIR) lip.c
+ 
++lip.lo:   lip.c g_lip_impl.h c_lip_impl.h 
++  $(LCOMP) $(COMPILE) $(PICFLAG) $(GMP_OPT_INCDIR) lip.c -o lip.lo
++
+ ctools.o: ctools.c
+   $(LCOMP) $(COMPILE) ctools.c
+ 
++ctools.lo:ctools.c
++  $(LCOMP) $(COMPILE) $(PICFLAG) ctools.c -o ctools.lo
++
+ 
+ GetTime.o: GetTime.c 
+   $(LCOMP) $(COMPILE) GetTime.c
+ 
++GetTime.lo: GetTime.c 
++  $(LCOMP) $(COMPILE) $(PICFLAG) GetTime.c -o GetTime.lo
++
+ GetPID.o: GetPID.c 
+   $(LCOMP) $(COMPILE) GetPID.c
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/files/, dev-libs/ntl/

2015-09-20 Thread Justin Lecher
commit: 532a9b6c9bdc1a4011d9733c679a5b67cd0fd5c1
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Sep 20 10:43:19 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Sep 20 10:43:19 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=532a9b6c

dev-libs/ntl: Clean old

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher  gentoo.org>

 dev-libs/ntl/Manifest |   1 -
 dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch |  53 
 dev-libs/ntl/files/ntl-5.5.2-shared.patch | 166 --
 dev-libs/ntl/files/ntl-5.5.2-singular.patch   |  12 --
 dev-libs/ntl/metadata.xml |   6 +-
 dev-libs/ntl/ntl-5.5.2.ebuild |  75 
 dev-libs/ntl/ntl-6.1.0.ebuild |  28 +++--
 7 files changed, 18 insertions(+), 323 deletions(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index bb34f48..a8c8131 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,3 +1,2 @@
-DIST ntl-5.5.2.tar.gz 707247 SHA256 
ef7fe7c8b60ec6e05b2a279caad0081263f7fb68b7360120846644cde726ff56 SHA512 
44892e00051ca743b1184c9ae30e62c8e2605edaa394358979ff990a535993a6f282d882871ca9ebb3c632971f806c41d9b8024c8fb2cc6fa0d22bc26c66db06
 WHIRLPOOL 
4587463c4b52be721a7feb164fab73341af97c6f451c0bb2fbf675503c8a5262a5d7615d628e97f082dde23ce49db0f0b314c625dae0526bb1abdfc88732896f
 DIST ntl-6.1.0.tar.gz 715439 SHA256 
e16c30ceef1d47e94b8a37a8c4a1fb58729b8f8449c648e2a96280a3eecf9b6f SHA512 
8c013bd4a250c8e29d57864585492be1f392c84356959d8100d5c45b420e411e5cd677524e2d50bbe265dda4c364185395780ba5d8490f6ac46da73c6a9728de
 WHIRLPOOL 
cf2a48cfe33cb58d8bda35d4a18d57a20ae23f2ba53f0f757d1bacc58ffa0bfdfd38363db38996e2e4069f5e3f2ad6a3ae9a859437a93404308512652190c765
 DIST ntl-9.3.0.tar.gz 888710 SHA256 
8f31508a9176b3fc843f08468b1632017f2450677bfd5147ead5136e0f24b68f SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
 WHIRLPOOL 
a1f7cf573d49a277f0b2f1d50d18e66ef83a54430c517fd5d3c75e800216b706e8b5ff10e6ed2dc02b6eb4f9290671b249c67f1937cced96ac987055aaa3ab99

diff --git a/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch 
b/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch
deleted file mode 100644
index fafa973..000
--- a/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch
+++ /dev/null
@@ -1,53 +0,0 @@
 include/NTL/tools.h.orig   2008-05-06 22:14:06.0 +1200
-+++ include/NTL/tools.h2008-05-06 22:14:23.0 +1200
-@@ -249,6 +249,12 @@
- char IntValToChar(long a);
- 
- 
-+/*
-+  This function is not present in vanilla NTL
-+  See tools.c for documentation.
-+ */
-+void SetErrorCallbackFunction(void (*func)(const char *s, void *context), 
void *context);
-+
- 
- void Error(const char *s);
- 
 src/tools.c.orig   2008-05-06 22:15:32.0 +1200
-+++ src/tools.c2008-05-06 22:15:45.0 +1200
-@@ -8,8 +8,35 @@
- NTL_START_IMPL
- 
- 
-+/*
-+   The following code differs from vanilla NTL
-+
-+   We add a SetErrorCallbackFunction(). This sets a global callback function 
_function_,
-+   which gets called with parameter _context_ and an error message string 
whenever Error()
-+   gets called.
-+
-+   Note that if the custom error handler *returns*, then NTL will dump the 
error message
-+   back to stderr and abort() as it habitually does.
-+
-+   -- David Harvey (2008-04-12)
-+*/
-+
-+void (*ErrorCallbackFunction)(const char*, void*) = NULL;
-+void *ErrorCallbackContext = NULL;
-+
-+
-+void SetErrorCallbackFunction(void (*function)(const char*, void*), void 
*context)
-+{
-+   ErrorCallbackFunction = function;
-+   ErrorCallbackContext = context;
-+}
-+
-+
- void Error(const char *s)
- {
-+   if (ErrorCallbackFunction != NULL)
-+  ErrorCallbackFunction(s, ErrorCallbackContext);
-+
-cerr << s << "\n";
-abort();
- }

diff --git a/dev-libs/ntl/files/ntl-5.5.2-shared.patch 
b/dev-libs/ntl/files/ntl-5.5.2-shared.patch
deleted file mode 100644
index 1ddd745..000
--- a/dev-libs/ntl/files/ntl-5.5.2-shared.patch
+++ /dev/null
@@ -1,166 +0,0 @@
 src/DoConfig.orig  2009-05-05 07:46:39.0 +0100
-+++ src/DoConfig   2009-08-10 19:24:43.0 +0100
-@@ -25,14 +25,16 @@
- 'LDFLAGS_CXX' => '$(LDFLAGS)',
- 'LDLIBS'  => '-lm',
- 'LDLIBS_CXX'  => '$(LDLIBS)',
-+'PICFLAG' => '-fPIC',
- 'CPPFLAGS'=> '',
- 
--'DEF_PREFIX'  => '/usr/local',
-+'DEF_PREFIX'  => '/usr',
- 
- 'PREFIX'  => '$(DEF_PREFIX)',
- 'LIBDIR'  => '$(PREFIX)/lib',
- 'INCLUDEDIR'  => '$(PREFIX)/include',
- 'DOCDIR'  => '$(PREFIX)/share/doc',
-+'SHMAKE'  => 'non-gld',
- 
- 'GMP_PREFIX'  => '$(DEF_PREFIX)',
- 'GMP_INCDIR'  => '$(GMP_PREFIX)/include',
-@@ -87,11 +89,6 @@
- 
- foreach $arg (@ARGV) {
- 
--   if ($arg =~ '-h|help|-help|--help') {
--  system("more ../doc/config.txt");
--  exit;
--   }
--
-if (($name, $val) = ($arg =~ /(.*?)=(.*)/)) {
-   
-   if 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/, dev-libs/ntl/files/

2015-09-20 Thread Justin Lecher
commit: fbec1fd4628a54d93cb2fdb98b548c83ec7ea751
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Sep 20 11:31:02 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Sep 20 11:31:51 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbec1fd4

Revert "dev-libs/ntl: Clean old"

This reverts commit 532a9b6c9bdc1a4011d9733c679a5b67cd0fd5c1.

Version still required

 dev-libs/ntl/Manifest  |   1 +
 dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch  |  53 +++
 dev-libs/ntl/files/ntl-5.5.2-shared.patch  | 166 +
 dev-libs/ntl/files/ntl-5.5.2-singular.patch|  12 ++
 dev-libs/ntl/metadata.xml  |   6 +-
 .../ntl/{ntl-6.1.0.ebuild => ntl-5.5.2.ebuild} |  38 +++--
 dev-libs/ntl/ntl-6.1.0.ebuild  |  28 ++--
 7 files changed, 266 insertions(+), 38 deletions(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index a8c8131..bb34f48 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,2 +1,3 @@
+DIST ntl-5.5.2.tar.gz 707247 SHA256 
ef7fe7c8b60ec6e05b2a279caad0081263f7fb68b7360120846644cde726ff56 SHA512 
44892e00051ca743b1184c9ae30e62c8e2605edaa394358979ff990a535993a6f282d882871ca9ebb3c632971f806c41d9b8024c8fb2cc6fa0d22bc26c66db06
 WHIRLPOOL 
4587463c4b52be721a7feb164fab73341af97c6f451c0bb2fbf675503c8a5262a5d7615d628e97f082dde23ce49db0f0b314c625dae0526bb1abdfc88732896f
 DIST ntl-6.1.0.tar.gz 715439 SHA256 
e16c30ceef1d47e94b8a37a8c4a1fb58729b8f8449c648e2a96280a3eecf9b6f SHA512 
8c013bd4a250c8e29d57864585492be1f392c84356959d8100d5c45b420e411e5cd677524e2d50bbe265dda4c364185395780ba5d8490f6ac46da73c6a9728de
 WHIRLPOOL 
cf2a48cfe33cb58d8bda35d4a18d57a20ae23f2ba53f0f757d1bacc58ffa0bfdfd38363db38996e2e4069f5e3f2ad6a3ae9a859437a93404308512652190c765
 DIST ntl-9.3.0.tar.gz 888710 SHA256 
8f31508a9176b3fc843f08468b1632017f2450677bfd5147ead5136e0f24b68f SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
 WHIRLPOOL 
a1f7cf573d49a277f0b2f1d50d18e66ef83a54430c517fd5d3c75e800216b706e8b5ff10e6ed2dc02b6eb4f9290671b249c67f1937cced96ac987055aaa3ab99

diff --git a/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch 
b/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch
new file mode 100644
index 000..fafa973
--- /dev/null
+++ b/dev-libs/ntl/files/ntl-5.5.2-sage-tools.patch
@@ -0,0 +1,53 @@
+--- include/NTL/tools.h.orig   2008-05-06 22:14:06.0 +1200
 include/NTL/tools.h2008-05-06 22:14:23.0 +1200
+@@ -249,6 +249,12 @@
+ char IntValToChar(long a);
+ 
+ 
++/*
++  This function is not present in vanilla NTL
++  See tools.c for documentation.
++ */
++void SetErrorCallbackFunction(void (*func)(const char *s, void *context), 
void *context);
++
+ 
+ void Error(const char *s);
+ 
+--- src/tools.c.orig   2008-05-06 22:15:32.0 +1200
 src/tools.c2008-05-06 22:15:45.0 +1200
+@@ -8,8 +8,35 @@
+ NTL_START_IMPL
+ 
+ 
++/*
++   The following code differs from vanilla NTL
++
++   We add a SetErrorCallbackFunction(). This sets a global callback function 
_function_,
++   which gets called with parameter _context_ and an error message string 
whenever Error()
++   gets called.
++
++   Note that if the custom error handler *returns*, then NTL will dump the 
error message
++   back to stderr and abort() as it habitually does.
++
++   -- David Harvey (2008-04-12)
++*/
++
++void (*ErrorCallbackFunction)(const char*, void*) = NULL;
++void *ErrorCallbackContext = NULL;
++
++
++void SetErrorCallbackFunction(void (*function)(const char*, void*), void 
*context)
++{
++   ErrorCallbackFunction = function;
++   ErrorCallbackContext = context;
++}
++
++
+ void Error(const char *s)
+ {
++   if (ErrorCallbackFunction != NULL)
++  ErrorCallbackFunction(s, ErrorCallbackContext);
++
+cerr << s << "\n";
+abort();
+ }

diff --git a/dev-libs/ntl/files/ntl-5.5.2-shared.patch 
b/dev-libs/ntl/files/ntl-5.5.2-shared.patch
new file mode 100644
index 000..1ddd745
--- /dev/null
+++ b/dev-libs/ntl/files/ntl-5.5.2-shared.patch
@@ -0,0 +1,166 @@
+--- src/DoConfig.orig  2009-05-05 07:46:39.0 +0100
 src/DoConfig   2009-08-10 19:24:43.0 +0100
+@@ -25,14 +25,16 @@
+ 'LDFLAGS_CXX' => '$(LDFLAGS)',
+ 'LDLIBS'  => '-lm',
+ 'LDLIBS_CXX'  => '$(LDLIBS)',
++'PICFLAG' => '-fPIC',
+ 'CPPFLAGS'=> '',
+ 
+-'DEF_PREFIX'  => '/usr/local',
++'DEF_PREFIX'  => '/usr',
+ 
+ 'PREFIX'  => '$(DEF_PREFIX)',
+ 'LIBDIR'  => '$(PREFIX)/lib',
+ 'INCLUDEDIR'  => '$(PREFIX)/include',
+ 'DOCDIR'  => '$(PREFIX)/share/doc',
++'SHMAKE'  => 'non-gld',
+ 
+ 'GMP_PREFIX'  => '$(DEF_PREFIX)',
+ 'GMP_INCDIR'  => '$(GMP_PREFIX)/include',
+@@ -87,11 +89,6 @@
+ 
+ foreach $arg (@ARGV) {
+ 
+-   if ($arg =~ '-h|help|-help|--help') {
+-  system("more ../doc/config.txt");
+-  exit;
+-   }
+-
+if (($name, $val) = ($arg =~ 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/

2015-08-26 Thread Agostino Sarubbo
commit: 6a578e328192c1d8eda1d9ce94cc7b8e63b87b85
Author: Agostino Sarubbo ago AT gentoo DOT org
AuthorDate: Wed Aug 26 11:00:06 2015 +
Commit: Agostino Sarubbo ago AT gentoo DOT org
CommitDate: Wed Aug 26 11:00:06 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a578e32

dev-libs/ntl: amd64 stable wrt bug #557196

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches=amd64

 dev-libs/ntl/ntl-9.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/ntl/ntl-9.3.0.ebuild b/dev-libs/ntl/ntl-9.3.0.ebuild
index 93a744b..632db28 100644
--- a/dev-libs/ntl/ntl-9.3.0.ebuild
+++ b/dev-libs/ntl/ntl-9.3.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI=http://www.shoup.net/ntl/${P}.tar.gz;
 
 LICENSE=GPL-2
 SLOT=0
-KEYWORDS=~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos 
~x64-macos
+KEYWORDS=amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos
 IUSE=doc static-libs test
 
 RDEPEND=dev-libs/gmp:=



[gentoo-commits] repo/gentoo:master commit in: dev-libs/ntl/, dev-libs/ntl/files/

2015-08-11 Thread Thomas Kahle
commit: 4505c68f5b9931562a484253d8b448d56330e883
Author: Thomas Kahle tomka AT gentoo DOT org
AuthorDate: Mon Aug 10 11:36:41 2015 +
Commit: Thomas Kahle tomka AT gentoo DOT org
CommitDate: Tue Aug 11 10:43:59 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4505c68f

dev-libs/ntl: Remove old

Package-Manager: portage-2.2.20

 dev-libs/ntl/Manifest  |   3 -
 .../ntl/files/ntl-8.1.2-sanitize-makefile.patch| 158 -
 dev-libs/ntl/ntl-6.0.0.ebuild  |  75 --
 dev-libs/ntl/ntl-8.1.2.ebuild  |  75 --
 dev-libs/ntl/ntl-9.0.2.ebuild  |  75 --
 5 files changed, 386 deletions(-)

diff --git a/dev-libs/ntl/Manifest b/dev-libs/ntl/Manifest
index 0a56760..bb34f48 100644
--- a/dev-libs/ntl/Manifest
+++ b/dev-libs/ntl/Manifest
@@ -1,6 +1,3 @@
 DIST ntl-5.5.2.tar.gz 707247 SHA256 
ef7fe7c8b60ec6e05b2a279caad0081263f7fb68b7360120846644cde726ff56 SHA512 
44892e00051ca743b1184c9ae30e62c8e2605edaa394358979ff990a535993a6f282d882871ca9ebb3c632971f806c41d9b8024c8fb2cc6fa0d22bc26c66db06
 WHIRLPOOL 
4587463c4b52be721a7feb164fab73341af97c6f451c0bb2fbf675503c8a5262a5d7615d628e97f082dde23ce49db0f0b314c625dae0526bb1abdfc88732896f
-DIST ntl-6.0.0.tar.gz 714741 SHA256 
9342fa7d83a0ee6748ebae683368250eff06b19d7df5dfb85bcba8a896c0a29b SHA512 
fa1f1745e75c7588ca5af437648ab0844281f5c6e6a22a3bcaf0409792f3d4c70f0b8050823d90d19673ebcecae18ce6d39e6c9b1fec9f2d79f87b788b58d261
 WHIRLPOOL 
ba8d7355639d54c6b95b66f648330876a892223c2232ddd5dd7097c53b783f01a26c5da01e72c6ad4527c3829b3c9e7123b58e63ecb8d22b4940f71a9b8a422d
 DIST ntl-6.1.0.tar.gz 715439 SHA256 
e16c30ceef1d47e94b8a37a8c4a1fb58729b8f8449c648e2a96280a3eecf9b6f SHA512 
8c013bd4a250c8e29d57864585492be1f392c84356959d8100d5c45b420e411e5cd677524e2d50bbe265dda4c364185395780ba5d8490f6ac46da73c6a9728de
 WHIRLPOOL 
cf2a48cfe33cb58d8bda35d4a18d57a20ae23f2ba53f0f757d1bacc58ffa0bfdfd38363db38996e2e4069f5e3f2ad6a3ae9a859437a93404308512652190c765
-DIST ntl-8.1.2.tar.gz 865458 SHA256 
35c71d63786a7d7aa60e70c838e662da771ff14c98d643213baeda09bcbbfab5 SHA512 
40a3e9f49c8b0f654668ac2bbd4dc18824ede22841ab6c809886a4abbf2d0ce9e7e544be62cc705c31c452cac0e29be9f93345fcf4bb6554badcf17134c32f69
 WHIRLPOOL 
88d675cfc7153abce8bf409236eea86dcc9e649bf0028b5265f033316db399339a01196274379eb16793bbe538f4fb4a80af2f4ce50b18416eb52058fb75e543
-DIST ntl-9.0.2.tar.gz 872258 SHA256 
9b961b5fef294784bd4ece994a8a623c90ae9f01231b269c390d44bb4be5e346 SHA512 
c720b8e8d36e078e8d4f6f053bccc352758bac71ef868579482f4c847084cb4498b62e40a43de1bd7bcc2357a58f728fa092caef6019ec98f24853046549ba00
 WHIRLPOOL 
b7cd955b7cd52252f1978aa85600105a21b3ecdc133b6af87ed171271f0a9c3144efa33325c2f1706efe059f0de4b198d713b69807314547e5c7f043bfa87294
 DIST ntl-9.3.0.tar.gz 888710 SHA256 
8f31508a9176b3fc843f08468b1632017f2450677bfd5147ead5136e0f24b68f SHA512 
dfb4ac7a66aaddcf5d0d0c9fcaff253b0196a9d9f727788127dd18e131528fe60dedf8bfb864503225fc5796987aec9c7019b74e0fc12cd12c20aa33a9cf9d7d
 WHIRLPOOL 
a1f7cf573d49a277f0b2f1d50d18e66ef83a54430c517fd5d3c75e800216b706e8b5ff10e6ed2dc02b6eb4f9290671b249c67f1937cced96ac987055aaa3ab99

diff --git a/dev-libs/ntl/files/ntl-8.1.2-sanitize-makefile.patch 
b/dev-libs/ntl/files/ntl-8.1.2-sanitize-makefile.patch
deleted file mode 100644
index a586887..000
--- a/dev-libs/ntl/files/ntl-8.1.2-sanitize-makefile.patch
+++ /dev/null
@@ -1,158 +0,0 @@
-diff -U 3 -dHrN ntl-8.1.2/src/DoConfig ntl-8.1.2-shared/src/DoConfig
 ntl-8.1.2/src/DoConfig 2015-01-31 14:07:38.0 +0100
-+++ ntl-8.1.2-shared/src/DoConfig  2015-03-26 10:23:41.117816775 +0100
-@@ -21,14 +21,16 @@
- 
- 'LDFLAGS' = '',
- 'LDLIBS'  = '-lm',
-+'PICFLAG' = '-fPIC',
- 'CPPFLAGS'= '',
- 
--'DEF_PREFIX'  = '/usr/local',
-+'DEF_PREFIX'  = '/usr',
- 
- 'PREFIX'  = '$(DEF_PREFIX)',
- 'LIBDIR'  = '$(PREFIX)/lib',
- 'INCLUDEDIR'  = '$(PREFIX)/include',
- 'DOCDIR'  = '$(PREFIX)/share/doc',
-+'SHMAKE'  = 'non-gld',
- 
- 'GMP_PREFIX'  = '$(DEF_PREFIX)',
- 'GMP_INCDIR'  = '$(GMP_PREFIX)/include',
-diff -U 3 -dHrN ntl-8.1.2/src/mfile ntl-8.1.2-shared/src/mfile
 ntl-8.1.2/src/mfile2015-01-31 14:07:38.0 +0100
-+++ ntl-8.1.2-shared/src/mfile 2015-03-26 10:56:50.277826975 +0100
-@@ -109,6 +109,16 @@
- WIZARD=@{WIZARD}
- # Set to off if you want to bypass the wizard; otherwise, set to on.
- 
-+###
-+#
-+# New addition for shared library building. With gcc you need to
-+# choose the Position Indepent Code flag. You have a choice of 
-+# -fpic better code but in rare case not available (ppc)
-+# -fPIC slightly slower code but guaranted to work anywhere.
-+#
-+###
-+
-+PICFLAG=@{PICFLAG}
- 
- #
- #
-@@ -141,6 +151,8 @@
- 
- OBJ=$(O19)
- 
-+SHOBJ=$(subst