summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Duft <mduft@gentoo.org>2011-06-14 12:40:01 +0000
committerMarkus Duft <mduft@gentoo.org>2011-06-14 12:40:01 +0000
commitc9b0fbaf4495fd2d698470a181cf67c598bbf300 (patch)
tree639f2bea95aec46b365593b65f1f7d9759fcaaa8 /x11-misc/xdg-user-dirs/xdg-user-dirs-0.14.ebuild
parentAdd patch to fix build with parallel make (bug #371399); version bump with EA... (diff)
downloadgentoo-2-c9b0fbaf4495fd2d698470a181cf67c598bbf300.tar.gz
gentoo-2-c9b0fbaf4495fd2d698470a181cf67c598bbf300.tar.bz2
gentoo-2-c9b0fbaf4495fd2d698470a181cf67c598bbf300.zip
added patch for --disable-nls, iconv not in libc, and missing strndup
(Portage version: 2.2.01.18761-prefix/cvs/Linux i686)
Diffstat (limited to 'x11-misc/xdg-user-dirs/xdg-user-dirs-0.14.ebuild')
-rw-r--r--x11-misc/xdg-user-dirs/xdg-user-dirs-0.14.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-misc/xdg-user-dirs/xdg-user-dirs-0.14.ebuild b/x11-misc/xdg-user-dirs/xdg-user-dirs-0.14.ebuild
index 942a5b1f1293..51c36d583b9b 100644
--- a/x11-misc/xdg-user-dirs/xdg-user-dirs-0.14.ebuild
+++ b/x11-misc/xdg-user-dirs/xdg-user-dirs-0.14.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdg-user-dirs/xdg-user-dirs-0.14.ebuild,v 1.1 2011/05/20 05:43:30 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdg-user-dirs/xdg-user-dirs-0.14.ebuild,v 1.2 2011/06/14 12:40:01 mduft Exp $
EAPI=4
+inherit eutils autotools
+
DESCRIPTION="A tool to help manage 'well known' user directories"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/xdg-user-dirs"
SRC_URI="http://user-dirs.freedesktop.org/releases/${P}.tar.gz"
@@ -18,6 +20,11 @@ DEPEND="nls? ( sys-devel/gettext )"
DOCS=( AUTHORS ChangeLog NEWS )
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-strndup-nls.patch
+ eautoreconf # for the above patch
+}
+
src_configure() {
econf $(use_enable nls)
}