mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-libs/openspecfun: drop 0.5.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST openspecfun-0.5.3.tar.gz 121156 BLAKE2B 4b1d883634524db9a5c1d5c2e291667264f3bc15c2b6cd1c335ef7a4748668091255c4940c54cea27ab0fd301e7c08156825bcdecfef71802b7d571d74af021e SHA512 503da7592b126cce9ecb8af5ce16c667a9b022676721063e5f551fb88c0955f465ed66df7728ed2391f068ea14b77414bfd9934c0ee38081d11b998826d6b88a
|
||||
DIST openspecfun-0.5.5.tar.gz 121025 BLAKE2B 72d92a676c90f24378f9902f76d59df47a403810b56d9a90bd39d6348082d34be59223b0f6b9ad00cd1ebdeb03001b31141134088d8e8164cf9a9c4fad239c78 SHA512 429c0ce47c3a3a044266fee0e285bd4e53e7433c83bf02b03fc4526b8d0e415295143693642a34cdf1c6b59aa86e76fd76c51ffc9440d0ba655c16a8a24a2a1b
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -35,9 +35,7 @@
|
||||
endif
|
||||
endif
|
||||
|
||||
-all: libopenspecfun.a libopenspecfun.$(OSF_MAJOR_MINOR_SHLIB_EXT)
|
||||
-libopenspecfun.a: $(OBJS)
|
||||
- $(AR) -rcs libopenspecfun.a $(OBJS)
|
||||
+all: libopenspecfun.$(OSF_MAJOR_MINOR_SHLIB_EXT)
|
||||
libopenspecfun.$(OSF_MAJOR_MINOR_SHLIB_EXT): $(OBJS)
|
||||
$(FC) -shared $(OBJS) $(LDFLAGS) $(LDFLAGS_add) -Wl,$(SONAME_FLAG),libopenspecfun.$(OSF_MAJOR_SHLIB_EXT) -o $@
|
||||
ifneq ($(OS),WINNT)
|
||||
@@ -50,7 +48,6 @@
|
||||
mkdir -p $(DESTDIR)$(libdir)
|
||||
mkdir -p $(DESTDIR)$(includedir)
|
||||
cp -a libopenspecfun.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/
|
||||
- cp -a libopenspecfun.a $(DESTDIR)$(libdir)/
|
||||
cp -a Faddeeva/Faddeeva.h $(DESTDIR)$(includedir)
|
||||
|
||||
clean:
|
||||
--- a/Make.inc
|
||||
+++ b/Make.inc
|
||||
@@ -14,42 +14,18 @@
|
||||
libdir = $(prefix)/lib
|
||||
includedir = $(prefix)/include
|
||||
|
||||
-FC = gfortran
|
||||
# CFLAGS_add and FFLAGS_add are flags that we always want to include
|
||||
# They are not overridable by the user, whereas CFLAGS and FFLAGS are
|
||||
# simply defaults and are overridable via environment variables or
|
||||
# `make CFLAGS="foo"` on the command line
|
||||
|
||||
-FFLAGS = -O3
|
||||
-CFLAGS = -std=c99 -Wall -O3
|
||||
-CPPFLAGS =
|
||||
+CFLAGS += -std=c99 -Wall
|
||||
|
||||
override FFLAGS_add =
|
||||
override CFLAGS_add =
|
||||
override CPPFLAGS_add =
|
||||
override LDFLAGS_add =
|
||||
|
||||
-USEGCC = 1
|
||||
-USECLANG = 0
|
||||
-
|
||||
-ifeq ($(OS), Darwin)
|
||||
-USEGCC = 0
|
||||
-USECLANG = 1
|
||||
-endif
|
||||
-
|
||||
-AR = ar
|
||||
-
|
||||
-ifeq ($(USECLANG),1)
|
||||
-USEGCC = 0
|
||||
-CC = clang
|
||||
-override CFLAGS_add += -fno-builtin
|
||||
-endif
|
||||
-
|
||||
-ifeq ($(USEGCC),1)
|
||||
-CC = gcc
|
||||
-override CFLAGS_add += -fno-gnu89-inline -std=c99
|
||||
-endif
|
||||
-
|
||||
ARCH := $(shell $(CC) -dumpmachine | sed "s/\([^-]*\).*$$/\1/")
|
||||
ifeq ($(ARCH),mingw32)
|
||||
$(error "the mingw32 compiler you are using fails the openblas testsuite. please see the Julia README.windows.md document for a replacement")
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit fortran-2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="A collection of special mathematical functions"
|
||||
HOMEPAGE="https://julialang.org"
|
||||
SRC_URI="https://github.com/JuliaLang/openspecfun/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="sci-libs/openlibm:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-Makefile.patch )
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
USE_OPENLIBM=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
DESTDIR="${D}" \
|
||||
install
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user