summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-10-31 21:21:26 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-10-31 21:31:11 +0100
commit7ff883652453283667caa8511e0001a56c2caa09 (patch)
treecb03d8571c2c0e41bcabe24d78a2bd60ce33994a /sys-libs/slang
parentsys-libs/slang: Bump to version 2.3.1 (diff)
downloadgentoo-7ff883652453283667caa8511e0001a56c2caa09.tar.gz
gentoo-7ff883652453283667caa8511e0001a56c2caa09.tar.bz2
gentoo-7ff883652453283667caa8511e0001a56c2caa09.zip
sys-libs/slang: Removed old.
Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs/slang')
-rw-r--r--sys-libs/slang/files/slang-2.1.3-uclibc.patch12
-rw-r--r--sys-libs/slang/slang-2.2.4.ebuild66
2 files changed, 0 insertions, 78 deletions
diff --git a/sys-libs/slang/files/slang-2.1.3-uclibc.patch b/sys-libs/slang/files/slang-2.1.3-uclibc.patch
deleted file mode 100644
index d7ed5a8d650f..000000000000
--- a/sys-libs/slang/files/slang-2.1.3-uclibc.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur slang-2.1.3.orig/src/slcommon.c slang-2.1.3/src/slcommon.c
---- slang-2.1.3.orig/src/slcommon.c 2007-01-10 18:09:07.000000000 +0200
-+++ slang-2.1.3/src/slcommon.c 2008-03-19 16:09:09.000000000 +0200
-@@ -191,7 +191,7 @@
- return p;
- }
-
--#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2)
-+#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) && !defined(__UCLIBC__)
- extern int __libc_enable_secure;
- # define HAVE___LIBC_ENABLE_SECURE 1
- #endif
diff --git a/sys-libs/slang/slang-2.2.4.ebuild b/sys-libs/slang/slang-2.2.4.ebuild
deleted file mode 100644
index c856abb81990..000000000000
--- a/sys-libs/slang/slang-2.2.4.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-inherit eutils
-
-DESCRIPTION="A multi-platform programmer's library designed to allow a developer to create robust software"
-HOMEPAGE="http://www.jedsoft.org/slang/"
-SRC_URI="mirror://slang/v${PV%.*}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
-IUSE="cjk pcre png readline static-libs zlib"
-
-# ncurses for ncurses5-config to get terminfo directory
-RDEPEND="sys-libs/ncurses
- pcre? ( dev-libs/libpcre )
- png? ( >=media-libs/libpng-1.2:0 )
- cjk? ( dev-libs/oniguruma )
- readline? ( sys-libs/readline )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-
-MAKEOPTS="${MAKEOPTS} -j1"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.2.3-slsh-libs.patch
- epatch "${FILESDIR}"/${PN}-2.2.4-memset.patch
-
- # avoid linking to -ltermcap race with some systems
- sed -i -e '/^TERMCAP=/s:=.*:=:' configure || die
- # we use the GNU linker also on Solaris
- sed -i -e 's/-G -fPIC/-shared -fPIC/g' \
- -e 's/-Wl,-h,/-Wl,-soname,/g' configure || die
-}
-
-src_configure() {
- local myconf=slang
- use readline && myconf=gnu
-
- econf \
- --with-readline=${myconf} \
- $(use_with pcre) \
- $(use_with cjk onig) \
- $(use_with png) \
- $(use_with zlib z)
-}
-
-src_compile() {
- emake elf $(use static-libs && echo static)
-
- pushd slsh >/dev/null
- emake slsh
- popd
-}
-
-src_install() {
- emake DESTDIR="${D}" install $(use static-libs && echo install-static)
-
- rm -rf "${ED}"/usr/share/doc/{slang,slsh}
-
- dodoc NEWS README *.txt doc/{,internal,text}/*.txt
- dohtml doc/slangdoc.html slsh/doc/html/*.html
-}