mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/polyml: drop old 5.9-r2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST polyml-5.9.1.tar.gz 3887664 BLAKE2B ae10fc9c4097879fe05ab931c541cdab8a61755210e2f6b084e31a08490a762234ea32d18d9d60e3ec52407861106b1b85d0ca8a92d2bc3e97b1d14fbd57bf8e SHA512 e471abef01b7f2bfac6d847904c0fcef6ae5a1356b1246a2e8982d24fd590b49feb03752642efe09d34344b4faf89bc3edd4418e9993e72ea22e5482e6d37271
|
||||
DIST polyml-5.9.tar.gz 3764115 BLAKE2B ae0ca0dcac2c1b5b54e4e4c4c7362a9ba99846ff7a1358a2332a8b887eb9c21e83851c9ecde44df3bebeef5cdfe3d4b73c09776a08cfc2db6ec70024ffedc50d SHA512 e996cbe820216e854a50ba214f2a2a0291ee3279eb35be4126b6558bc1582732a236156fb8d0f548b31fca4a496db62ece83d902b6f5e72de64507fdef602e45
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Poly/ML is a full implementation of Standard ML"
|
||||
HOMEPAGE="https://www.polyml.org"
|
||||
SRC_URI="https://github.com/polyml/polyml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X +gmp portable"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libffi:=
|
||||
X? ( x11-libs/motif:0 )
|
||||
gmp? ( >=dev-libs/gmp-5:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.8.2-configure.patch
|
||||
"${FILESDIR}"/${P}-c++11.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--enable-shared
|
||||
--with-pic=pic-only
|
||||
$(use_enable !portable native-codegeneration)
|
||||
$(use_with X x)
|
||||
$(use_with gmp)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if [[ -f "${ED}"/usr/$(get_libdir)/libpolymain.la ]] ; then
|
||||
rm "${ED}"/usr/$(get_libdir)/libpolymain.la || die
|
||||
fi
|
||||
|
||||
if [[ -f "${ED}"/usr/$(get_libdir)/libpolyml.la ]] ; then
|
||||
rm "${ED}"/usr/$(get_libdir)/libpolyml.la || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user