Instead of making symlinks as per the note regarding FHS guidelines
violation in "X Window System Components", the following can
effectively put system.twmrc, app-defaults, and xinit under /etc/X11
directly:

case $(basename "$PWD") in #lib
  # ...
  libXt-[0-9]*)
    ./configure $XORG_CONFIG --with-appdefaultdir=/etc/X11/app-defaults
  ;;
esac


case $(basename "$PWD") in #app
  twm-[0-9]*)
    sed -i -e '/^rcdir =/s,^\(rcdir = \).*,\1/etc/X11,' src/Makefile.in
  ;;
  xinit-[0-9]*)
    sed -i -e '/^XINITDIR =/s,$(libdir),/etc,' Makefile.in
  ;;
esac
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to