summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-03-22 15:53:50 +0000
committerJeremy Olexa <darkside@gentoo.org>2010-03-22 15:53:50 +0000
commit61cc2c001af04fa9105322ce4803f3cbe770e867 (patch)
tree62e6ef2931c8006ac3b60bfa4ab763ee9ed684dd /eclass
parentQA: Mask app-forensics/shamhain for removal. (diff)
downloadgentoo-2-61cc2c001af04fa9105322ce4803f3cbe770e867.tar.gz
gentoo-2-61cc2c001af04fa9105322ce4803f3cbe770e867.tar.bz2
gentoo-2-61cc2c001af04fa9105322ce4803f3cbe770e867.zip
Add EAPI3 support to eautoreconf call - this commit aligns xfconf.eclass to the one used in Gentoo Prefix overlay
Diffstat (limited to 'eclass')
-rw-r--r--eclass/xfconf.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
index ef41a38999bc..5a2320187b7c 100644
--- a/eclass/xfconf.eclass
+++ b/eclass/xfconf.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.7 2010/01/23 17:36:34 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.8 2010/03/22 15:53:50 darkside Exp $
# @ECLASS: xfconf.eclass
# @MAINTAINER:
@@ -82,7 +82,8 @@ xfconf_src_prepare() {
fi
if [[ "${EAUTORECONF}" == "yes" ]]; then
- AT_M4DIR="/usr/share/xfce4/dev-tools/m4macros" eautoreconf
+ has "${EAPI:-0}" 0 1 2 && EPREFIX=
+ AT_M4DIR="${EPREFIX}/usr/share/xfce4/dev-tools/m4macros" eautoreconf
else
elibtoolize
fi