In lieu of a licence: Fonts in this site are offered free for any use; they may be opened, edited, modified, regenerated, posted, packaged and redistributed.
+
+
+ You can’t perform that action at this time.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ You signed in with another tab or window. Reload to refresh your session.
+ You signed out in another tab or window. Reload to refresh your session.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/media-fonts/symbola/Manifest b/media-fonts/symbola/Manifest
new file mode 100644
index 0000000000..24c5307ec8
--- /dev/null
+++ b/media-fonts/symbola/Manifest
@@ -0,0 +1,2 @@
+DIST symbola-7.17.pdf 95746 BLAKE2B 970a7dfae651a171d37b0ef8f78212985ea1bc974ebc765ed4b473af27ba9f7a41531b011c0e58e70f7696443a1db3e66d9876196a056f2769d58f3d9f0f15c8 SHA512 57fc7ad4d32a9ab0eb16cf7b442ad3c5bcfa56ac949c1554a8910a26e6287e6c4a8f192a1d08066cc5a5ffb28b49c2377b7487246a3362377d96fa8588a66116
+DIST symbola-7.17.zip 2665086 BLAKE2B 6b8b9fce7268cf24e6ff958e03ae8e034eb2817b362f940f0a9408d1b3655a7549513fc6a0e8c2c0d75016508bdf671d5319f5a2a21428f64d075fe361e86b1a SHA512 e871ba54d558dd9150dd8f6a82f2fe4b1497b356d56440ada323f41bc8a1a21794476a8b69cf1759f21e3c99083ae056a1dcdcce0026b1f76847f2b8a71c2e93
diff --git a/media-fonts/symbola/metadata.xml b/media-fonts/symbola/metadata.xml
new file mode 100644
index 0000000000..6c0bdfd682
--- /dev/null
+++ b/media-fonts/symbola/metadata.xml
@@ -0,0 +1,8 @@
+
+
+
+
+ lssndrbarbieri@gmail.com
+ Alessandro Barbieri
+
+
diff --git a/media-fonts/symbola/symbola-7.17.ebuild b/media-fonts/symbola/symbola-7.17.ebuild
new file mode 100644
index 0000000000..ff7724dd34
--- /dev/null
+++ b/media-fonts/symbola/symbola-7.17.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PN="${PN^}"
+
+inherit font
+
+DESCRIPTION="Unicode font for Latin, IPA Extensions, Greek, Cyrillic and many Symbol Blocks"
+HOMEPAGE="https://web.archive.org/web/20140913154759/http://users.teilar.gr/~g1951d"
+SRC_URI="
+https://web.archive.org/web/20140913154759if_/http://users.teilar.gr/~g1951d/Symbola.zip -> ${P}.zip
+https://web.archive.org/web/20140913154759if_/http://users.teilar.gr/~g1951d/Symbola.pdf -> ${P}.pdf
+"
+LICENSE="Unicode_Fonts_for_Ancient_Scripts"
+SLOT="0"
+KEYWORDS="~amd64"
+BDEPEND="app-arch/unzip"
+DOCS=( "${DISTDIR}/${P}.pdf" "${MY_PN}.docx" )
+HTML_DOCS=( "${MY_PN}.htm" )
+S="${WORKDIR}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
diff --git a/net-im/biboumi/Manifest b/net-im/biboumi/Manifest
index 7da872e6b4..cd0fc71358 100644
--- a/net-im/biboumi/Manifest
+++ b/net-im/biboumi/Manifest
@@ -1 +1,2 @@
DIST biboumi-8.4.tar.xz 142576 BLAKE2B 3be5f8caf406c480a2750d76eacfe9191bccd8bd0fc2ba0ffe6352bf6f6527ab60f16eb25c9820c063af6c9ff4f1b125eb8d51d53bae4392a0d276e7ad488087 SHA512 69f7a47aaf2729a6bffb047201305cef4b87da952aa103d82e715585bf7b2e97fca8159ced1d74c4b01508c874c0db274d7b8349d1579ee3e69fc0ced2c260c2
+DIST biboumi-9.0_pre20200419.tar.bz2 150555 BLAKE2B 6c73abcd62c7448cfc990c7228b37c0eda57d05ee987ef5c9661ed2bf8b8376e253e9507c03151d7334b5bff7c8e6807188e5e806473deb79d96fb81212cfb1f SHA512 b86485c0aae5cca6b5909eec2159c9b52069aade3e399721826c02f297b6f3d57e0ddcab9df4f6aa32b0219ccfbf1c7c63c1f51e4b8ab051b6d1f4dbbb34789e
diff --git a/net-im/biboumi/biboumi-9.0_pre20200419.ebuild b/net-im/biboumi/biboumi-9.0_pre20200419.ebuild
new file mode 100644
index 0000000000..3394340caf
--- /dev/null
+++ b/net-im/biboumi/biboumi-9.0_pre20200419.ebuild
@@ -0,0 +1,99 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake fcaps
+
+MY_COMMIT="2ef41e1afca824acc0cd0ac9a714016459a24d25"
+
+DESCRIPTION="XMPP gateway to IRC"
+HOMEPAGE="https://biboumi.louiz.org/"
+SRC_URI="https://lab.louiz.org/louiz/biboumi/-/archive/${MY_COMMIT}/biboumi-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+idn logrotate postgres +sqlite +ssl systemd udns"
+
+DEPEND="
+ dev-libs/expat
+ virtual/libiconv
+ sys-apps/util-linux
+ sqlite? ( dev-db/sqlite )
+ postgres? ( dev-db/postgresql:* )
+ idn? ( net-dns/libidn )
+ udns? ( net-libs/udns )
+ ssl? ( dev-libs/botan:2 )
+ !ssl? ( dev-libs/libgcrypt )
+ systemd? ( sys-apps/systemd )
+"
+BDEPEND="dev-python/sphinx"
+RDEPEND="
+ ${DEPEND}
+ acct-user/biboumi"
+
+S="${WORKDIR}/${PN}-${MY_COMMIT}"
+
+DOCS=( README.rst CHANGELOG.rst doc/user.rst )
+
+# Allow biboumi to run an identd on port 113.
+FILECAPS=( cap_net_bind_service+ep usr/bin/biboumi )
+
+src_prepare() {
+ cmake_src_prepare
+
+ if ! use systemd; then # Don't install biboumi.service.
+ sed -i '/DESTINATION lib\/systemd\/system/d' CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_BOTAN="$(usex ssl)"
+ -DWITH_LIBIDN="$(usex idn)"
+ -DWITH_SYSTEMD="$(usex systemd)"
+ -DWITH_UDNS="$(usex udns)"
+ -DWITH_SQLITE3="$(usex sqlite)"
+ -DWITH_POSTGRESQL="$(usex postgres)"
+
+ -DWITHOUT_SYSTEMD="$(usex systemd no yes)"
+ -DWITHOUT_UDNS="$(usex udns no yes)"
+ -DWITHOUT_POSTGRESQL="$(usex postgres no yes)"
+ ) # The WITHOUT_* is really needed.
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+
+ cmake_build man
+}
+
+src_install() {
+ cmake_src_install
+
+ if ! use systemd; then
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+ fi
+
+ if use logrotate; then
+ insinto etc/logrotate.d
+ if use systemd; then
+ newins "${FILESDIR}/${PN}.logrotate.systemd" "${PN}"
+ else
+ newins "${FILESDIR}/${PN}.logrotate.openrc" "${PN}"
+ fi
+ fi
+
+ diropts --owner=biboumi --group=biboumi --mode=750
+ if use sqlite; then
+ keepdir var/lib/biboumi
+ fi
+ keepdir var/log/biboumi
+
+ insinto etc/biboumi
+ insopts --group=biboumi --mode=640
+ newins conf/biboumi.cfg biboumi.cfg.example
+}
diff --git a/profiles/desc/geoids_datasets.desc b/profiles/desc/geoids_datasets.desc
deleted file mode 100644
index 48dd40d397..0000000000
--- a/profiles/desc/geoids_datasets.desc
+++ /dev/null
@@ -1,12 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors.
-# Distributed under the terms of the GNU General Public License v2
-
-# This file contains descriptions of GEOIDS_DATASETS USE_EXPAND flags.
-
-egm84-30 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 30' grid.
-egm84-15 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 15' grid.
-egm96-15 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 15' grid.
-egm96-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 5' grid.
-egm2008-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 5' grid.
-egm2008-2-5 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 2.5' grid.
-egm2008-1 - http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 1' grid.
diff --git a/profiles/desc/gravity_models.desc b/profiles/desc/gravity_models.desc
deleted file mode 100644
index 6db958eee9..0000000000
--- a/profiles/desc/gravity_models.desc
+++ /dev/null
@@ -1,9 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors.
-# Distributed under the terms of the GNU General Public License v2
-
-# This file contains descriptions of GRAVITY_MODELS USE_EXPAND flags.
-
-egm84 - the Earth Gravity Model 1984, which includes terms up to degree 180.
-egm96 - the Earth Gravity Model 1996, which includes terms up to degree 360.
-egm2008 - the Earth Gravity Model 2008, which includes terms up to degree 2190.
-wgs84 - the WGS84 Reference Ellipsoid. This is just reproduces the normal gravitational field for the reference ellipsoid. This includes the zonal coefficients up to order 20.
diff --git a/profiles/desc/magnetic_models.desc b/profiles/desc/magnetic_models.desc
deleted file mode 100644
index b2dece5e0c..0000000000
--- a/profiles/desc/magnetic_models.desc
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors.
-# Distributed under the terms of the GNU General Public License v2
-
-# This file contains descriptions of MAGNETIC_MODELS USE_EXPAND flags.
-
-wmm2010 - the World Magnetic Model 2010, which approximates the main magnetic field for the period 2010–2015.
-wmm2020 - the World Magnetic Model 2020, which approximates the main magnetic field for the period 2020–2025.
-wmm2015v2 - the World Magnetic Model 2015, which approximates the main magnetic field for the period 2015–2020.
-igrf11 - the International Geomagnetic Reference Field (11th generation), which approximates the main magnetic field for the period 1900–2015.
-igrf12 - the International Geomagnetic Reference Field (12th generation), which approximates the main magnetic field for the period 1900–2020.
-emm2010 - the Enhanced Magnetic Model 2010, which approximates the main and crustal magnetic fields for the period 2010–2015.
-emm2015 - the Enhanced Magnetic Model 2015, which approximates the main and crustal magnetic fields for the period 2000–2020.
-emm2017 - the Enhanced Magnetic Model 2017, which approximates the main and crustal magnetic fields for the period 2000–2022.
diff --git a/profiles/desc/precision.desc b/profiles/desc/precision.desc
deleted file mode 100644
index 7cc4b6ce17..0000000000
--- a/profiles/desc/precision.desc
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors.
-# Distributed under the terms of the GNU General Public License v2
-
-# This file contains descriptions of PRECISION USE_EXPAND flags.
-
-arbitrary - floating point arbitrary precision.
-double - floating point 53-bit precision.
-quad - floating point 113-bit precision.
-long-double - floating point 64-bit precision.
-single - floating point 24-bit precision.
diff --git a/profiles/license_groups b/profiles/license_groups
index fb2b520aab..976b1bdc11 100644
--- a/profiles/license_groups
+++ b/profiles/license_groups
@@ -1,6 +1,6 @@
FSF-APPROVED EUPL-1.2
OSI-APPROVED EUPL-1.2
-MISC-FREE noweb i3lock-color droidcam
+MISC-FREE Unicode_Fonts_for_Ancient_Scripts droidcam i3lock-color noweb
FREE-SOFTWARE @FSF-APPROVED @OSI-APPROVED @MISC-FREE
FREE @FREE-SOFTWARE
DFSG @FREE lablgtk-examples meschach VOSTROM
diff --git a/sci-geosciences/geographiclib/metadata.xml b/sci-geosciences/geographiclib/metadata.xml
index 981bcd1d1e..c04b45db25 100644
--- a/sci-geosciences/geographiclib/metadata.xml
+++ b/sci-geosciences/geographiclib/metadata.xml
@@ -3,9 +3,14 @@
lssndrbarbieri@gmail.com
- Alessandro Barbieri
+ Alessandro Barbieri
+
+ charles@karney.com
+ Charles Karney
+
+ https://geographiclib.sourceforge.io/htmlhttps://sourceforge.net/p/geographiclib/bugs/geographiclib
@@ -14,6 +19,30 @@
Install the gravity modelsInstall the geoid datasetsInstall the magnetic field models
+ http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 30' grid
+ http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html 15' grid
+ http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 15' grid
+ http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html 5' grid
+ http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 5' grid
+ http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 2.5' grid
+ http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 1' grid
+ the Earth Gravity Model 1984, which includes terms up to degree 180
+ the Earth Gravity Model 1996, which includes terms up to degree 360
+ the Earth Gravity Model 2008, which includes terms up to degree 2190
+ the WGS84 Reference Ellipsoid. This is just reproduces the normal gravitational field for the reference ellipsoid. This includes the zonal coefficients up to order 20.
+ the World Magnetic Model 2010, which approximates the main magnetic field for the period 2010–2015.
+ the World Magnetic Model 2020, which approximates the main magnetic field for the period 2020–2025.
+ the World Magnetic Model 2015, which approximates the main magnetic field for the period 2015–2020.
+ the International Geomagnetic Reference Field (11th generation), which approximates the main magnetic field for the period 1900–2015.
+ the International Geomagnetic Reference Field (12th generation), which approximates the main magnetic field for the period 1900–2020.
+ the Enhanced Magnetic Model 2010, which approximates the main and crustal magnetic fields for the period 2010–2015.
+ the Enhanced Magnetic Model 2015, which approximates the main and crustal magnetic fields for the period 2000–2020.
+ the Enhanced Magnetic Model 2017, which approximates the main and crustal magnetic fields for the period 2000–2022.
+ floating point arbitrary precision
+ floating point 53-bit precision
+ floating point 113-bit precision
+ floating point 64-bit precision
+ floating point 24-bit precision
GeographicLib is a small set of C++ classes for converting between geographic, UTM, UPS, MGRS, and geocentric coordinates, for gravity (e.g., EGM2008), geoid, and geomagnetic field (e.g., WMM2010) calculations, and for solving geodesic problems.
diff --git a/sci-libs/jdqz/files/makefile.patch b/sci-libs/jdqz/files/makefile.patch
new file mode 100644
index 0000000000..626af346d1
--- /dev/null
+++ b/sci-libs/jdqz/files/makefile.patch
@@ -0,0 +1,72 @@
+diff -ur a/jdlib/Makefile b/jdlib/Makefile
+--- a/jdlib/Makefile 1996-08-23 10:50:41.000000000 +0200
++++ b/jdlib/Makefile 2020-04-28 20:06:19.373359811 +0200
+@@ -2,21 +2,18 @@
+ # Coded by Diederik R. Fokkema
+ #
+ # $Id$
+-#
++#
+ #
+
+ export SHELL=/bin/sh
+-export FC = f77
+-export FFLAGS = -u -O
+
+-LIB = libjdqz.a
++LIB = libjdqz.so.0
++SOURCES = $(wildcard *.f)
++OBJS = $(SOURCES:.f=.o)
+
+-OBJS = $(patsubst %.f,%.o,$(wildcard *.f))
++.PHONY: all
++all: ${LIB}
+
+-$(LIB): $(LIB)($(OBJS))
+- ranlib $@
++$(LIB): $(OBJS)
++ $(FC) -fPIC ${FCFLAGS} $(OBJS) -o $@ ${LDFLAGS} -shared -Wl,-soname,libjdqz.so.0
+
+-$(LIB)(jdqz.o): jdqz.f
+- $(FC) -u -O1 -c jdqz.f
+- $(AR) rv $(LIB) jdqz.o
+- -rm jdqz.o
+diff -ur a/jdtest/Makefile b/jdtest/Makefile
+--- a/jdtest/Makefile 1996-09-02 10:13:34.000000000 +0200
++++ b/jdtest/Makefile 2020-04-28 20:12:09.021605638 +0200
+@@ -1,13 +1,10 @@
+-FC = f77
+-FFLAGS = -u -O
+-
+ LIBPATH = -L../jdlib
+-LIBS = -ljdqz -llapack -lblas
++LIBS = -ljdqz
+ SUBDIRS = ../jdlib
+ OBJ = example.o
+
+ all: $(OBJ)
+- $(FC) $(LDFLAGS) -o example $(OBJ) $(LIBPATH) $(LIBS)
++ $(FC) -fPIE $(FCFLAGS) $(LDFLAGS) -o example $(OBJ) $(LIBPATH) $(LIBS)
+
+ clean:
+ -rm -f example
+diff -ur a/Makefile b/Makefile
+--- a/Makefile 1996-08-23 10:47:42.000000000 +0200
++++ b/Makefile 2020-04-28 20:13:35.101159047 +0200
+@@ -1,14 +1,11 @@
+-FC = f77
+-FFLAGS = -u -O
+-
+ LIBPATH = -L../jdlib
+-LIBS = -ljdqr -llapack -lblas
++LIBS = -ljdqr
+ SUBDIRS = jdlib
+ TEST = jdtest
+
+ all: libs jdqr
+
+-jdqr:
++jdqr:
+ @for i in $(TEST); do (cd $$i; $(MAKE)); done
+
+ libs:
diff --git a/sci-libs/jdqz/jdqz-0_pre19971107-r2.ebuild b/sci-libs/jdqz/jdqz-0_pre19971107-r2.ebuild
new file mode 100644
index 0000000000..ff20b56ebc
--- /dev/null
+++ b/sci-libs/jdqz/jdqz-0_pre19971107-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="Jacobi-Davidson type method for the generalized standard eigenvalue problem."
+HOMEPAGE="https://www.win.tue.nl/casa/research/scientificcomputing/topics/jd/software.html"
+SRC_URI="https://www.win.tue.nl/casa/research/scientificcomputing/topics/jd/${PN}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+# virtual/lapack does not pull in [deprecated] so we have to deal with this mess like this until it does
+DEPEND="
+ virtual/blas
+ virtual/lapack
+ || ( sci-libs/openblas sci-libs/lapack[deprecated] )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="doc? ( dev-texlive/texlive-latex )"
+
+PATCHES=( "${FILESDIR}/makefile.patch" )
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ libs="$($(tc-getPKG_CONFIG) --libs blas)"
+ libs+=" $($(tc-getPKG_CONFIG) --libs lapack)"
+ append-fflags "${libs}"
+ default
+}
+
+src_compile() {
+ if use doc; then
+ pdflatex manual.tex || die
+ fi
+
+ cd "jdlib" || die
+ emake
+ ln -s libjdqz.so.0 libjdqz.so || die
+}
+
+src_test() {
+ cd "jdtest" || die
+ emake
+ cd ".." || die
+ LD_LIBRARY_PATH="./jdlib" ./jdtest/example || die
+}
+
+src_install() {
+ dolib.so jdlib/libjdqz.so
+ dolib.so jdlib/libjdqz.so.0
+
+ use doc && dodoc manual.pdf
+}
diff --git a/sci-libs/saclib/files/makefile.patch b/sci-libs/saclib/files/makefile.patch
new file mode 100644
index 0000000000..bc49d0b629
--- /dev/null
+++ b/sci-libs/saclib/files/makefile.patch
@@ -0,0 +1,150 @@
+diff -ur a/bin/mklib b/bin/mklib
+--- a/bin/mklib 2018-01-30 22:09:32.000000000 +0100
++++ b/bin/mklib 2020-04-28 21:03:24.823472623 +0200
+@@ -2,31 +2,17 @@
+
+ # USAGE:
+ # mklib
+-#
+-# FUNCTION
+-# Creates ".a" files in "$saclib/lib/" depending on the argument:
+-# - 'std' causes a standard library to be built. The library file will have
+-# the name "saclib.a" and the corresponding object files are in
+-# "saclib/lib/obj".
+-# - 'deb' switches on the '-g' option of the compiler which includes
+-# debugging information in the object files. The library file will have
+-# the name "saclibd.a" and the corresponding object files are in
+-# "saclib/lib/objd".
+-# - 'opt' switches on the '-O' option which produces optimized code. The
+-# library file will have the name "saclibo.a" and the corresponding object
+-# files are in "saclib/lib/objo".
+-# - 'all' builds all three types of libraries.
+
+-if [ $# -lt 1 ]
++if [ $# -lt 1 ]
+ then
+ echo "USAGE:"
+ echo " mklib "
+ exit
+ fi
+
+-if [ $1 = "clean" ]
++if [ $1 = "clean" ]
+ then
+- ### remove .o and .a and makefiles
++ ### remove .o and .so and makefiles
+ echo "Removing object files, libraries and makefiles ..."
+ pushd >/dev/null $saclib/lib/objo
+ 'rm' -f *
+@@ -35,7 +21,7 @@
+ 'rm' -f *
+ popd >/dev/null
+ pushd >/dev/null $saclib/lib/
+- 'rm' -f *.a
++ 'rm' -f *.so
+ popd >/dev/null
+ ### do sysdep cleanup
+ echo "Removing system-dependent files ..."
+@@ -57,12 +43,6 @@
+ exit
+ fi
+
+-
+-if [ ! -n "${CC+1}" ]
+-then
+- CC=cc
+-fi
+-
+ echo "Compiling with" $CC
+
+ if [ $1 = "std" ]
+@@ -70,15 +50,15 @@
+ echo "This option no longer exists!"
+ elif [ $1 = "deb" ]; then
+ pushd >/dev/null $saclib/lib/objd
+- make CC=$CC "SACFLAG=-g -DNO_SACLIB_MACROS" EXTENSION=d
++ make CC=$CC "SACFLAG=-fPIC ${CFLAGS} -DNO_SACLIB_MACROS" EXTENSION=d
+ popd >/dev/null
+ elif [ $1 = "opt" ]; then
+ pushd >/dev/null $saclib/lib/objo
+- make CC=$CC "SACFLAG=" EXTENSION=o
++ make CC=$CC "SACFLAG=-fPIC ${CFLAGS}" EXTENSION=o
+ popd >/dev/null
+ elif [ $1 = "all" ]; then
+ pushd >/dev/null $saclib/lib/objd
+- make CC=$CC "SACFLAG=-g -DNO_SACLIB_MACROS" EXTENSION=d
++ make CC=$CC "SACFLAG=-fPIC ${CFLAGS} -DNO_SACLIB_MACROS" EXTENSION=d
+ popd >/dev/null
+ pushd >/dev/null $saclib/lib/objo
+ make CC=$CC "SACFLAG=" EXTENSION=o
+diff -ur a/bin/mkmake b/bin/mkmake
+--- a/bin/mkmake 2018-01-30 22:09:32.000000000 +0100
++++ b/bin/mkmake 2020-04-28 21:29:02.709088176 +0200
+@@ -25,20 +25,16 @@
+ # E.g. if is -g and is d, the library will be
+ # compiled with the debug option set and the library name will be
+ # "saclibg.a".
+-#
++#
+ # REMARK
+ # This file should not be modified. Modify 'mkmake' instead and then use it
+-# to create the new makefile.
++# to create the new makefile.
+
+ # Macros
+
+ SRCDIR = ${saclib}/src
+-TARGET = ${saclib}/lib/saclib${EXTENSION}.a
+-CFLAGS = -I${saclib}/include -c ${SACFLAG}
+-AFLAGS = -I${saclib}/include -P
+-AS = as
+-AR = ar
+-RANLIB = ranlib
++TARGET = ${saclib}/lib/${FULLLIBNAME}
++CFLAGS = -I${saclib}/include ${SACFLAG} -fPIC
+
+ # Object files
+
+@@ -81,21 +77,13 @@
+ #
+
+ cat >> $MAKEFILE <<\EOF
+-
++
+
+ # Target dependencies
+
+-new: ${OBJS1} ${OBJS2a} ${OBJS2b} ${OBJS3} ${OBJS4}
++$(TARGET): ${OBJS1} ${OBJS2a} ${OBJS2b} ${OBJS3} ${OBJS4}
+ rm -f ${TARGET}
+- ${AR} cq ${TARGET} ${OBJS1}
+- ${AR} cq ${TARGET} ${OBJS2a}
+- ${AR} cq ${TARGET} ${OBJS2b}
+- ${AR} cq ${TARGET} ${OBJS3}
+- ${AR} cq ${TARGET} ${OBJS4}
+-# Use "ar ts" if your system does not have "ranlib".
+-# ${AR} ts ${TARGET}
+-# Use "ranlib" if your system's "ar" does not have the option "s".
+- ${RANLIB} ${TARGET}
++ $(CC) ${OBJS1} ${OBJS2a} ${OBJS2b} ${OBJS3} ${OBJS4} -fPIC -shared ${CFLAGS} -o $@ ${LDFLAGS} -Wl,-soname,${FULLLIBNAME}
+ @echo "Created '${TARGET}'."
+
+ EOF
+@@ -113,7 +101,7 @@
+
+
+ 'ls' *.[c] 2> /dev/null |\
+-awk -F. '{printf "%s.o: ${SRCDIR}/%s\n\t${CC} ${CFLAGS} ${SRCDIR}/%s\n",$1,$0,$0}' >>$MAKEFILE
++awk -F. '{printf "%s.o: ${SRCDIR}/%s\n\t${CC} ${CFLAGS} -c ${SRCDIR}/%s\n",$1,$0,$0}' >>$MAKEFILE
+
+ 'ls' *.[s] 2> /dev/null |\
+ awk -F. '{printf "%s.o: ${SRCDIR}/%s\n\t${AS} ${AFLAGS} ${SRCDIR}/%s -o %s.o\n",$1,$0,$0,$1}' >>$MAKEFILE
+@@ -123,7 +111,7 @@
+
+ #
+ ## Done
+-#
++#
+
+ 'cp' $MAKEFILE $saclib/lib/objd
+ popd >/dev/null
diff --git a/sci-libs/saclib/saclib-2.2.7-r2.ebuild b/sci-libs/saclib/saclib-2.2.7-r2.ebuild
new file mode 100644
index 0000000000..631d69b072
--- /dev/null
+++ b/sci-libs/saclib/saclib-2.2.7-r2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit toolchain-funcs
+
+MYP="${PN}${PV}"
+
+MAJOR=$(ver_cut 1)
+MINOR=$(ver_cut 2)
+REVISION=$(ver_cut 3)
+LIBNAME="lib${PN}.so"
+MAJLIBNAME="${LIBNAME}.${MAJOR}"
+MINMAJLIBNAME="${MAJLIBNAME}.${MINOR}"
+FULLLIBNAME="${MINMAJLIBNAME}.${REVISION}"
+
+DESCRIPTION="Reference implementations of algorithms and forms the basis of QEPCAD"
+HOMEPAGE="https://www.usna.edu/Users/cs/wcbrown/qepcad/B/QEPCAD.html"
+SRC_URI="https://www.usna.edu/Users/cs/wcbrown/qepcad/INSTALL/${MYP}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="debug"
+
+RDEPEND=""
+DEPEND=""
+BDEPEND="
+ app-shells/bash
+ app-shells/tcsh
+"
+
+S="${WORKDIR}/${MYP}"
+
+PATCHES=( "${FILESDIR}/makefile.patch" )
+
+DOCS=( doc/saclib.pdf doc/saclocal.dvi doc/desc.doc )
+
+src_prepare() {
+ export saclib="${S}"
+ export FULLLIBNAME
+ export CC=$(tc-getCC)
+ default
+}
+
+src_configure() {
+ cd "${saclib}/bin" || die
+ ./sconf || die
+ ./mkproto || die
+ ./mkmake || die
+}
+
+src_compile() {
+ cd "${saclib}/bin" || die
+ if use debug ; then
+ ./mklib deb || die
+ cd ../lib/objd || die
+ else
+ ./mklib opt || die
+ cd ../lib/objo || die
+ fi
+
+ cd .. || die
+ ln -s "${FULLLIBNAME}" "${MINMAJLIBNAME}" || die
+ ln -s "${MINMAJLIBNAME}" "${MAJLIBNAME}" || die
+ ln -s "${MAJLIBNAME}" "${LIBNAME}" || die
+}
+
+src_install() {
+ einstalldocs
+ dolib.so "lib/${FULLLIBNAME}"
+ dolib.so "lib/${MINMAJLIBNAME}"
+ dolib.so "lib/${MAJLIBNAME}"
+ dolib.so "lib/${LIBNAME}"
+ insinto /usr/include/saclib
+ doins -r include/.
+}