From b67c0a55e005cb25cab56f55ee169874af241cb0 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Sat, 30 Apr 2005 16:09:16 +0000 Subject: Fix typo in gcc4 patch, bug #90943. (Portage version: 2.0.51.20-r5) --- net-nntp/pan/pan-0.14.2.91-r2.ebuild | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 net-nntp/pan/pan-0.14.2.91-r2.ebuild (limited to 'net-nntp/pan/pan-0.14.2.91-r2.ebuild') diff --git a/net-nntp/pan/pan-0.14.2.91-r2.ebuild b/net-nntp/pan/pan-0.14.2.91-r2.ebuild new file mode 100644 index 000000000000..84a46374c2d6 --- /dev/null +++ b/net-nntp/pan/pan-0.14.2.91-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/pan-0.14.2.91-r2.ebuild,v 1.1 2005/04/30 16:09:16 azarah Exp $ + +inherit eutils libtool + +IUSE="nls spell" + +DESCRIPTION="A newsreader for the Gnome2 desktop" +SRC_URI="http://pan.rebelbase.com/download/releases/${PV}/SOURCE/${P}.tar.bz2" +HOMEPAGE="http://pan.rebelbase.com/" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~hppa ~ppc ~sparc ~amd64 ppc64" +SLOT="0" + +RDEPEND=">=dev-libs/glib-2.0.4 + >=x11-libs/gtk+-2.0.5 + >=dev-libs/libxml2-2.4.22 + >=net-libs/gnet-1.1.8 + >=dev-libs/libpcre-4.0 + spell? ( >=app-text/gtkspell-2.0.2 )" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.21 + sys-devel/gettext" + +export CONFIG_PROTECT_MASK="/etc/gconf" + +pkg_setup() { + # Likely that glibc might of been compiled with nls turned off. + # Warn people that Pan requires glibc to have nls support. + if ! use nls + then + ewarn "Pan requires glibc to be merged with 'nls' in your USE flags." + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + + # Fix for building with gcc4 + epatch ${FILESDIR}/${P}-gcc4-2.patch + + elibtoolize || die "elibtoolize failed" +} + +src_compile() { + econf $(use_enable spell gtkspell) || die "Configure failure" + emake || die "Compilation failure" +} + +src_install() { + make install DESTDIR=${D} || die "Installation failed" + dodoc AUTHORS ChangeLog CREDITS NEWS README TODO || die "dodoc failed" + dohtml ANNOUNCE.html docs/{pan-shortcuts,faq}.html || die "dodoc failed" +} -- cgit v1.2.3-65-gdbad