diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-01-20 11:15:33 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-01-20 11:15:33 +0100 |
commit | 933931f61a081b9c18a679f55fb5e921f6faa8cb (patch) | |
tree | e38b17f03a6a2c0231883b3d40fc0773393f7116 /sci-mathematics/calc | |
parent | sci-mathematics/cvc4: Remove old (diff) | |
download | gentoo-933931f61a081b9c18a679f55fb5e921f6faa8cb.tar.gz gentoo-933931f61a081b9c18a679f55fb5e921f6faa8cb.tar.bz2 gentoo-933931f61a081b9c18a679f55fb5e921f6faa8cb.zip |
sci-mathematics/calc: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-mathematics/calc')
-rw-r--r-- | sci-mathematics/calc/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/calc/calc-2.12.4.13-r1.ebuild | 56 | ||||
-rw-r--r-- | sci-mathematics/calc/files/2.12.4.0-ldflags.patch | 101 | ||||
-rw-r--r-- | sci-mathematics/calc/files/calc-2.12.4.13-prefix.patch | 87 |
4 files changed, 0 insertions, 245 deletions
diff --git a/sci-mathematics/calc/Manifest b/sci-mathematics/calc/Manifest index 86457bd7db86..79765f5f29ec 100644 --- a/sci-mathematics/calc/Manifest +++ b/sci-mathematics/calc/Manifest @@ -1,2 +1 @@ -DIST calc-2.12.4.13.tar.bz2 970778 BLAKE2B 0e34df7d445a84de89e2c662ea7e8da4a350eaeef984b5027befe5947bf8e863180dd07bbe525c4bc04a6e3aa53bfbb2f3d719c8bfff3c238b16941b701d4b4d SHA512 7b7136c793917652ce2f2b3866b2db16a69dbead729d8a72b8c1359ebb8a4e1d4e7a3a8b214f8e85b9ccf41193ba6ffcb49926cc68f494e2b6cdff58559f2534 DIST calc-2.12.5.4.tar.bz2 956258 BLAKE2B 47c2ab46c47baf0d1f1d202a36e0d42cf0b25f7eecf61815814081b2f76aa65dc8cc4e970078a5176266ce1332751169424d1c6d2c16ff148a1b014986b56d47 SHA512 07c89059d4718b29e649a5198e0bb6c6a6d9c6705a0050ad744146f1649c65d0fb1277a68eb45daca907b08ef9336de2002808a5f9b2312e413eb3afb74d491f diff --git a/sci-mathematics/calc/calc-2.12.4.13-r1.ebuild b/sci-mathematics/calc/calc-2.12.4.13-r1.ebuild deleted file mode 100644 index 7e43d678ca58..000000000000 --- a/sci-mathematics/calc/calc-2.12.4.13-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="Arbitrary precision C-like arithmetic system" -HOMEPAGE="http://www.isthe.com/chongo/tech/comp/calc/" -SRC_URI="http://www.isthe.com/chongo/src/calc/${P}.tar.bz2" - -SLOT="0" -LICENSE="LGPL-2" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" - -IUSE="" - -DEPEND=" - sys-libs/ncurses:0= - sys-libs/readline:0=" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.12.4.13-prefix.patch\ - "${FILESDIR}"/2.12.4.0-ldflags.patch - ln -sf libcustcalc.so.${PV} custom/libcustcalc.so || die - sed -i -e "/DIR/s:/usr:${EPREFIX}/usr:g" Makefile || die -} - -src_compile() { - # parallel compilation hard to fix. better to leave upstream. - emake -j1 \ - CC="$(tc-getCC)" \ - DEBUG="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - CALCPAGER="${PAGER}" \ - USE_READLINE="-DUSE_READLINE" \ - READLINE_LIB="-lreadline -lhistory -lncurses -L\"${S}\"/custom -lcustcalc" \ - all -} - -src_test() { - if echo "${LD_PRELOAD}" | grep -q "sandbox"; then - ewarn "Can't run check when running in sandbox - see bug #59676" - else - emake chk - fi -} - -src_install() { - emake \ - T="${D}" \ - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \ - install - dodoc BUGS CHANGES LIBRARY README -} diff --git a/sci-mathematics/calc/files/2.12.4.0-ldflags.patch b/sci-mathematics/calc/files/2.12.4.0-ldflags.patch deleted file mode 100644 index 0f2b67d2c084..000000000000 --- a/sci-mathematics/calc/files/2.12.4.0-ldflags.patch +++ /dev/null @@ -1,101 +0,0 @@ -diff --git a/Makefile b/Makefile -index b526442..baa8273 100644 ---- a/Makefile -+++ b/Makefile -@@ -1144,11 +1144,13 @@ BLD_TYPE= calc-dynamic-only - # - CC_SHARE= -fPIC - LD_SHARE= --LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - ifdef ALLOW_CUSTOM --LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -+LIBCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - else --LIBCUSTCALC_SHLIB= -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -+LIBCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - endif - # - CC_STATIC= -@@ -1227,9 +1229,9 @@ BLD_TYPE= calc-dynamic-only - # - CC_SHARE= -fPIC - LD_SHARE= --LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - ifdef ALLOW_CUSTOM --LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" - else - LIBCUSTCALC_SHLIB= - endif -@@ -1267,9 +1269,9 @@ BLD_TYPE= calc-dynamic-only - # - CC_SHARE= -fPIC - LD_SHARE= --LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - ifdef ALLOW_CUSTOM --LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" - else - LIBCUSTCALC_SHLIB= - endif -@@ -1304,9 +1306,9 @@ CC_SHARE= -fPIC - DEFAULT_LIB_INSTALL_PATH= ${PWD}:/lib:/usr/lib:${LIBDIR}:/usr/local/lib - LD_SHARE= "-Wl,-rpath,${DEFAULT_LIB_INSTALL_PATH}" \ - "-Wl,-rpath-link,${DEFAULT_LIB_INSTALL_PATH}" --LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - ifdef ALLOW_CUSTOM --LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" - else - LIBCUSTCALC_SHLIB= - endif -@@ -1340,8 +1342,8 @@ BLD_TYPE= calc-static-only - # - CC_SHARE= -fPIC - LD_SHARE= --LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" --LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" - # - CC_STATIC= - LD_STATIC= -@@ -1394,9 +1396,9 @@ BLD_TYPE= calc-static-only - # - CC_SHARE= -fPIC - LD_SHARE= --LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - ifdef ALLOW_CUSTOM --LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" - else - LIBCUSTCALC_SHLIB= - endif -@@ -1431,9 +1433,9 @@ CC_SHARE= -fPIC - DEFAULT_LIB_INSTALL_PATH= ${PWD}:/lib:/usr/lib:${LIBDIR}:/usr/local/lib - LD_SHARE= "-Wl,-rpath,${DEFAULT_LIB_INSTALL_PATH}" \ - "-Wl,-rpath-link,${DEFAULT_LIB_INSTALL_PATH}" --LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - ifdef ALLOW_CUSTOM --LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -+LIBCUSTCALC_SHLIB= -shared ${LDFLAGS} "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" - else - LIBCUSTCALC_SHLIB= - endif -@@ -2002,7 +2004,7 @@ calc-static-only: ${STATIC_FIRST_TARGETS} ${EARLY_TARGETS} \ - - calc${EXT}: .hsrc ${CALCOBJS} ${CALC_DYNAMIC_LIBS} ${MAKE_FILE} - ${RM} -f $@ -- ${CC} ${CALCOBJS} ${LDFLAGS} ${LD_SHARE} ${CALC_DYNAMIC_LIBS} \ -+ ${CC} ${LDFLAGS} ${CALCOBJS} ${LD_SHARE} ${CALC_DYNAMIC_LIBS} \ - ${READLINE_LIB} ${READLINE_EXTRAS} -o $@ - - libcalc${LIB_EXT_VERSION}: ${LIBOBJS} ver_calc${EXT} ${MAKE_FILE} diff --git a/sci-mathematics/calc/files/calc-2.12.4.13-prefix.patch b/sci-mathematics/calc/files/calc-2.12.4.13-prefix.patch deleted file mode 100644 index 727618c3fe71..000000000000 --- a/sci-mathematics/calc/files/calc-2.12.4.13-prefix.patch +++ /dev/null @@ -1,87 +0,0 @@ -diff --git a/Makefile b/Makefile -index cc84386..b526442 100644 ---- a/Makefile -+++ b/Makefile -@@ -1143,9 +1143,7 @@ ifeq ($(target),Linux) - BLD_TYPE= calc-dynamic-only - # - CC_SHARE= -fPIC --DEFAULT_LIB_INSTALL_PATH= ${PWD}:/lib:/usr/lib:${LIBDIR}:/usr/local/lib --LD_SHARE= "-Wl,-rpath,${DEFAULT_LIB_INSTALL_PATH}" \ -- "-Wl,-rpath-link,${DEFAULT_LIB_INSTALL_PATH}" -+LD_SHARE= - LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - ifdef ALLOW_CUSTOM - LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -@@ -1177,9 +1175,8 @@ ifeq ($(target),Darwin) - BLD_TYPE= calc-dynamic-only - # - CC_SHARE= -fPIC --DEFAULT_LIB_INSTALL_PATH= ${PWD}:${LIBDIR}:/usr/local/lib - LD_SHARE= ${DARWIN_ARCH} --LIBCALC_SHLIB= -single_module -undefined dynamic_lookup -dynamiclib -+LIBCALC_SHLIB= -single_module -undefined dynamic_lookup -dynamiclib -install_name ${LIBDIR}/libcalc${LIB_EXT_VERSION} - ifdef ALLOW_CUSTOM - LIBCUSTCALC_SHLIB= -single_module -undefined dynamic_lookup -dynamiclib - else -@@ -1196,7 +1193,7 @@ CCWERR= - CCOPT= ${DEBUG} - CCMISC= ${DARWIN_ARCH} - # --LCC= MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} gcc -+LCC= gcc - CC= ${PURIFY} ${LCC} ${CCWERR} - # - # Darmin dynamic shared lib filenames -@@ -1211,7 +1208,6 @@ LDCONFIG:= - # DARWIN_ARCH= -arch i386 # Intel binary - # DARWIN_ARCH= -arch ppc # PPC binary - DARWIN_ARCH= # native binary --MACOSX_DEPLOYMENT_TARGET=10.8 - # - endif - -@@ -1230,9 +1226,7 @@ ifeq ($(target),FreeBSD) - BLD_TYPE= calc-dynamic-only - # - CC_SHARE= -fPIC --DEFAULT_LIB_INSTALL_PATH= ${PWD}:/lib:/usr/lib:${LIBDIR}:/usr/local/lib --LD_SHARE= "-Wl,-rpath,${DEFAULT_LIB_INSTALL_PATH}" \ -- "-Wl,-rpath-link,${DEFAULT_LIB_INSTALL_PATH}" -+LD_SHARE= - LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - ifdef ALLOW_CUSTOM - LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -@@ -1272,9 +1266,7 @@ ifeq ($(target),OpenBSD) - BLD_TYPE= calc-dynamic-only - # - CC_SHARE= -fPIC --DEFAULT_LIB_INSTALL_PATH= ${PWD}:/lib:/usr/lib:${LIBDIR}:/usr/local/lib --LD_SHARE= "-Wl,-rpath,${DEFAULT_LIB_INSTALL_PATH}" \ -- "-Wl,-rpath-link,${DEFAULT_LIB_INSTALL_PATH}" -+LD_SHARE= - LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - ifdef ALLOW_CUSTOM - LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" -@@ -1347,9 +1339,7 @@ ifeq ($(target),simple) - BLD_TYPE= calc-static-only - # - CC_SHARE= -fPIC --DEFAULT_LIB_INSTALL_PATH= ${PWD}:/lib:/usr/lib:${LIBDIR}:/usr/local/lib --LD_SHARE= "-Wl,-rpath,${DEFAULT_LIB_INSTALL_PATH}" \ -- "-Wl,-rpath-link,${DEFAULT_LIB_INSTALL_PATH}" -+LD_SHARE= - LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" - # -@@ -1403,9 +1393,7 @@ CALCRC= ${CALC_SHAREDIR}/startup;~/.calcrc;./.calcinit - BLD_TYPE= calc-static-only - # - CC_SHARE= -fPIC --DEFAULT_LIB_INSTALL_PATH= ${PWD}:/lib:/usr/lib:${LIBDIR}:/usr/local/lib --LD_SHARE= "-Wl,-rpath,${DEFAULT_LIB_INSTALL_PATH}" \ -- "-Wl,-rpath-link,${DEFAULT_LIB_INSTALL_PATH}" -+LD_SHARE= - LIBCALC_SHLIB= -shared "-Wl,-soname,libcalc${LIB_EXT_VERSION}" - ifdef ALLOW_CUSTOM - LIBCUSTCALC_SHLIB= -shared "-Wl,-soname,libcustcalc${LIB_EXT_VERSION}" |