diff options
author | 2010-03-22 15:53:50 +0000 | |
---|---|---|
committer | 2010-03-22 15:53:50 +0000 | |
commit | 287830a6a627f0de8636bbfe40b6171125c03ad5 (patch) | |
tree | f7606362e9eac8c1ebe18478d6c99df3ea9b905e /eclass/xfconf.eclass | |
parent | QA: Mask app-forensics/shamhain for removal. (diff) | |
download | historical-287830a6a627f0de8636bbfe40b6171125c03ad5.tar.gz historical-287830a6a627f0de8636bbfe40b6171125c03ad5.tar.bz2 historical-287830a6a627f0de8636bbfe40b6171125c03ad5.zip |
Add EAPI3 support to eautoreconf call - this commit aligns xfconf.eclass to the one used in Gentoo Prefix overlay
Diffstat (limited to 'eclass/xfconf.eclass')
-rw-r--r-- | eclass/xfconf.eclass | 5 |
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 |