vapier 14/11/15 06:20:07 Modified: gnuconfig.eclass Log: use $EPREFIX when looking for config.sub files #470146
Revision Changes Path 1.36 eclass/gnuconfig.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnuconfig.eclass?rev=1.36&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnuconfig.eclass?rev=1.36&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gnuconfig.eclass?r1=1.35&r2=1.36 Index: gnuconfig.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- gnuconfig.eclass 22 May 2013 06:03:08 -0000 1.35 +++ gnuconfig.eclass 15 Nov 2014 06:20:07 -0000 1.36 @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.35 2013/05/22 06:03:08 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnuconfig.eclass,v 1.36 2014/11/15 06:20:07 vapier Exp $ # # THIS ECLASS IS DEAD: It has been integrated into portage # @@ -88,10 +88,10 @@ # returns the directory where they can be found. gnuconfig_findnewest() { local locations=( - /usr/share/misc/config.sub - /usr/share/gnuconfig/config.sub - /usr/share/automake*/config.sub - /usr/share/libtool/config.sub + "${EPREFIX}"/usr/share/misc/config.sub + "${EPREFIX}"/usr/share/gnuconfig/config.sub + "${EPREFIX}"/usr/share/automake*/config.sub + "${EPREFIX}"/usr/share/libtool/config.sub ) grep -s '^timestamp' "${locations[@]}" | \ sort -r -n -t\' -k2 | \
