summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-10-29 19:47:42 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-10-29 19:47:42 +0100
commitfb052e86a8fd2742cb830bf8296b8f9b418caf52 (patch)
treeaa3c127fdf413949653224a760e02087e2f18681 /app-text
parentsys-firmware/atmel-firmware: drop 1.3-r2 (diff)
downloadgentoo-fb052e86a8fd2742cb830bf8296b8f9b418caf52.tar.gz
gentoo-fb052e86a8fd2742cb830bf8296b8f9b418caf52.tar.bz2
gentoo-fb052e86a8fd2742cb830bf8296b8f9b418caf52.zip
app-text/opensp: drop 1.5.2-r9
Bug: https://bugs.gentoo.org/889600 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/opensp/opensp-1.5.2-r9.ebuild85
1 files changed, 0 insertions, 85 deletions
diff --git a/app-text/opensp/opensp-1.5.2-r9.ebuild b/app-text/opensp/opensp-1.5.2-r9.ebuild
deleted file mode 100644
index ff52506fd89b..000000000000
--- a/app-text/opensp/opensp-1.5.2-r9.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic
-
-MY_P=${P/opensp/OpenSP}
-DESCRIPTION="A free, object-oriented toolkit for SGML parsing and entity management"
-HOMEPAGE="https://openjade.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/project/openjade/opensp/${PV}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="doc nls static-libs test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="elibc_glibc? ( net-libs/libnsl:0= )"
-DEPEND="${RDEPEND}"
-BDEPEND="nls? ( sys-devel/gettext )
- doc? (
- app-text/xmlto
- app-text/docbook-xml-dtd:4.1.2
- )
- test? (
- app-text/docbook-xml-dtd:4.5
- app-text/openjade
- app-text/sgml-common
- )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-segfault.patch
- "${FILESDIR}"/${P}-c11-using.patch
-)
-
-src_prepare() {
- default
- use prefix && eautoreconf
-}
-
-src_configure() {
- export CONFIG_SHELL=${BASH} # configure needs bash
-
- # The following filters are taken from openjade's ebuild. See bug #100828.
- # Please note! Opts are disabled. If you know what you're doing
- # feel free to remove this line. It may cause problems with
- # docbook-sgml-utils among other things.
- #ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march"
- strip-flags
- filter-lto
-
- append-cxxflags -std=gnu++11
-
- econf \
- --enable-http \
- --enable-default-catalog="${EPREFIX}"/etc/sgml/catalog \
- --enable-default-search-path="${EPREFIX}"/usr/share/sgml \
- --datadir="${EPREFIX}"/usr/share/sgml/${P} \
- $(use_enable nls) \
- $(use_enable doc doc-build) \
- $(use_enable static-libs static)
-}
-
-src_compile() {
- emake pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}
-}
-
-src_test() {
- # Skipping tests known not to work
- emake SHOWSTOPPERS= check
- SANDBOX_PREDICT="${SANDBOX_PREDICT%:/}"
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- pkgdocdir="${EPREFIX}"/usr/share/doc/${PF} \
- install
-
- find "${ED}" -name '*.la' -delete || die
-
- dodoc AUTHORS BUGS ChangeLog NEWS README
-}