Index: build_tools/make_build_h =================================================================== --- build_tools/make_build_h (revision 11634) +++ build_tools/make_build_h (working copy) @@ -3,7 +3,11 @@ KERNEL=`uname -r` MACHINE=`uname -m` OS=`uname -s` -USER=`id -un` +if [ `uname -s` = "SunOS" ]; then + USER=`/usr/xpg4/bin/id -un` +else + USER=`id -un` +fi DATE=`date -u "+%Y-%m-%d %H:%M:%S"` cat << END /* Index: Makefile =================================================================== --- Makefile (revision 11635) +++ Makefile (working copy) @@ -212,10 +212,12 @@ endif GREP=grep +ID=id ifeq ($(OSARCH),SunOS) GREP=/usr/xpg4/bin/grep M4=/usr/local/bin/m4 + ID=/usr/xpg4/bin/id endif INCLUDE+=-Iinclude -I../include @@ -539,7 +541,7 @@ $(MAKE) -C stdtime clean datafiles: all - if [ x`id -un` = xroot ]; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi + if [ x`$(ID) -un` = xroot ]; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/digits mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/priv-callerintros for x in sounds/digits/*.gsm; do \