Add EAPI3 support to eautoreconf call - this commit aligns xfconf.eclass to the one...
authorJeremy Olexa <darkside@gentoo.org>
Mon, 22 Mar 2010 15:53:50 +0000 (15:53 +0000)
committerJeremy Olexa <darkside@gentoo.org>
Mon, 22 Mar 2010 15:53:50 +0000 (15:53 +0000)
eclass/xfconf.eclass

index ef41a38999bced43483a87635be8716d19f36922..5a2320187b7c0e4dab5aca5a1dd6ad16577c31b3 100644 (file)
@@ -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