1 |
commit: 7ff883652453283667caa8511e0001a56c2caa09 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 20:21:26 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 20:31:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ff88365 |
7 |
|
8 |
sys-libs/slang: Removed old. |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-libs/slang/files/slang-2.1.3-uclibc.patch | 12 ----- |
14 |
sys-libs/slang/slang-2.2.4.ebuild | 66 --------------------------- |
15 |
2 files changed, 78 deletions(-) |
16 |
|
17 |
diff --git a/sys-libs/slang/files/slang-2.1.3-uclibc.patch b/sys-libs/slang/files/slang-2.1.3-uclibc.patch |
18 |
deleted file mode 100644 |
19 |
index d7ed5a8..00000000 |
20 |
--- a/sys-libs/slang/files/slang-2.1.3-uclibc.patch |
21 |
+++ /dev/null |
22 |
@@ -1,12 +0,0 @@ |
23 |
-diff -ur slang-2.1.3.orig/src/slcommon.c slang-2.1.3/src/slcommon.c |
24 |
---- slang-2.1.3.orig/src/slcommon.c 2007-01-10 18:09:07.000000000 +0200 |
25 |
-+++ slang-2.1.3/src/slcommon.c 2008-03-19 16:09:09.000000000 +0200 |
26 |
-@@ -191,7 +191,7 @@ |
27 |
- return p; |
28 |
- } |
29 |
- |
30 |
--#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) |
31 |
-+#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) && !defined(__UCLIBC__) |
32 |
- extern int __libc_enable_secure; |
33 |
- # define HAVE___LIBC_ENABLE_SECURE 1 |
34 |
- #endif |
35 |
|
36 |
diff --git a/sys-libs/slang/slang-2.2.4.ebuild b/sys-libs/slang/slang-2.2.4.ebuild |
37 |
deleted file mode 100644 |
38 |
index c856abb..00000000 |
39 |
--- a/sys-libs/slang/slang-2.2.4.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,66 +0,0 @@ |
42 |
-# Copyright 1999-2013 Gentoo Foundation |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
-# $Id$ |
45 |
- |
46 |
-EAPI=4 |
47 |
-inherit eutils |
48 |
- |
49 |
-DESCRIPTION="A multi-platform programmer's library designed to allow a developer to create robust software" |
50 |
-HOMEPAGE="http://www.jedsoft.org/slang/" |
51 |
-SRC_URI="mirror://slang/v${PV%.*}/${P}.tar.bz2" |
52 |
- |
53 |
-LICENSE="GPL-2" |
54 |
-SLOT="0" |
55 |
-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" |
56 |
-IUSE="cjk pcre png readline static-libs zlib" |
57 |
- |
58 |
-# ncurses for ncurses5-config to get terminfo directory |
59 |
-RDEPEND="sys-libs/ncurses |
60 |
- pcre? ( dev-libs/libpcre ) |
61 |
- png? ( >=media-libs/libpng-1.2:0 ) |
62 |
- cjk? ( dev-libs/oniguruma ) |
63 |
- readline? ( sys-libs/readline ) |
64 |
- zlib? ( sys-libs/zlib )" |
65 |
-DEPEND="${RDEPEND}" |
66 |
- |
67 |
-MAKEOPTS="${MAKEOPTS} -j1" |
68 |
- |
69 |
-src_prepare() { |
70 |
- epatch "${FILESDIR}"/${PN}-2.2.3-slsh-libs.patch |
71 |
- epatch "${FILESDIR}"/${PN}-2.2.4-memset.patch |
72 |
- |
73 |
- # avoid linking to -ltermcap race with some systems |
74 |
- sed -i -e '/^TERMCAP=/s:=.*:=:' configure || die |
75 |
- # we use the GNU linker also on Solaris |
76 |
- sed -i -e 's/-G -fPIC/-shared -fPIC/g' \ |
77 |
- -e 's/-Wl,-h,/-Wl,-soname,/g' configure || die |
78 |
-} |
79 |
- |
80 |
-src_configure() { |
81 |
- local myconf=slang |
82 |
- use readline && myconf=gnu |
83 |
- |
84 |
- econf \ |
85 |
- --with-readline=${myconf} \ |
86 |
- $(use_with pcre) \ |
87 |
- $(use_with cjk onig) \ |
88 |
- $(use_with png) \ |
89 |
- $(use_with zlib z) |
90 |
-} |
91 |
- |
92 |
-src_compile() { |
93 |
- emake elf $(use static-libs && echo static) |
94 |
- |
95 |
- pushd slsh >/dev/null |
96 |
- emake slsh |
97 |
- popd |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- emake DESTDIR="${D}" install $(use static-libs && echo install-static) |
102 |
- |
103 |
- rm -rf "${ED}"/usr/share/doc/{slang,slsh} |
104 |
- |
105 |
- dodoc NEWS README *.txt doc/{,internal,text}/*.txt |
106 |
- dohtml doc/slangdoc.html slsh/doc/html/*.html |
107 |
-} |