@@ -, +, @@ --- .../files/0001-weechat-dblatex-tex4ht.patch | 38 ++++++++++++++++++++ net-irc/weechat/weechat-0.2.6.1.ebuild | 17 ++++++++- 2 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 net-irc/weechat/files/0001-weechat-dblatex-tex4ht.patch --- a/net-irc/weechat/files/0001-weechat-dblatex-tex4ht.patch +++ a/net-irc/weechat/files/0001-weechat-dblatex-tex4ht.patch @@ -0,0 +1,38 @@ +From 0052a5c6e793cd53e22e08ab06ff8eefd27a50ca Mon Sep 17 00:00:00 2001 +From: Matt McCormick (thewtex) +Date: Tue, 31 Mar 2009 23:03:45 -0500 +Subject: [PATCH] weechat dblatex tex4ht + +dblatex is a separate program from the dblatex provided by +dev-tex/tex4ht +--- + configure.in | 6 +----- + 1 files changed, 1 insertions(+), 5 deletions(-) + +diff --git a/configure.in b/configure.in +index d6e80b9..6026b8b 100644 +--- a/configure.in ++++ b/configure.in +@@ -659,10 +659,6 @@ fi + + msg_doc="" + +-if test "x$DBLATEX_FOUND" = "xyes"; then +- msg_doc="pdf $msg_doc" +-fi +- + AC_MSG_CHECKING(for html/chunk.xsl) + DOC_XSL_PREFIX="" + +@@ -784,7 +780,7 @@ AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes") + AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes") + AM_CONDITIONAL(HAVE_GNUTLS, test "$enable_gnutls" = "yes") + AM_CONDITIONAL(HAVE_FLOCK, test "$enable_flock" = "yes") +-AM_CONDITIONAL(DBLATEX_FOUND, test "$DBLATEX_FOUND" = "yes") ++AM_CONDITIONAL(DBLATEX_FOUND, test "dontwantit" = "yes") + + AC_OUTPUT([Makefile + doc/Makefile +-- +1.6.2 + --- a/net-irc/weechat/weechat-0.2.6.1.ebuild +++ a/net-irc/weechat/weechat-0.2.6.1.ebuild @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-irc/weechat/weechat-0.2.6.1.ebuild,v 1.3 2009/03/24 18:53:01 ranger Exp $ +inherit eutils + DESCRIPTION="Portable and multi-interface IRC client." HOMEPAGE="http://weechat.flashtux.org/" SRC_URI="http://weechat.flashtux.org/download/${P}.tar.bz2" @@ -21,12 +23,24 @@ DEPEND="sys-libs/ncurses spell? ( app-text/aspell )" RDEPEND="${DEPEND}" -src_compile() { +EAPI="2" + +src_prepare() { + epatch ${FILESDIR}/0001-weechat-dblatex-tex4ht.patch || die "patch failed" +} + +src_configure() { + mkdir m4 + einfo "Regenerating autotools files ..." + WANT_AUTOCONF=2.6 autoconf || die "autoreconf failed" + libtoolize --copy --force || die "libtoolize fail" + # The qt and gtk frontends are not usable, so they're disabled econf \ --enable-ncurses \ --disable-qt \ --disable-gtk \ + --with-doc-xsl-prefix=/usr/share/sgml/docbook/xsl-stylesheets \ $(use_enable perl) \ $(use_enable python) \ $(use_enable ruby) \ @@ -35,7 +49,6 @@ src_compile() { $(use_enable spell aspell) \ $(use_with debug debug 2) \ || die "econf failed" - emake || die "emake failed" } src_install() { --