summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-12-26 15:57:35 +0000
committerJeroen Roovers <jer@gentoo.org>2013-12-26 15:57:35 +0000
commitd318f8bda2924a4ee70d5a9dfbf0f435147a854b (patch)
tree9e83fd80cf89ce73593229268cb7cd6484f4b4d6 /net-irc
parentarm stable, bug #493780 (diff)
downloadgentoo-2-d318f8bda2924a4ee70d5a9dfbf0f435147a854b.tar.gz
gentoo-2-d318f8bda2924a4ee70d5a9dfbf0f435147a854b.tar.bz2
gentoo-2-d318f8bda2924a4ee70d5a9dfbf0f435147a854b.zip
Fix building against sys-libs/ncurses[tinfo] (bug #453396 by Ben Longbons).
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/irssi/ChangeLog8
-rw-r--r--net-irc/irssi/irssi-0.8.15-r2.ebuild59
-rw-r--r--net-irc/irssi/irssi-9999.ebuild11
-rw-r--r--net-irc/irssi/metadata.xml5
4 files changed, 77 insertions, 6 deletions
diff --git a/net-irc/irssi/ChangeLog b/net-irc/irssi/ChangeLog
index 3d7223631923..dd4631c24e92 100644
--- a/net-irc/irssi/ChangeLog
+++ b/net-irc/irssi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-irc/irssi
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi/ChangeLog,v 1.179 2013/01/29 23:07:09 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi/ChangeLog,v 1.180 2013/12/26 15:57:35 jer Exp $
+
+*irssi-0.8.15-r2 (26 Dec 2013)
+
+ 26 Dec 2013; Jeroen Roovers <jer@gentoo.org> +irssi-0.8.15-r2.ebuild,
+ irssi-9999.ebuild, metadata.xml:
+ Fix building against sys-libs/ncurses[tinfo] (bug #453396 by Ben Longbons).
29 Jan 2013; Agostino Sarubbo <ago@gentoo.org> -irssi-0.8.15.ebuild:
Remove old
diff --git a/net-irc/irssi/irssi-0.8.15-r2.ebuild b/net-irc/irssi/irssi-0.8.15-r2.ebuild
new file mode 100644
index 000000000000..cf5008b7c60c
--- /dev/null
+++ b/net-irc/irssi/irssi-0.8.15-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi/irssi-0.8.15-r2.ebuild,v 1.1 2013/12/26 15:57:35 jer Exp $
+
+EAPI=4
+
+inherit perl-module libtool
+
+# Keep for _rc compability
+MY_P="${P/_/-}"
+
+DESCRIPTION="A modular textUI IRC client with IPv6 support"
+HOMEPAGE="http://irssi.org/"
+SRC_URI="http://irssi.org/files/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="ipv6 +perl ssl socks5 tinfo"
+
+RDEPEND="sys-libs/ncurses[tinfo=]
+ >=dev-libs/glib-2.6.0
+ ssl? ( dev-libs/openssl )
+ perl? ( dev-lang/perl )
+ socks5? ( >=net-proxy/dante-1.1.18 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+RDEPEND="${RDEPEND}
+ perl? ( !net-im/silc-client )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epunt_cxx
+ elibtoolize # for Darwin bundle
+}
+
+src_configure() {
+ econf \
+ --with-proxy \
+ $(usex tinfo '--with-terminfo --without-ncurses' \
+ "--without-terminfo --with-ncurses="${EPREFIX}"/usr") \
+ --with-perl-lib=vendor \
+ $(use_with perl) \
+ $(use_with socks5 socks) \
+ $(use_enable ssl) \
+ $(use_enable ipv6)
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ install
+
+ use perl && fixlocalpod
+
+ dodoc AUTHORS ChangeLog README TODO NEWS
+}
diff --git a/net-irc/irssi/irssi-9999.ebuild b/net-irc/irssi/irssi-9999.ebuild
index 568276ca11a9..8d1be6dee97e 100644
--- a/net-irc/irssi/irssi-9999.ebuild
+++ b/net-irc/irssi/irssi-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi/irssi-9999.ebuild,v 1.5 2012/09/29 11:04:12 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi/irssi-9999.ebuild,v 1.6 2013/12/26 15:57:35 jer Exp $
EAPI=4
@@ -15,9 +15,9 @@ HOMEPAGE="http://irssi.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="ipv6 +perl ssl socks5"
+IUSE="ipv6 +perl ssl socks5 tinfo"
-RDEPEND="sys-libs/ncurses
+RDEPEND="sys-libs/ncurses[tinfo=]
>=dev-libs/glib-2.6.0
ssl? ( dev-libs/openssl )
perl? ( dev-lang/perl )
@@ -41,7 +41,8 @@ src_prepare() {
src_configure() {
econf \
--with-proxy \
- --with-ncurses \
+ $(usex tinfo '--with-terminfo --without-ncurses' \
+ "--without-terminfo --with-ncurses="${EPREFIX}"/usr") \
--with-perl-lib=vendor \
$(use_with perl) \
$(use_with socks5 socks) \
diff --git a/net-irc/irssi/metadata.xml b/net-irc/irssi/metadata.xml
index b7d13cc9117d..738bc63bda95 100644
--- a/net-irc/irssi/metadata.xml
+++ b/net-irc/irssi/metadata.xml
@@ -6,4 +6,9 @@
<email>swegener@gentoo.org</email>
<description>Primary Maintainer</description>
</maintainer>
+<use>
+<flag name='tinfo'>
+ Use only libtinfo from <pkg>sys-libs/ncurses</pkg>
+</flag>
+</use>
</pkgmetadata>