--- /usr/portage/eclass/subversion.eclass 2008-05-27 12:06:31.000000000 +0200 +++ /usr/local/portage/eclass/subversion.eclass 2008-10-14 20:57:04.000000000 +0200 @@ -169,6 +169,10 @@ case "${protocol}" in http|https) + # We have to fake the ROOT variable for built_with_use to work in + # e.g. cross-compile environments. + OLDROOT=${ROOT} + ROOT="/" if ! built_with_use --missing true -o dev-util/subversion webdav-neon webdav-serf || \ built_with_use --missing false dev-util/subversion nowebdav ; then echo @@ -178,6 +182,8 @@ echo die "${ESVN}: reinstall Subversion with support for WebDAV." fi + # Reset the ROOT variable to the original one + ROOT=${OLDROOT} ;; svn|svn+ssh) ;;