The default make commands (/usr/ccs/bin/make, /usr/xpg4/bin/make) don't respect passing DESTDIR on the command line so if you do: make install prefix=/opt is not respected by: (cd scard && $(MAKE) DESTDIR=$(DESTDIR) install) If one uses gmake from the optional /usr/sfw/bin/gmake then it works just fine. This is very minor, and probably won't be run across by many others.
we can pass DESTDIR via: env DESTDIR=$(DESTDIR) make as env(1) seems to be POSIX.
Created attachment 1676 [details] pass DESTDIR in env var This passes DESTDIR via the environment. Please test.
Comment on attachment 1676 [details] pass DESTDIR in env var works for me (solaris 10 x86 using /usr/ccs/bin/make)
patch applied - this will be in 5.3
Mass move of RESOLVED bugs to CLOSED now that 5.3 is out.