Fix building of s3 and xgi drivers

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7982 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
DJ Lucas 2009-08-25 06:12:05 +00:00
parent f13cc6f906
commit 153a834eb7

View File

@ -113,6 +113,14 @@ xf86-video-newport-[0-9]* )
-e "s/\xc3\x9c/\\\\[:U]/" man/*.man
;;
esac &&
case $(basename "$PWD") in
xf86-video-s3-[0-9]* | xf86-video-xgi-[0-9]* )
for file in `grep -Rl "xf86Version.h" *`
do
sed 's@xf86Version.h@xorgVersion.h@g' -i "$file"
done
;;
esac &&
./configure $XORG_CONFIG \
--with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules &&
make</userinput></screen>