# author: hackbard@hackdaworld.dyndns.org
-# [V] 6.8.2
+# [V] 6.9.0
# [S] 3-3
-# [D] X11R6.8.2-src1.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
-# [D] X11R6.8.2-src2.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
-# [D] X11R6.8.2-src3.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
-# [D] X11R6.8.2-src4.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
-# [D] X11R6.8.2-src5.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
-# [D] X11R6.8.2-src6.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
-# [D] X11R6.8.2-src7.tar.gz http://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/
+# [D] X11R6.9.0-src1.tar.gz ftp://x.mirrors.skynet.be/pub/x.org/pub/X11R6.9.0/src/
+# [D] X11R6.9.0-src2.tar.gz ftp://x.mirrors.skynet.be/pub/x.org/pub/X11R6.9.0/src/
+# [D] X11R6.9.0-src3.tar.gz ftp://x.mirrors.skynet.be/pub/x.org/pub/X11R6.9.0/src/
+# [D] X11R6.9.0-src4.tar.gz ftp://x.mirrors.skynet.be/pub/x.org/pub/X11R6.9.0/src/
+# [D] X11R6.9.0-src5.tar.gz ftp://x.mirrors.skynet.be/pub/x.org/pub/X11R6.9.0/src/
+# [D] X11R6.9.0-src6.tar.gz ftp://x.mirrors.skynet.be/pub/x.org/pub/X11R6.9.0/src/
+# [D] X11R6.9.0-src7.tar.gz ftp://x.mirrors.skynet.be/pub/x.org/pub/X11R6.9.0/src/
custmain="1"
custmain() {
sed "s%#include <linux/config.h>%/* & */%g" $file > ${file}.tmp
mv ${file}.tmp $file
done
+
+ # need types.h for agp
+ file="programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c"
+ sed "s@*/@*/\n#include <linux/types.h>\n@" $file > tmp~
+ mv tmp~ $file
+
+ # no init scripts in /etc
+ file="programs/Xserver/Xprint/Imakefile"
+ sed "/^SUBDIRS =/s/ etc$//" $file > tmp~
+ mv tmp~ $file
+
+ # copy host.def
+ cp -v $confdir/host.def config/cf/host.def
- # build $ install
+ # build & install
make World && make install && make install.man &&
# add entry to /etc/ld.so.conf
[ -z `grep 'X11' $root/etc/ld.so.conf` ] && \
echo "/usr/X11R6/lib" >> $root/etc/ld.so.conf
- # remove xprint.csh file
- rm -v $root/etc/profile.d/xprint.csh
-
# symlink
ln -svf X11R6 $root/usr/X11
ln -svf ../X11R6/bin $prefix/bin/X11