[Devel] Request to change the default Solaris install program

Matty mattyml at prefetch.net
Mon Jul 24 17:26:22 CEST 2006


Howdy,

While reading through the release notes, I noticed that the GNU coreutils 
are required on Solaris hosts. After doing a bit of testing, it looks like 
/usr/ucb/install and either /usr/sfw/bin/gtar or /usr/bin/tar can be 
used in place of the coreutils variants. Would it be possible to get 
something like the following added to the Makefile.defs?:

# Line 165 in Makefile.defs
ifeq ($(OS), solaris)
     INSTALL=$(if [ -f /usr/ucb/install ]
                 then
                     echo "/usr/ucb/install"
                 else
                     echo "ginstall"
               fi)

     TAR=$(if [ -f /usr/sfw/bin/gtar ]
          then
                TAR="/usr/sfw/bin/gtar"
          else
                TAR="/usr/bin/tar"
          fi
else
     INSTALL ?= install
     TAR ?= tar
endif

Thanks,
- Ryan
--
UNIX Administrator
http://prefetch.net



More information about the Devel mailing list