--- build.orig 2015-11-05 18:10:02 UTC +++ build @@ -22,7 +22,7 @@ if [ -d conf/unixconf ]; then echo '#######################################################################'> conf/mkheader.in echo '####### Makefile generated by build script ############################'>> conf/mkheader.in echo VERSION = $version>> conf/mkheader.in - echo DATE = `/bin/date`>> conf/mkheader.in + echo DATE = `/usr/bin/env LANG=C /bin/date`>> conf/mkheader.in echo '#######################################################################'>> conf/mkheader.in cat conf/unixconf/mkheader.0 >> conf/mkheader.in else @@ -51,7 +51,7 @@ if [ -f conf/util/configure ]; then if [ `uname -s` = Darwin -a -d /opt/X11 ]; then util/configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib -srcdir . else - util/configure -srcdir . + util/configure --prefix=${PREFIX} --x-includes=${LOCALBASE}/include --x-libraries=${LOCALBASE}/lib -srcdir . fi if [ ! -f ../src/include/config.h ] || \ @@ -102,8 +102,14 @@ if [ -f conf/mkheader ]; then fi echo Creating makefiles in the subdirectories... $makeprog make + if [ $? -ne 0 ]; then + exit $? + fi echo ...done $makeprog all 2> ../../errs + if [ $? -ne 0 ]; then + exit $? + fi echo done echo Check the errs file for any problems. echo To finish the installation, cd to src/bin, become root, and type