summaryrefslogtreecommitdiff
path: root/sci-libs/qd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
commitabaa75b10f899ada8dd05b23cc03205064394bc6 (patch)
treeeca3dd248b73b92013cba00a0fcc1edf2696e19a /sci-libs/qd
parent24fd814c326e282c4321965c31f341dad77e270d (diff)
gentoo resync : 22.01.2021
Diffstat (limited to 'sci-libs/qd')
-rw-r--r--sci-libs/qd/Manifest3
-rw-r--r--sci-libs/qd/files/qd-2.3.17-fix-build-system.patch179
-rw-r--r--sci-libs/qd/qd-2.3.17.ebuild51
3 files changed, 0 insertions, 233 deletions
diff --git a/sci-libs/qd/Manifest b/sci-libs/qd/Manifest
index 838902fb72b9..022876b7b83b 100644
--- a/sci-libs/qd/Manifest
+++ b/sci-libs/qd/Manifest
@@ -1,7 +1,4 @@
-AUX qd-2.3.17-fix-build-system.patch 6245 BLAKE2B 8ab1ddc9ee18ad3c434e20716f3cfaaaf1ea5bf79d413ae640f12339a53c8583f85d1c38c10aef9d9c7b07439710a6bb811db3411768c25780acd56518e31993 SHA512 e7db957d3c2927062637a80644bb5d41739fe5ac31d1a2beb6bee62873d348e2675d720ed5c0a5a0b7d621053e299701724becac5ffeff8efc3d8aa5de339e53
AUX qd-2.3.22-fix-build-system.patch 6617 BLAKE2B 6712f53a1b46a4d1f74d45380330ff5b15b7f2216f61245d467748557f607f670fbb0d977f4e6455c93c383ef6eb466e243177d29a3227ba89cf34ec836c54d2 SHA512 e70d4b87342840fb63cab04e63ceddb790d5509f65188894cbedb077042e2dbb6e7e18a108589fb77e8ec6253ba6b70680f637ce30c62575aa4a0eb7fbed36ce
-DIST qd-2.3.17.tar.gz 1445774 BLAKE2B f2af961db49747475a96dc0abecbcffcf88e43265b6ae21b4d6539ac7ce1086bb40e2cfd795dc9c78dd4b0f790a1a51c5b53d6bbfa224c5d3484d58a222c1872 SHA512 9c6f5dc8d5ad7c9c3d0ec626f7089eb760f31fb14b36daee9c6ba403ab146ff7ce99e01a8750960117a34d662c11620db2ec999e9cf44eb0f80e9224e365d496
DIST qd-2.3.22.tar.gz 1427456 BLAKE2B 628fb88b8cb105baa689380e4084cc2e327415674fcebca59721cc163e1043f39e48c1b2a2bdc68ba402d311f37e71c9e3c390a119515128e0296aa413c850d5 SHA512 2228b6ed019d1462939957d0d0f64ab2ecfa98ac5aefecf56e9dbcf0c6ed63bdd895b86019fbb0dfdbc22d047c4c2d4e42ff91ca18846b5c1bdaa1ad28a55c2b
-EBUILD qd-2.3.17.ebuild 1110 BLAKE2B 194c20aea3517889f8ead218c3ff715141a21203a7b8754c062cdb408877cc90fcc5fc3d82860b0d1e9bc8f91558acf1413c90c46150345f0b61bcb0db21ef3f SHA512 ff3d0b75725368e08bba5488ae35f1aeb190ba43a07053fc0bea13789c6725c99e34b90a0b87bbc350ba439f1f1db4a15ea82413f5dae52b105d05ad3f25cd4d
EBUILD qd-2.3.22.ebuild 1102 BLAKE2B aa7e8ba96034d3f1541be3bc4ce7cebb6c92af3107ad83fa55c30891280cd4842ae8eb31f2020af459fb5c71934d66f92fef83d4a08b586425b03f92e485af2c SHA512 6c8af78a2dc0c12957ff8e66745f31870c4eb43f831ca79fd96eed22d54f8b59c403156d14e6fe7d77fcfc51672e876a6e0e6ded9e1b6c95d8691a17d13efa9f
MISC metadata.xml 259 BLAKE2B dfc879984b6adce945d0e0a50f6ede2bca87147b9db99491359cdeccc2e74a20d56e14ae8903dbb80c94854f89bee539f14a4e3ce864204e277accf3f124a748 SHA512 19fb78cf4029c154954a40df40e28fc8d98a8b7e6b42f97259f664d44c29b284feffb9d073cadc7f90b5654a64b2466e186cb677d3a11830206f173eb9057706
diff --git a/sci-libs/qd/files/qd-2.3.17-fix-build-system.patch b/sci-libs/qd/files/qd-2.3.17-fix-build-system.patch
deleted file mode 100644
index 7fa3af79895d..000000000000
--- a/sci-libs/qd/files/qd-2.3.17-fix-build-system.patch
+++ /dev/null
@@ -1,179 +0,0 @@
-Fix build system
-* --enable options were misspecified
-* Targets were missing dependencies
-* Disable setting CXXFLAGS
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -18,14 +18,14 @@
-
- AC_CONFIG_AUX_DIR(config)
- AM_INIT_AUTOMAKE([nostdinc])
--AM_CONFIG_HEADER([config.h])
--AM_CONFIG_HEADER([include/qd/qd_config.h])
-+AC_CONFIG_HEADERS([config.h])
-+AC_CONFIG_HEADERS([include/qd/qd_config.h])
-
- AC_CANONICAL_HOST
-
- # Checks for arguments
- # --enable-inline
--AC_ARG_ENABLE(enable_inline, AC_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]]))
-+AC_ARG_ENABLE([inline], AS_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]]))
- AC_MSG_CHECKING([if commonly used function is to be inlined])
- if test "$enable_inline" != "no"; then
- enable_inline="yes"
-@@ -34,7 +34,7 @@
- AC_MSG_RESULT($enable_inline)
-
- # --enable-ieee-add
--AC_ARG_ENABLE(enable_ieee_add, AC_HELP_STRING(--enable-ieee-add, [use addition that satisfies IEEE-style error bound instead of Cray-style error bound. [[default=no]]]))
-+AC_ARG_ENABLE([ieee-add], AS_HELP_STRING(--enable-ieee-add, [use addition that satisfies IEEE-style error bound instead of Cray-style error bound. [[default=no]]]))
- AC_MSG_CHECKING([if addition with IEEE-style error bound is to be used])
- if test "$enable_ieee_add" = "yes"; then
- AC_DEFINE([QD_IEEE_ADD], [1], [Define to 1 to use additions with IEEE-style error bounds.])
-@@ -44,7 +44,7 @@
- AC_MSG_RESULT($enable_ieee_add)
-
- # --enable-sloppy-mul
--AC_ARG_ENABLE(enable_sloppy_mul, AC_HELP_STRING(--enable-sloppy-mul, [use fast but slightly inaccurate multiplication. [[default=yes]]]))
-+AC_ARG_ENABLE([sloppy-mul], AS_HELP_STRING(--enable-sloppy-mul, [use fast but slightly inaccurate multiplication. [[default=yes]]]))
- AC_MSG_CHECKING([if sloppy multiplication is to be used])
- if test "$enable_sloppy_mul" != "no"; then
- enable_sloppy_mul="yes"
-@@ -53,7 +53,7 @@
- AC_MSG_RESULT($enable_sloppy_mul)
-
- # --enable-sloppy-div
--AC_ARG_ENABLE(enable_sloppy_div, AC_HELP_STRING(--enable-sloppy-div, [use fast but slightly inaccurate division. [[default=yes]]]))
-+AC_ARG_ENABLE([sloppy-div], AS_HELP_STRING(--enable-sloppy-div, [use fast but slightly inaccurate division. [[default=yes]]]))
- AC_MSG_CHECKING([if sloppy division is to be used])
- if test "$enable_sloppy_div" != "no"; then
- enable_sloppy_div="yes"
-@@ -63,7 +63,7 @@
-
-
- # --enable-debug
--AC_ARG_ENABLE(enable_debug, AC_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]]))
-+AC_ARG_ENABLE([debug], AS_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]]))
- AC_MSG_CHECKING([if debugging code is to be enabled])
- if test "$enable_debug" = "yes"; then
- AC_DEFINE([QD_DEBUG], [1], [Define to 1 to enable debugging code.])
-@@ -73,7 +73,7 @@
- AC_MSG_RESULT($enable_debug)
-
- # --enable-warnings
--AC_ARG_ENABLE(enable_warnings, AC_HELP_STRING(--enable-warnings, [enable compiler warnings. [[default=no]]]))
-+AC_ARG_ENABLE([warnings], AS_HELP_STRING(--enable-warnings, [enable compiler warnings. [[default=no]]]))
- AC_MSG_CHECKING([if compiler warnings is to be enabled])
- if test "$enable_warnings" != "yes"; then
- enable_warnings="no"
-@@ -83,13 +83,6 @@
-
- # Checks for programs.
- AC_LANG(C++)
--if test "$CXXFLAGS" = ""; then
-- if test "$enable_debug" = "yes"; then
-- CXXFLAGS="-O"
-- else
-- CXXFLAGS="-O2"
-- fi
--fi
-
- # Set up compiler search list. DUe to possible case insensitive filesystems,
- # Cygwin and Apple systems sometimes gets confused between cc and CC.
-@@ -106,50 +99,10 @@
- fi
- AC_PROG_CC
-
--
--CXX_PROG_NAME=`basename $CXX`
--case $host in
-- powerpc*-*-*)
-- case "$CXX_PROG_NAME" in
-- xlC*)
-- REQ_CXXFLAGS="$REQ_CXXFLAGS -qstrict"
-- ;;
-- esac
-- ;;
-- i?86-*-* | k?*-*-* | athlon-*-* | ia64-*-* | x86_64-*-*)
-- case "$CXX_PROG_NAME" in
-- icc|icpc|ecc)
-- REQ_CXXFLAGS="$REQ_CXXFLAGS -mp"
-- if test "$enable_warnings" = "yes"; then
-- CXXFLAGS="$CXXFLAGS -wd1572 -wd981 -wd1418 -wd1419"
-- fi
-- ;;
-- esac
-- ;;
-- alpha*-*-*)
-- case "$CXX_PROG_NAME" in
-- cxx)
-- CXXFLAGS="$CXXFLAGS -std strict_ansi -tweak"
-- ;;
-- esac
-- ;;
--esac
--
--AC_SUBST(REQ_CXXFLAGS)
--CXXFLAGS="$CXXFLAGS $REQ_CXXFLAGS"
--
--if test "$enable_warnings" = "yes"; then
-- if test "$GCC" = "yes"; then
-- CXXFLAGS="$CXXFLAGS -Wall"
-- fi
--fi
--
--if test "$enable_debug" = "yes"; then
-- CXXFLAGS="$CXXFLAGS -g"
--fi
-+CXXFLAGS="${CXXFLAGS} -Wall"
-
- # --enable-fma
--AC_ARG_ENABLE(enable_fma, AC_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,ia64,c99,ibm,compiler). Use this option with care. [[default=auto]]]))
-+AC_ARG_ENABLE([fma], AS_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,ia64,c99,ibm,compiler). Use this option with care. [[default=auto]]]))
- if test "x$enable_fma" = "x"; then
- enable_fma="auto"
- fi
-@@ -248,7 +201,7 @@
- FCFLAGS="-O2"
- fi
- fi
--AC_ARG_ENABLE(enable_fortran, AC_HELP_STRING(--enable-fortran, [build Fortran 77/90 interfaces [[default=auto]]]))
-+AC_ARG_ENABLE([fortran], AS_HELP_STRING(--enable-fortran, [build Fortran 77/90 interfaces [[default=auto]]]))
- if test "$enable_fortran" != "no"; then
- AC_LANG_PUSH(Fortran)
- AC_PROG_FC([xlf95 ifort pathf95 f95 gfortran g95 pgf95 lf95 fort ifc efc pathf90 xlf90 pgf90 epcf90 xlf f90])
-@@ -312,8 +265,7 @@
- AC_CHECK_LIB(m,sqrt)
-
- # libtool stuff
--AC_DISABLE_SHARED
--AC_PROG_LIBTOOL
-+LT_INIT
-
- # Output
- AC_CONFIG_FILES([Makefile config/Makefile src/Makefile include/Makefile
---- a/fortran/Makefile.am
-+++ b/fortran/Makefile.am
-@@ -16,7 +16,9 @@
-
- lib_LTLIBRARIES = libqdmod.la libqd_f_main.la
- libqdmod_la_SOURCES = ddext.f ddmod.f qdext.f qdmod.f f_dd.cpp f_qd.cpp
-+libqdmod_la_LIBADD = $(top_builddir)/src/libqd.la $(FCLIBS)
- libqd_f_main_la_SOURCES = main.cpp
-+libqd_f_main_la_LIBADD = $(top_builddir)/src/libqd.la libqdmod.la $(FCLIBS)
- ddmod.lo: $(DDEXT) ddext.lo
- qdmod.lo: ddmod.lo $(DDMOD) qdext.lo
- $(QDMOD): qdmod.lo $(DDMOD)
---- a/qd-config.in
-+++ b/qd-config.in
-@@ -14,7 +14,7 @@
- build_CXXFLAGS="@CXXFLAGS@"
- build_LDFLAGS="@LDFLAGS@"
- CXX="@CXX@"
--CXXFLAGS="-I$includedir @REQ_CXXFLAGS@"
-+CXXFLAGS="-I$includedir"
- FC="@FC@"
-
- LDFLAGS="-L$libdir -lqd @LIBS@"
diff --git a/sci-libs/qd/qd-2.3.17.ebuild b/sci-libs/qd/qd-2.3.17.ebuild
deleted file mode 100644
index 2e7467e99c79..000000000000
--- a/sci-libs/qd/qd-2.3.17.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED=fortran
-
-inherit autotools fortran-2
-
-DESCRIPTION="Quad-double and double-double float arithmetics"
-HOMEPAGE="https://www.davidhbailey.com/dhbsoftware/"
-SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran static-libs"
-
-PATCHES=( "${FILESDIR}"/${PN}-2.3.17-fix-build-system.patch )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-ieee-add \
- --disable-sloppy-mul \
- --disable-sloppy-div \
- --enable-inline \
- --enable-shared \
- $(use_enable static-libs static) \
- $(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma) \
- $(use_enable fortran)
-}
-
-src_install() {
- default
-
- dosym qd_real.h /usr/include/qd/qd.h
- dosym dd_real.h /usr/include/qd/dd.h
-
- if ! use doc; then
- rm "${ED%/}"/usr/share/doc/${PF}/*.pdf || die
- fi
-
- if ! use static-libs; then
- find "${D}" -name '*.la' -delete || die
- fi
-}