--- src/tools/port/jam/bldenv 2009-10-13 09:15:23.000000000 +0200 +++ src/tools/port/jam/bldenv 2009-10-13 09:16:37.000000000 +0200 @@ -285,6 +285,19 @@ gtk_need=false deb=true instcmd="apt-get install" + elif [ -f /etc/gentoo-release ] ; then + export OSVER=GENTOO + gtk_need=false + rpm_need=false + export XERCESCROOT=/usr/include/xercesc + if [ -f /usr/lib/libxerces-c.so ]; then + export XERCESLOC=/usr/lib + fi + XERCESCLIB=`readlink -n ${XERCESLOC}/libxerces-c.so` + if [ -z "$XERCESCLIB" ]; then + XERCESCLIB=libxerces-c.so + fi + export XERCESCLIB elif [ -r /etc/redhat-release ] ; then os=`cat /etc/redhat-release | cut -d' ' -f1` if [ "$os" = "Fedora" ] ; then