summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-17 20:16:25 +0000
committerMike Frysinger <vapier@gentoo.org>2010-01-17 20:16:25 +0000
commitbabd6bb19e5044dbbd3d3e6fb113281cf5328dd2 (patch)
tree60f0bfe73de3e1445fe14c88b1de2aabecfea58d /app-admin/metalog
parentbad typo (diff)
downloadgentoo-2-babd6bb19e5044dbbd3d3e6fb113281cf5328dd2.tar.gz
gentoo-2-babd6bb19e5044dbbd3d3e6fb113281cf5328dd2.tar.bz2
gentoo-2-babd6bb19e5044dbbd3d3e6fb113281cf5328dd2.zip
Add USE=unicode support #264299 by Rafał Mużyło.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/metalog')
-rw-r--r--app-admin/metalog/ChangeLog7
-rw-r--r--app-admin/metalog/metalog-1.ebuild16
2 files changed, 15 insertions, 8 deletions
diff --git a/app-admin/metalog/ChangeLog b/app-admin/metalog/ChangeLog
index 02aeff19f501..facc4e1dcd1b 100644
--- a/app-admin/metalog/ChangeLog
+++ b/app-admin/metalog/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/metalog
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/ChangeLog,v 1.85 2009/09/10 15:53:49 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/ChangeLog,v 1.86 2010/01/17 20:16:25 vapier Exp $
+
+ 17 Jan 2010; Mike Frysinger <vapier@gentoo.org> metalog-1.ebuild:
+ Add USE=unicode support #264299 by Rafał Mużyło.
10 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> metalog-1.ebuild:
Fix xz-utils vs. lzma-utils deps.
diff --git a/app-admin/metalog/metalog-1.ebuild b/app-admin/metalog/metalog-1.ebuild
index 8074d9a94688..c245094d5f01 100644
--- a/app-admin/metalog/metalog-1.ebuild
+++ b/app-admin/metalog/metalog-1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-1.ebuild,v 1.2 2009/09/10 15:53:49 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/metalog/metalog-1.ebuild,v 1.3 2010/01/17 20:16:25 vapier Exp $
+
+EAPI="2"
inherit eutils
@@ -11,19 +13,21 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.lzma"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-IUSE=""
+IUSE="unicode"
RDEPEND=">=dev-libs/libpcre-3.4"
DEPEND="${RDEPEND}
|| ( app-arch/xz-utils app-arch/lzma-utils )"
PROVIDE="virtual/logger"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${PN}-0.9-metalog-conf.patch
}
+src_configure() {
+ econf $(use_with unicode)
+}
+
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog README NEWS metalog.conf