From: Karol Wojtaszek Date: Mon, 11 Dec 2006 21:54:45 +0000 (+0000) Subject: Added some code suggested by drizztbsd X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b5da4bbad8bc96a471458f5cde78e77fcf2bfabd;p=gentoo.git Added some code suggested by drizztbsd Package-Manager: portage-2.1.1-r2 --- diff --git a/net-im/ekg2/Manifest b/net-im/ekg2/Manifest index 62005f392978..bc63e6aa643d 100644 --- a/net-im/ekg2/Manifest +++ b/net-im/ekg2/Manifest @@ -17,10 +17,10 @@ EBUILD ekg2-20061007.ebuild 1296 RMD160 910dade13220bbfb4598827c0a80e0d21b82d5f0 MD5 8e620088df7114f2c213ce8d618b7a18 ekg2-20061007.ebuild 1296 RMD160 910dade13220bbfb4598827c0a80e0d21b82d5f0 ekg2-20061007.ebuild 1296 SHA256 58825670bec00292358b9f9aea142d6406aabce9a271eb5443192103aababd50 ekg2-20061007.ebuild 1296 -EBUILD ekg2-20061202.ebuild 2503 RMD160 553dcb725341e99818cae819d6f68da79d4ce13c SHA1 2cf12eb55c5254af3f887f7d47cef493f5763c9a SHA256 e23b065c77cc8c4ce556e0f9d372ce64d028999924a3982a8ac4ec6a35556c6f -MD5 3a5d42af578ad944f8493c332d430180 ekg2-20061202.ebuild 2503 -RMD160 553dcb725341e99818cae819d6f68da79d4ce13c ekg2-20061202.ebuild 2503 -SHA256 e23b065c77cc8c4ce556e0f9d372ce64d028999924a3982a8ac4ec6a35556c6f ekg2-20061202.ebuild 2503 +EBUILD ekg2-20061202.ebuild 2612 RMD160 68ff3129cda919066ad43dd3d81015e58b05f6fc SHA1 242f9ada007435ea6f795535c12fbf9b0a1986c7 SHA256 1ea5b2d652c9cd2f2acbc8d7a54b111225f19096da09f837606a123dae41af4c +MD5 3d5467aa71902cdc20bc9c37f4700f93 ekg2-20061202.ebuild 2612 +RMD160 68ff3129cda919066ad43dd3d81015e58b05f6fc ekg2-20061202.ebuild 2612 +SHA256 1ea5b2d652c9cd2f2acbc8d7a54b111225f19096da09f837606a123dae41af4c ekg2-20061202.ebuild 2612 MISC ChangeLog 3185 RMD160 b1f896ef6f96ebbf887b083947d7fc6a89340398 SHA1 28180cf29f0f03618569a3306afaccebe415f624 SHA256 18a6c69c75b6f03fc0acbe42f330033321ff711588597983897ebb928ef530b2 MD5 fc5a4fd8b4aa578ff08bbd400a75a6c8 ChangeLog 3185 RMD160 b1f896ef6f96ebbf887b083947d7fc6a89340398 ChangeLog 3185 diff --git a/net-im/ekg2/ekg2-20061202.ebuild b/net-im/ekg2/ekg2-20061202.ebuild index 727e287c308d..55699c839583 100644 --- a/net-im/ekg2/ekg2-20061202.ebuild +++ b/net-im/ekg2/ekg2-20061202.ebuild @@ -1,8 +1,11 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ekg2/ekg2-20061202.ebuild,v 1.4 2006/12/11 21:16:36 sekretarz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/ekg2/ekg2-20061202.ebuild,v 1.5 2006/12/11 21:54:45 sekretarz Exp $ -inherit eutils perl-module +WANT_AUTOCONF=latest +WANT_AUTOMAKE=latest + +inherit eutils perl-module autotools DESCRIPTION="Text based Instant Messenger and IRC client that supports protocols like Jabber and Gadu-Gadu" HOMEPAGE="http://dev.null.pl/ekg2/" @@ -30,7 +33,8 @@ DEPEND="jabber? ( >=dev-libs/expat-1.95.6 ) sqlite3? ( >=dev-db/sqlite-3 ) gif? ( media-libs/giflib ) gtk? ( >=x11-libs/gtk+-2.4 ) - xosd? ( x11-libs/xosd )" + xosd? ( x11-libs/xosd ) + virtual/libintl" pkg_setup() { if use unicode && ! built_with_use ncurses unicode; then @@ -39,14 +43,20 @@ pkg_setup() { fi } -src_compile() { - libtoolize --copy --force - epatch ${FILESDIR}/${P}-intl.patch +src_unpack() { + unpack ${A} + cd ${S} # Ekg2 has no debug configure option # Instead it features a runtime option which defaults to on ! use debug && epatch ${FILESDIR}/${P}-no-default-debug.patch + epatch ${FILESDIR}/${P}-intl.patch + AT_M4DIR=m4 eautoreconf +} + +src_compile() { + econf \ --with-pthread \ `use_with !nogg libgadu` \