#!/bin/bash hvconfig_pre() { CONFIGURE_OPTS="\ ${CONFIGURE_OPTS} \ --prefix=/usr \ --sysconfdir=/etc/X11 \ --disable-debug \ --disable-build-tests \ --enable-production \ --with-xdnd \ --x-includes=/usr/include \ --x-libraries=/usr/lib" } hvconfig_post() { sed -i "s@libdir)/X11/mwm@sysconfdir)/mwm@" \ ${LFS_TMP}/${PACKAGE}/clients/Motif-2.1/mwm/Makefile } hvbuild() { cd ${LFS_TMP}/${PACKAGE} ${HVMAKE} rootdir=/usr/share/doc/${PACKAGE} ${HVMAKE} rootdir=/usr/share/doc/${PACKAGE} install } hvbuild_post() { # Applicatons that utilize Xorg libraries often, and incorrectly, expect to # find configuration files in /usr/lib/X11. While still the root # user, create a compatibility symlink with the following command: ln -v -sf /etc/X11/mwm /usr/lib/X11 }