Use 'pkgtool build-only' instead of 'pkgtool build'. It will build the packages but not install them.
Note that, if a module requires header files or libraries from another module, it will use the installed versions which may be older versions. This message posted from opensolaris.org
