15786608 SUNBT7162754 create new meta package developer/opensolaris/userland s11-update
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Thu, 19 Mar 2015 20:44:31 -0700
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3994 3781477accf3
child 3999 da604685a0ed
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
components/Makefile
components/a2ps/Makefile
components/a2ps/resolve.deps
components/aalib/Makefile
components/aalib/resolve.deps
components/acpidump/Makefile
components/acpidump/resolve.deps
components/ant/Makefile
components/ant/resolve.deps
components/antlr/Makefile
components/antlr/resolve.deps
components/apache2-modules/mod_dtrace/Makefile
components/apache2-modules/mod_dtrace/resolve.deps
components/apache2-modules/mod_fcgid/Makefile
components/apache2-modules/mod_fcgid/resolve.deps
components/apache2-modules/mod_jk/Makefile
components/apache2-modules/mod_jk/resolve.deps
components/apache2-modules/mod_perl/Makefile
components/apache2-modules/mod_perl/resolve.deps
components/apache2-modules/mod_proxy_html/Makefile
components/apache2-modules/mod_proxy_html/resolve.deps
components/apache2-modules/mod_security2/Makefile
components/apache2-modules/mod_security2/resolve.deps
components/apache2-modules/mod_wsgi/Makefile
components/apache2-modules/mod_wsgi/resolve.deps
components/apache2/Makefile
components/apache2/resolve.deps
components/apache24/Makefile
components/apache24/resolve.deps
components/apr-1_5/Makefile
components/apr-1_5/resolve.deps
components/apr-util-1_5/Makefile
components/apr-util-1_5/resolve.deps
components/apr-util/Makefile
components/apr-util/resolve.deps
components/apr/Makefile
components/apr/resolve.deps
components/areca/Makefile
components/areca/resolve.deps
components/autoconf/Makefile
components/autoconf/resolve.deps
components/autogen/Makefile
components/autogen/resolve.deps
components/automake/automake-1.10/Makefile
components/automake/automake-1.10/resolve.deps
components/automake/automake-1.11.2/Makefile
components/automake/automake-1.11.2/resolve.deps
components/automake/automake-1.9.6/Makefile
components/automake/automake-1.9.6/resolve.deps
components/bash/Makefile
components/bash/resolve.deps
components/bcc/Makefile
components/bcc/resolve.deps
components/beanshell/Makefile
components/beanshell/resolve.deps
components/berkeleydb/Makefile
components/berkeleydb/resolve.deps
components/bind/Makefile
components/bind/resolve.deps
components/binutils/Makefile
components/binutils/resolve.deps
components/bison/Makefile
components/bison/resolve.deps
components/bzip2/Makefile
components/bzip2/resolve.deps
components/cdrtools/Makefile
components/cdrtools/resolve.deps
components/clisp/Makefile
components/clisp/resolve.deps
components/cmake/Makefile
components/cmake/resolve.deps
components/common/Makefile
components/common/resolve.deps
components/conflict/Makefile
components/conflict/resolve.deps
components/convmv/Makefile
components/convmv/resolve.deps
components/coreutils/Makefile
components/coreutils/resolve.deps
components/cups/Makefile
components/cups/resolve.deps
components/curl/Makefile
components/curl/resolve.deps
components/cvs/Makefile
components/cvs/resolve.deps
components/diffstat/Makefile
components/diffstat/resolve.deps
components/diffutils/Makefile
components/diffutils/resolve.deps
components/dnsmasq/Makefile
components/dnsmasq/resolve.deps
components/doxygen/Makefile
components/doxygen/resolve.deps
components/ejabberd/Makefile
components/ejabberd/resolve.deps
components/elinks/Makefile
components/elinks/resolve.deps
components/emacs/Makefile
components/emacs/resolve.deps
components/enscript/Makefile
components/enscript/resolve.deps
components/erlang/Makefile
components/erlang/resolve.deps
components/fastcgi/Makefile
components/fastcgi/resolve.deps
components/fetchmail/Makefile
components/fetchmail/resolve.deps
components/findutils/Makefile
components/findutils/resolve.deps
components/flex/Makefile
components/flex/resolve.deps
components/foomatic/db-engine/Makefile
components/foomatic/db-engine/resolve.deps
components/foomatic/db/Makefile
components/foomatic/filters/Makefile
components/foomatic/filters/resolve.deps
components/foomatic/fppd/Makefile
components/fping/Makefile
components/fping/resolve.deps
components/gawk/Makefile
components/gawk/resolve.deps
components/gcc3/Makefile
components/gcc3/resolve.deps
components/gcc45/Makefile
components/gcc45/resolve.deps
components/gcc47/Makefile
components/gcc47/resolve.deps
components/gcc48/Makefile
components/gcc48/resolve.deps
components/gd2/Makefile
components/gd2/resolve.deps
components/gdb/Makefile
components/gdb/resolve.deps
components/gdbm/Makefile
components/gdbm/resolve.deps
components/getopt/Makefile
components/getopt/resolve.deps
components/gettext/Makefile
components/gettext/resolve.deps
components/ggrep/Makefile
components/ggrep/resolve.deps
components/ghostscript/Makefile
components/ghostscript/resolve.deps
components/git/Makefile
components/git/resolve.deps
components/gnu-gs-fonts-other/Makefile
components/gnu-gs-fonts-std/Makefile
components/gnump/Makefile
components/gnump/resolve.deps
components/gnupg/Makefile
components/gnupg/resolve.deps
components/gnuplot/Makefile
components/gnuplot/resolve.deps
components/gnupth/Makefile
components/gnupth/resolve.deps
components/gocr/Makefile
components/gocr/resolve.deps
components/gperf/Makefile
components/gperf/resolve.deps
components/gpgme/Makefile
components/gpgme/resolve.deps
components/grails/Makefile
components/grails/resolve.deps
components/graphviz/Makefile
components/graphviz/resolve.deps
components/groff/Makefile
components/groff/resolve.deps
components/gtar/Makefile
components/gtar/resolve.deps
components/guile/Makefile
components/guile/resolve.deps
components/gutenprint/Makefile
components/gutenprint/resolve.deps
components/gzip/Makefile
components/gzip/resolve.deps
components/hal-cups-utils/Makefile
components/hal-cups-utils/resolve.deps
components/hexedit/Makefile
components/hexedit/resolve.deps
components/hplip/Makefile
components/hplip/resolve.deps
components/httping/Makefile
components/httping/resolve.deps
components/hwdata/Makefile
components/iftop/Makefile
components/iftop/resolve.deps
components/ilmbase/Makefile
components/ilmbase/resolve.deps
components/imagemagick/Makefile
components/imagemagick/resolve.deps
components/indent/Makefile
components/indent/resolve.deps
components/iperf/Makefile
components/iperf/resolve.deps
components/ircii/Makefile
components/ircii/resolve.deps
components/isc-dhcp/Makefile
components/isc-dhcp/resolve.deps
components/jsl/Makefile
components/jsl/resolve.deps
components/junit/Makefile
components/junit/resolve.deps
components/ksh93/Makefile
components/ksh93/resolve.deps
components/lcms/Makefile
components/lcms/resolve.deps
components/less/Makefile
components/less/resolve.deps
components/lftp/Makefile
components/lftp/resolve.deps
components/libarchive/Makefile
components/libarchive/resolve.deps
components/libassuan/Makefile
components/libassuan/resolve.deps
components/libconfuse/Makefile
components/libconfuse/resolve.deps
components/libedit/Makefile
components/libedit/resolve.deps
components/libee/Makefile
components/libee/resolve.deps
components/libestr/Makefile
components/libestr/resolve.deps
components/libevent/Makefile
components/libevent/resolve.deps
components/libexpat/Makefile
components/libexpat/resolve.deps
components/libidn/Makefile
components/libidn/resolve.deps
components/libksba/Makefile
components/libksba/resolve.deps
components/libmcrypt/Makefile
components/libmcrypt/resolve.deps
components/libmemcached/Makefile
components/libmemcached/resolve.deps
components/libmng/Makefile
components/libmng/resolve.deps
components/libneon/Makefile
components/libneon/resolve.deps
components/libnet/Makefile
components/libnet/resolve.deps
components/libpcap/Makefile
components/libpcap/resolve.deps
components/librsync/Makefile
components/librsync/resolve.deps
components/libsigsegv/Makefile
components/libsigsegv/resolve.deps
components/libsndfile/Makefile
components/libsndfile/resolve.deps
components/libtecla/Makefile
components/libtecla/resolve.deps
components/libtool/Makefile
components/libtool/resolve.deps
components/libtorrent/Makefile
components/libtorrent/resolve.deps
components/libusb/ugen/Makefile
components/libusb/ugen/resolve.deps
components/libusb/wrapper/Makefile
components/libusb/wrapper/resolve.deps
components/libxml2/Makefile
components/libxml2/resolve.deps
components/libxslt/Makefile
components/libxslt/resolve.deps
components/lighttpd/Makefile
components/lighttpd/resolve.deps
components/links/Makefile
components/links/resolve.deps
components/logilab-astng/Makefile
components/logilab-astng/resolve.deps
components/logilab-common/Makefile
components/logilab-common/resolve.deps
components/lua/Makefile
components/lua/resolve.deps
components/lynx/Makefile
components/lynx/resolve.deps
components/m4/Makefile
components/m4/resolve.deps
components/mailman/Makefile
components/mailman/resolve.deps
components/make/Makefile
components/make/resolve.deps
components/mc/Makefile
components/mc/resolve.deps
components/meld/Makefile
components/meld/resolve.deps
components/memcached-java/Makefile
components/memcached-java/resolve.deps
components/memcached/Makefile
components/memcached/resolve.deps
components/mercurial/Makefile
components/mercurial/resolve.deps
components/meta-packages/developer-opensolaris-userland/Makefile
components/meta-packages/developer-opensolaris-userland/developer-opensolaris-userland.p5m
components/meta-packages/history/Makefile
components/mlocate/Makefile
components/mlocate/resolve.deps
components/mpc/Makefile
components/mpc/resolve.deps
components/mpfr/Makefile
components/mpfr/resolve.deps
components/mutt/Makefile
components/mutt/resolve.deps
components/mysql-5-1/Makefile
components/mysql-5-1/resolve.deps
components/mysql-5-5/Makefile
components/mysql-5-5/resolve.deps
components/mysql-common/Makefile
components/mysql-common/resolve.deps
components/ncftp/Makefile
components/ncftp/resolve.deps
components/ncurses/Makefile
components/ncurses/resolve.deps
components/net-snmp/Makefile
components/net-snmp/resolve.deps
components/nethack/Makefile
components/nethack/resolve.deps
components/nmap/Makefile
components/nmap/resolve.deps
components/novnc/Makefile
components/novnc/resolve.deps
components/ntp/Makefile
components/ntp/resolve.deps
components/open-fabrics/Makefile
components/open-fabrics/ibutils/Makefile
components/open-fabrics/infiniband-diags/Makefile
components/open-fabrics/libibmad/Makefile
components/open-fabrics/libibumad/Makefile
components/open-fabrics/libibverbs/Makefile
components/open-fabrics/libmlx4/Makefile
components/open-fabrics/librdmacm/Makefile
components/open-fabrics/libsdp/Makefile
components/open-fabrics/opensm/Makefile
components/open-fabrics/perftest/Makefile
components/open-fabrics/qperf/Makefile
components/open-fabrics/rds-tools/Makefile
components/open-fabrics/resolve.deps
components/openexr/Makefile
components/openexr/resolve.deps
components/openldap/Makefile
components/openldap/resolve.deps
components/openscap/Makefile
components/openscap/resolve.deps
components/openssh/Makefile
components/openssh/resolve.deps
components/openssl/openssl-1.0.1-fips-140/Makefile
components/openssl/openssl-1.0.1-fips-140/resolve.deps
components/openssl/openssl-1.0.1/Makefile
components/openssl/openssl-1.0.1/resolve.deps
components/openssl/openssl-fips/Makefile
components/openstack/cinder/Makefile
components/openstack/cinder/resolve.deps
components/openstack/common/Makefile
components/openstack/common/resolve.deps
components/openstack/glance/Makefile
components/openstack/glance/resolve.deps
components/openstack/heat/Makefile
components/openstack/heat/resolve.deps
components/openstack/horizon/Makefile
components/openstack/horizon/resolve.deps
components/openstack/keystone/Makefile
components/openstack/keystone/resolve.deps
components/openstack/neutron/Makefile
components/openstack/neutron/resolve.deps
components/openstack/nova/Makefile
components/openstack/nova/resolve.deps
components/openstack/swift/Makefile
components/openstack/swift/resolve.deps
components/openusb/Makefile
components/openusb/resolve.deps
components/p7zip/Makefile
components/p7zip/resolve.deps
components/pam_pkcs11/Makefile
components/pam_pkcs11/resolve.deps
components/parallel/Makefile
components/parallel/resolve.deps
components/patch/Makefile
components/patch/resolve.deps
components/pbzip2/Makefile
components/pbzip2/resolve.deps
components/pconsole/Makefile
components/pconsole/resolve.deps
components/pcre/Makefile
components/pcre/resolve.deps
components/perl512/Makefile
components/perl512/resolve.deps
components/perl_modules/DBI/Makefile
components/perl_modules/DBI/resolve.deps
components/perl_modules/authen-pam/Makefile
components/perl_modules/authen-pam/resolve.deps
components/perl_modules/cssh/Makefile
components/perl_modules/cssh/resolve.deps
components/perl_modules/net-ssleay/Makefile
components/perl_modules/net-ssleay/resolve.deps
components/perl_modules/perl-tk/Makefile
components/perl_modules/perl-tk/resolve.deps
components/perl_modules/perl-x11-protocol/Makefile
components/perl_modules/perl-x11-protocol/resolve.deps
components/perl_modules/pmtools/Makefile
components/perl_modules/pmtools/resolve.deps
components/perl_modules/xml-libxml/Makefile
components/perl_modules/xml-libxml/resolve.deps
components/perl_modules/xml-namespacesupport/Makefile
components/perl_modules/xml-namespacesupport/resolve.deps
components/perl_modules/xml-parser/Makefile
components/perl_modules/xml-parser/resolve.deps
components/perl_modules/xml-sax-base/Makefile
components/perl_modules/xml-sax-base/resolve.deps
components/perl_modules/xml-sax/Makefile
components/perl_modules/xml-sax/resolve.deps
components/perl_modules/xml-simple/Makefile
components/perl_modules/xml-simple/resolve.deps
components/php-5_2/Makefile
components/php-5_2/extensions-zts.mk
components/php-5_2/extensions.mk
components/php-5_2/imap/Makefile
components/php-5_2/php-cgi/Makefile
components/php-5_2/php-nsapi/Makefile
components/php-5_2/php-sapi/Makefile
components/php-5_2/resolve.deps
components/php-5_3/Makefile
components/php-5_3/extensions-zts.mk
components/php-5_3/extensions.mk
components/php-5_3/imap/Makefile
components/php-5_3/php-cgi/Makefile
components/php-5_3/php-nsapi/Makefile
components/php-5_3/php-sapi/Makefile
components/php-5_3/resolve.deps
components/php-common/Makefile
components/php-common/resolve.deps
components/pigz/Makefile
components/pigz/resolve.deps
components/pinentry/Makefile
components/pinentry/resolve.deps
components/pixz/Makefile
components/pixz/resolve.deps
components/pkg-config/Makefile
components/pkg-config/resolve.deps
components/popt/Makefile
components/popt/resolve.deps
components/privoxy/Makefile
components/privoxy/resolve.deps
components/procmail/Makefile
components/procmail/resolve.deps
components/proftpd/Makefile
components/proftpd/resolve.deps
components/psutils/Makefile
components/psutils/resolve.deps
components/ptp/Makefile
components/ptp/resolve.deps
components/pv/Makefile
components/pv/resolve.deps
components/pwgen/Makefile
components/pwgen/resolve.deps
components/pylint/Makefile
components/pylint/resolve.deps
components/python/alembic/Makefile
components/python/alembic/resolve.deps
components/python/amqp/Makefile
components/python/amqp/resolve.deps
components/python/anyjson/Makefile
components/python/anyjson/resolve.deps
components/python/argparse/Makefile
components/python/argparse/resolve.deps
components/python/babel/Makefile
components/python/babel/resolve.deps
components/python/beautifulsoup4/Makefile
components/python/beautifulsoup4/resolve.deps
components/python/boto/Makefile
components/python/boto/resolve.deps
components/python/ceilometerclient/Makefile
components/python/ceilometerclient/resolve.deps
components/python/cffi/Makefile
components/python/cffi/resolve.deps
components/python/cheetah/Makefile
components/python/cheetah/resolve.deps
components/python/cherrypy/Makefile
components/python/cherrypy/resolve.deps
components/python/cinderclient/Makefile
components/python/cinderclient/resolve.deps
components/python/cliff/Makefile
components/python/cliff/resolve.deps
components/python/cmd2/Makefile
components/python/cmd2/resolve.deps
components/python/cov-core/Makefile
components/python/cov-core/resolve.deps
components/python/coverage/Makefile
components/python/coverage/resolve.deps
components/python/cssutils/Makefile
components/python/cssutils/resolve.deps
components/python/d2to1/Makefile
components/python/d2to1/resolve.deps
components/python/decorator/Makefile
components/python/decorator/resolve.deps
components/python/django-appconf/Makefile
components/python/django-appconf/resolve.deps
components/python/django/Makefile
components/python/django/resolve.deps
components/python/django_compressor/Makefile
components/python/django_compressor/resolve.deps
components/python/django_openstack_auth/Makefile
components/python/django_openstack_auth/resolve.deps
components/python/dnspython/Makefile
components/python/dnspython/resolve.deps
components/python/dogpile.cache/Makefile
components/python/dogpile.cache/resolve.deps
components/python/dogpile.core/Makefile
components/python/dogpile.core/resolve.deps
components/python/eventlet/Makefile
components/python/eventlet/resolve.deps
components/python/filechunkio/Makefile
components/python/filechunkio/resolve.deps
components/python/formencode/Makefile
components/python/formencode/resolve.deps
components/python/glanceclient/Makefile
components/python/glanceclient/resolve.deps
components/python/greenlet/Makefile
components/python/greenlet/resolve.deps
components/python/heatclient/Makefile
components/python/heatclient/resolve.deps
components/python/httplib2/Makefile
components/python/httplib2/resolve.deps
components/python/imaging/Makefile
components/python/imaging/resolve.deps
components/python/importlib/Makefile
components/python/importlib/resolve.deps
components/python/ipython/Makefile
components/python/ipython/resolve.deps
components/python/iso8601/Makefile
components/python/iso8601/resolve.deps
components/python/jinja2/Makefile
components/python/jinja2/resolve.deps
components/python/jsonpatch/Makefile
components/python/jsonpatch/resolve.deps
components/python/jsonpointer/Makefile
components/python/jsonpointer/resolve.deps
components/python/jsonrpclib/Makefile
components/python/jsonrpclib/resolve.deps
components/python/jsonschema/Makefile
components/python/jsonschema/resolve.deps
components/python/keystoneclient/Makefile
components/python/keystoneclient/resolve.deps
components/python/kombu/Makefile
components/python/kombu/resolve.deps
components/python/ldtp/Makefile
components/python/ldtp/resolve.deps
components/python/lesscpy/Makefile
components/python/lesscpy/resolve.deps
components/python/librabbitmq/Makefile
components/python/librabbitmq/resolve.deps
components/python/lockfile/Makefile
components/python/lockfile/resolve.deps
components/python/m2crypto/Makefile
components/python/m2crypto/resolve.deps
components/python/mako/Makefile
components/python/mako/resolve.deps
components/python/markdown/Makefile
components/python/markdown/resolve.deps
components/python/markupsafe/Makefile
components/python/markupsafe/resolve.deps
components/python/mock/Makefile
components/python/mock/resolve.deps
components/python/mysql/Makefile
components/python/mysql/resolve.deps
components/python/netaddr/Makefile
components/python/netaddr/resolve.deps
components/python/netifaces/Makefile
components/python/netifaces/resolve.deps
components/python/neutronclient/Makefile
components/python/neutronclient/resolve.deps
components/python/nose-cover3/Makefile
components/python/nose-cover3/resolve.deps
components/python/nose/Makefile
components/python/nose/resolve.deps
components/python/novaclient/Makefile
components/python/novaclient/resolve.deps
components/python/ordereddict/Makefile
components/python/ordereddict/resolve.deps
components/python/oslo.config/Makefile
components/python/oslo.config/resolve.deps
components/python/passlib/Makefile
components/python/passlib/resolve.deps
components/python/paste.deploy/Makefile
components/python/paste.deploy/resolve.deps
components/python/paste/Makefile
components/python/paste/resolve.deps
components/python/pbr/Makefile
components/python/pbr/resolve.deps
components/python/pep8/Makefile
components/python/pep8/resolve.deps
components/python/pip/Makefile
components/python/pip/resolve.deps
components/python/ply/Makefile
components/python/ply/resolve.deps
components/python/prettytable/Makefile
components/python/prettytable/resolve.deps
components/python/py/Makefile
components/python/py/resolve.deps
components/python/pyasn1-modules/Makefile
components/python/pyasn1-modules/resolve.deps
components/python/pyasn1/Makefile
components/python/pyasn1/resolve.deps
components/python/pybonjour/Makefile
components/python/pybonjour/resolve.deps
components/python/pycountry/Makefile
components/python/pycountry/resolve.deps
components/python/pycparser/Makefile
components/python/pycparser/resolve.deps
components/python/pycups/Makefile
components/python/pycups/resolve.deps
components/python/pycurl/Makefile
components/python/pycurl/resolve.deps
components/python/pydns/Makefile
components/python/pydns/resolve.deps
components/python/pyflakes/Makefile
components/python/pyflakes/resolve.deps
components/python/pygments/Makefile
components/python/pygments/resolve.deps
components/python/pylxml/Makefile
components/python/pylxml/resolve.deps
components/python/pyopenssl/Makefile
components/python/pyopenssl/resolve.deps
components/python/pyparsing/Makefile
components/python/pyparsing/resolve.deps
components/python/pyrabbit/Makefile
components/python/pyrabbit/resolve.deps
components/python/pytest-capturelog/Makefile
components/python/pytest-capturelog/resolve.deps
components/python/pytest-codecheckers/Makefile
components/python/pytest-codecheckers/resolve.deps
components/python/pytest-cov/Makefile
components/python/pytest-cov/resolve.deps
components/python/pytest/Makefile
components/python/pytest/resolve.deps
components/python/python-ldap/Makefile
components/python/python-ldap/resolve.deps
components/python/python-memcached/Makefile
components/python/python-memcached/resolve.deps
components/python/python26/Makefile
components/python/python26/resolve.deps
components/python/python27/Makefile
components/python/python27/resolve.deps
components/python/python34/Makefile
components/python/python34/resolve.deps
components/python/pytz/Makefile
components/python/pytz/resolve.deps
components/python/pywbem/Makefile
components/python/pywbem/resolve.deps
components/python/pyyaml/Makefile
components/python/pyyaml/resolve.deps
components/python/quantumclient/Makefile
components/python/quantumclient/resolve.deps
components/python/repoze.lru/Makefile
components/python/repoze.lru/resolve.deps
components/python/requests/Makefile
components/python/requests/resolve.deps
components/python/routes/Makefile
components/python/routes/resolve.deps
components/python/setuptools-git/Makefile
components/python/setuptools-git/resolve.deps
components/python/setuptools/Makefile
components/python/setuptools/resolve.deps
components/python/simplejson/Makefile
components/python/simplejson/resolve.deps
components/python/six/Makefile
components/python/six/resolve.deps
components/python/sqlalchemy-migrate/Makefile
components/python/sqlalchemy-migrate/resolve.deps
components/python/sqlalchemy/Makefile
components/python/sqlalchemy/resolve.deps
components/python/stevedore/Makefile
components/python/stevedore/resolve.deps
components/python/suds/Makefile
components/python/suds/resolve.deps
components/python/swiftclient/Makefile
components/python/swiftclient/resolve.deps
components/python/tempita/Makefile
components/python/tempita/resolve.deps
components/python/tox/Makefile
components/python/tox/resolve.deps
components/python/troveclient/Makefile
components/python/troveclient/resolve.deps
components/python/twisted-web2/Makefile
components/python/twisted-web2/resolve.deps
components/python/twisted/Makefile
components/python/twisted/resolve.deps
components/python/unittest2/Makefile
components/python/unittest2/resolve.deps
components/python/virtualenv/Makefile
components/python/virtualenv/resolve.deps
components/python/waitress/Makefile
components/python/waitress/resolve.deps
components/python/warlock/Makefile
components/python/warlock/resolve.deps
components/python/webob/Makefile
components/python/webob/resolve.deps
components/python/websockify/Makefile
components/python/websockify/resolve.deps
components/python/webtest/Makefile
components/python/webtest/resolve.deps
components/python/xattr/Makefile
components/python/xattr/resolve.deps
components/python/zope-interface/Makefile
components/python/zope-interface/resolve.deps
components/quagga/Makefile
components/quagga/resolve.deps
components/quilt/Makefile
components/quilt/resolve.deps
components/rabbitmq/Makefile
components/rabbitmq/resolve.deps
components/rdiff-backup/Makefile
components/rdiff-backup/resolve.deps
components/readline/Makefile
components/readline/resolve.deps
components/rpm2cpio/Makefile
components/rpm2cpio/resolve.deps
components/rsync/Makefile
components/rsync/resolve.deps
components/rsyslog/Makefile
components/rsyslog/resolve.deps
components/rtorrent/Makefile
components/rtorrent/resolve.deps
components/ruby/facter/Makefile
components/ruby/facter/resolve.deps
components/ruby/hiera/Makefile
components/ruby/hiera/resolve.deps
components/ruby/puppet/Makefile
components/ruby/puppet/resolve.deps
components/ruby/ruby-18/Makefile
components/ruby/ruby-18/resolve.deps
components/ruby/ruby-19/Makefile
components/ruby/ruby-19/resolve.deps
components/ruby/ruby-common/Makefile
components/samba/mozldap/Makefile
components/samba/samba/Makefile
components/samba/samba/resolve.deps
components/samba/samba30/Makefile
components/samba/samba30/resolve.deps
components/sane-backends/Makefile
components/sane-backends/resolve.deps
components/sane-frontends/Makefile
components/sane-frontends/resolve.deps
components/screen/Makefile
components/screen/resolve.deps
components/sed/Makefile
components/sed/resolve.deps
components/sg3_utils/Makefile
components/sg3_utils/resolve.deps
components/slang/Makefile
components/slang/resolve.deps
components/slib/Makefile
components/slib/resolve.deps
components/slrn/Makefile
components/slrn/resolve.deps
components/snort/Makefile
components/snort/resolve.deps
components/sox/Makefile
components/sox/resolve.deps
components/spawn-fcgi/Makefile
components/spawn-fcgi/resolve.deps
components/squid/Makefile
components/squid/resolve.deps
components/stdcxx/Makefile
components/stdcxx/resolve.deps
components/stunnel/Makefile
components/stunnel/resolve.deps
components/subversion/Makefile
components/subversion/resolve.deps
components/sudo/Makefile
components/sudo/resolve.deps
components/swig/Makefile
components/swig/resolve.deps
components/tcl/expect/Makefile
components/tcl/expect/resolve.deps
components/tcl/tcl/Makefile
components/tcl/tcl/resolve.deps
components/tcl/tk/Makefile
components/tcl/tk/resolve.deps
components/tcltls/Makefile
components/tcltls/resolve.deps
components/tcpdump/Makefile
components/tcpdump/resolve.deps
components/tcsh/Makefile
components/tcsh/resolve.deps
components/texinfo/Makefile
components/texinfo/resolve.deps
components/text-utilities/Makefile
components/text-utilities/resolve.deps
components/tidy/Makefile
components/tidy/resolve.deps
components/timezone/Makefile
components/tmux/Makefile
components/tmux/resolve.deps
components/tomcat/Makefile
components/tomcat/resolve.deps
components/top/Makefile
components/top/resolve.deps
components/tree/Makefile
components/tree/resolve.deps
components/trousers/Makefile
components/trousers/resolve.deps
components/unixodbc/Makefile
components/unixodbc/resolve.deps
components/unrar/Makefile
components/unrar/resolve.deps
components/unzip/Makefile
components/unzip/resolve.deps
components/vim/Makefile
components/vim/resolve.deps
components/visual-panels/apache/Makefile
components/visual-panels/apache/resolve.deps
components/visual-panels/core/Makefile
components/visual-panels/core/resolve.deps
components/visual-panels/core/src/java/lib/TimingFramework/Makefile
components/visual-panels/core/src/java/lib/swingx/Makefile
components/visual-panels/coreadm/Makefile
components/visual-panels/coreadm/resolve.deps
components/visual-panels/firewall/Makefile
components/visual-panels/firewall/resolve.deps
components/visual-panels/smf/Makefile
components/visual-panels/smf/resolve.deps
components/visual-panels/sysmon/Makefile
components/visual-panels/sysmon/resolve.deps
components/visual-panels/time/Makefile
components/visual-panels/time/resolve.deps
components/visual-panels/usermgr/Makefile
components/visual-panels/usermgr/resolve.deps
components/visual-panels/zconsole/Makefile
components/visual-panels/zconsole/resolve.deps
components/w3m/Makefile
components/w3m/resolve.deps
components/webalizer/Makefile
components/webalizer/resolve.deps
components/wget/Makefile
components/wget/resolve.deps
components/which/Makefile
components/which/resolve.deps
components/wireshark/Makefile
components/wireshark/resolve.deps
components/wxwidgets/Makefile
components/wxwidgets/resolve.deps
components/xmlto/Makefile
components/xmlto/resolve.deps
components/xorriso/Makefile
components/xorriso/resolve.deps
components/xz/Makefile
components/xz/resolve.deps
components/zip/Makefile
components/zip/resolve.deps
components/zlib/Makefile
components/zlib/resolve.deps
components/zsh/Makefile
components/zsh/resolve.deps
doc/makefile-targets.txt
doc/makefile-variables.txt
make-rules/ant.mk
make-rules/attpackagemake.mk
make-rules/build-zone.mk
make-rules/configure.mk
make-rules/depend.mk
make-rules/environment.mk
make-rules/gem.mk
make-rules/install.rb.mk
make-rules/ips.mk
make-rules/justmake.mk
make-rules/lint-libraries.mk
make-rules/makemaker.mk
make-rules/prep.mk
make-rules/setup.py.mk
make-rules/shared-macros.mk
tools/sc_profile.xml
tools/zone_default.xml
transforms/REQUIRED_PACKAGES
--- a/components/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../make-rules/shared-macros.mk
@@ -31,23 +31,43 @@
 # components.mk is auto-generated by the build tools.  It populates the
 # COMPONENT_DIRS macro with a list of all directories in the workspace that
 # contain a component.
-components.mk:	# Makefile # $(WS_TOP)/components
+$(WS_MACH)/components.mk:	$(WS_MACH) # Makefile # $(WS_TOP)/components
 	@echo "Generating component list..."
 	@$(BASS_O_MATIC) --workspace=$(WS_TOP) --components=paths \
 		| sed -e 's;^$(shell pwd)/;COMPONENT_DIRS += ;g' >$@
 
--include components.mk
+-include $(WS_MACH)/components.mk
 
 # depends.mk is auto-generated by concatenating 'depend.mk' files in each
 # component directory.
-depends.mk:     components.mk
+$(WS_MACH)/depends.mk:     $(WS_MACH)/components.mk
 	@echo "Generating component dependencies..."
 	@cat $(shell $(BASS_O_MATIC) --workspace=$(WS_TOP) --components=paths \
 		| sed -e 's;^$(shell pwd)/;;g' -e 's;$$;/depend.mk;g') >$@ \
 		2>/dev/null
  
--include depends.mk
+-include $(WS_MACH)/depends.mk
 
+#
+# Walk through all of the components echoing the REQUIRED_PACKAGES for each one.
+# Pass all output through sed to drop lines with whitespace between words,
+# remove whitespace from lines, drop empty lines, and REQUIRED_PACKAGES +=
+# to the lines.  Pass that through sort -u
+#
+$(WS_MACH)/requires.mk:	$(WS_MACH)
+	@echo "Generating list of required packages to build consolidation..."
+	@$(GMAKE) component-hook \
+		COMPONENT_HOOK='@echo $$(REQUIRED_PACKAGES:%="%\\n")' | \
+		$(GSED) -e '/\S\s\S/d' -e 's/^ //g' -e '/^\s*$$/d' \
+			-e 's/^/REQUIRED_PACKAGES += /' | \
+		sort -u >$(@)
+
+system-check::	$(WS_MACH)/requires.mk
+	@$(GMAKE) -f $(WS_MAKE_RULES)/environment.mk -f $< component-environment-check
+
+system-prep::	$(WS_MACH)/requires.mk
+	@echo "Installing any missing packages..."
+	@$(GMAKE) -f $(WS_MAKE_RULES)/environment.mk -f $< component-environment-prep
 
 download:		TARGET = download
 prep:			TARGET = prep
@@ -57,9 +77,9 @@
 clean:			TARGET = clean
 clobber:		TARGET = clobber
 test:			TARGET = test
+zone-build:		TARGET = component-zone-build
 component-hook:		TARGET = component-hook
-prep build install publish test:	TEMPLATE_ZONE=$(ZONE)
-prep build install publish test:	LOG = >$(WS_LOGS)/$(@F).$(TARGET).log 2>&1
+zone-build prep build install publish test:	LOG = >$(WS_LOGS)/$(@F).$(TARGET).log 2>&1
 
 # turn off pkglint for the individual component builds.
 ifeq   ($(strip $(PKGLINT_COMPONENT)),)
@@ -75,16 +95,18 @@
 
 .DEFAULT:	publish
 
-build install publish test: $(COMPONENT_DIRS)
+zone-build build install publish test: $(COMPONENT_DIRS)
 
 COMPONENT_DIRS.nosetup =	$(COMPONENT_DIRS:%=%.nosetup)
 
-download prep:	$(COMPONENT_DIRS.nosetup)
-
+download::	$(COMPONENT_DIRS.nosetup)
+prep:		$(COMPONENT_DIRS.nosetup)
+component-environment-check::	$(COMPONENT_DIRS.nosetup)
 component-hook:	$(COMPONENT_DIRS.nosetup)
 
 clean:		$(COMPONENT_DIRS.nosetup)
-	$(RM) components.mk depends.mk .profile
+	$(RM) $(WS_MACH)/components.mk $(WS_MACH)/depends.mk \
+	      $(WS_MACH)/requires.mk $(WS_MACH)/*.p5m
 
 clobber:	$(COMPONENT_DIRS.nosetup) clean
 	@cd ../tools ; echo "clobbering tools..." ; $(GMAKE) clobber
@@ -92,9 +114,9 @@
 	    $(shell find . -name 'manifest-*.published')
 
 
-setup:	$(WS_LOGS) $(WS_REPO) tools $(WS_LINT_CACHE)
+setup:	$(WS_MACH) $(WS_LOGS) $(WS_REPO) tools $(WS_LINT_CACHE)
 
-$(WS_LOGS):
+$(WS_MACH) $(WS_LOGS):
 	$(MKDIR) $@
 
 $(WS_REPO):
@@ -123,17 +145,9 @@
 tools:
 	@cd ../tools ; echo "building tools..." ; $(GMAKE) clean setup
 
-# $(WS_COMPONENTS) is the home directory for the zone user, so create a profile
-# to pass a few things on to zone based builds
-.profile:
-	echo "PATH=$(PATH)" >>$@
-	echo "WS_TOP=$(WS_TOP)" >>$@
-	echo "export PATH WS_TOP" >>$@
-
 $(COMPONENT_DIRS):	$(WS_LOGS) setup FORCE
 	@cd $@ && echo "$(TARGET) $@" && \
-	 $(BASS_O_MATIC) $(TEMPLATE_ZONE:%=--template-zone %) \
-			 $(@:%=--component %) --make $(TARGET) $(LOG)
+	 $(BASS_O_MATIC) $(@:%=--component %) --make $(TARGET) $(LOG)
 
 # Turn userland-incorporator warnings into build failures
 INCORPORATE_WERROR ?= --Werror
@@ -142,8 +156,8 @@
 	$(PKGREPO) refresh -s $(PKG_REPO)
 	$(WS_TOOLS)/userland-incorporator --repository $(PKG_REPO) \
           --version=0.$(OS_VERSION),$(BUILD_VERSION) -p $(PUBLISHER) \
-	  -c $(CONSOLIDATION) --destdir=$(WS_LOGS) $(INCORPORATE_WERROR)
-	for incorporation in $(WS_LOGS)/*.p5m ; do \
+	  -c $(CONSOLIDATION) --destdir=$(WS_MACH) $(INCORPORATE_WERROR)
+	for incorporation in $(WS_MACH)/*.p5m ; do \
 	    $(PKGSEND) -s $(PKG_REPO) publish --fmri-in-manifest \
 	               $${incorporation} ; \
 	done
@@ -162,7 +176,6 @@
 
 $(COMPONENT_DIRS.nosetup):	$(WS_LOGS) FORCE
 	@cd $(@:%.nosetup=%) && echo "$(TARGET) $(@:%.nosetup=%)" && \
-	 $(BASS_O_MATIC) $(TEMPLATE_ZONE:%=--template-zone %) \
-			 $(@:%.nosetup=--component %) --make $(TARGET) $(LOG)
+	 $(BASS_O_MATIC) $(@:%.nosetup=--component %) --make $(TARGET) $(LOG)
 
 FORCE:
--- a/components/a2ps/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/a2ps/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			4517
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # don't use LD_Z_IGNORE: causes linker problems
 LD_Z_IGNORE=
@@ -70,6 +70,8 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/a2ps/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-runtime/perl-512
-shell/ksh93
-system/library
-system/library/math
--- a/components/aalib/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/aalib/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,10 +39,10 @@
 
 TPNO=			6118
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 PKG_PROTO_DIRS +=	$(COMPONENT_SRC)
 
@@ -71,6 +71,9 @@
 # but it's 32-bit only and not a target
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/slang
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += x11/library/libx11
--- a/components/aalib/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/slang
-shell/ksh93
-system/library
-system/library/math
-x11/library/libx11
--- a/components/acpidump/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/acpidump/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,9 +20,11 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER =	gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		acpidump
@@ -44,14 +46,12 @@
 PUBLISH_STAMP= 
 endif
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PKG_PROTO_DIRS += $(BUILD_DIR_32)
 
-COMPILER =	gcc3
-
 COMPONENT_BUILD_ENV  +=		CC=$(CC)
 
 
@@ -69,6 +69,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/acpidump/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/ant/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ant/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -38,9 +38,9 @@
 
 TPNO=			16382
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 GMAKE=./build.sh
 
@@ -77,6 +77,6 @@
 
 test:  $(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
--- a/components/ant/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/perl-512
-shell/ksh93
--- a/components/antlr/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/antlr/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -40,9 +40,9 @@
 # Use version of Java defined in ../../make-rules/shared-macros.mk
 PATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:/usr/bin
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL =		0
 
@@ -73,6 +73,6 @@
 
 test:           $(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += shell/ksh93
--- a/components/antlr/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-27
-shell/ksh93
--- a/components/apache2-modules/mod_dtrace/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apache2-modules/mod_dtrace/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,8 +30,8 @@
 
 TPNO=			8876
 
-include ../../../make-rules/justmake.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 APACHE_USR_PREFIX=/usr/apache2/2.2
 
@@ -56,6 +56,5 @@
 
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/apache2-modules/mod_dtrace/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/apache2-modules/mod_fcgid/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apache2-modules/mod_fcgid/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8878
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/justmake.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL=0
 
@@ -55,6 +55,5 @@
 
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/apache2-modules/mod_fcgid/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/apache2-modules/mod_jk/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apache2-modules/mod_jk/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -35,9 +35,9 @@
 
 TPNO=			9082
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/configure.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL=0
 
@@ -61,6 +61,5 @@
 
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/apache2-modules/mod_jk/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/apache2-modules/mod_perl/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apache2-modules/mod_perl/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 CONFIGURE_DEFAULT_DIRS=no
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/justmake.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 APACHE_USR_PREFIX=/usr/apache2/2.2
 AP_PERL5LIB=$(APACHE_USR_PREFIX)/lib/perl
@@ -71,6 +71,11 @@
 #test: $(TEST_32)
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/apr-13
+REQUIRED_PACKAGES += library/apr-util-13
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += web/server/apache-22
--- a/components/apache2-modules/mod_perl/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/apr-13
-library/apr-util-13
-runtime/perl-512
-system/library
-system/library/math
-system/linker
-web/server/apache-22
--- a/components/apache2-modules/mod_proxy_html/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apache2-modules/mod_proxy_html/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 TPNO_MOD_PROXY_HTML=	9032
 TPNO_MOD_XML2ENC=	9034
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/justmake.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 APACHE_USR_PREFIX=/usr/apache2/2.2
 
@@ -53,6 +53,5 @@
 
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/apache2-modules/mod_proxy_html/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/apache2-modules/mod_security2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apache2-modules/mod_security2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			14454
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/configure.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 APACHE_USR_PREFIX=/usr/apache2/2.2
 
@@ -57,6 +57,11 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/apr-13
+REQUIRED_PACKAGES += library/apr-util-13
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += runtime/lua
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/apache2-modules/mod_security2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/apr-13
-library/apr-util-13
-library/libxml2
-library/pcre
-runtime/lua
-system/library
-system/library/math
--- a/components/apache2-modules/mod_wsgi/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apache2-modules/mod_wsgi/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -38,9 +38,9 @@
 
 TPNO=			7687
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -80,4 +80,8 @@
 
 install:	$(INSTALL_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/apache2-modules/mod_wsgi/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-runtime/python-26
-runtime/python-27
-system/library
-system/library/math
-system/linker
--- a/components/apache2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apache2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 
 CONFIGURE_DEFAULT_DIRS=no
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_ENABLE)
 
@@ -127,6 +127,20 @@
 
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/apr-15
+REQUIRED_PACKAGES += library/apr-util-15
+REQUIRED_PACKAGES += library/apr-util-15/apr-ldap
+REQUIRED_PACKAGES += library/apr-util-15/dbd-mysql
+REQUIRED_PACKAGES += library/apr-util-15/dbd-sqlite
+REQUIRED_PACKAGES += library/openldap
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/security/gss
+REQUIRED_PACKAGES += system/network
--- a/components/apache2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-library/apr-15
-library/apr-util-15
-library/apr-util-15/apr-ldap
-library/apr-util-15/dbd-mysql
-library/apr-util-15/dbd-sqlite
-library/openldap
-library/pcre
-library/security/openssl
-library/zlib
-runtime/perl-512
-shell/ksh93
-system/core-os
-system/library
-system/library/math
-system/library/security/gss
-system/network
--- a/components/apache24/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apache24/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 	
 CONFIGURE_DEFAULT_DIRS=no
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_ENABLE)
 
@@ -82,6 +82,23 @@
 
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/apr-15
+REQUIRED_PACKAGES += library/apr-util-15
+REQUIRED_PACKAGES += library/apr-util-15/apr-ldap
+REQUIRED_PACKAGES += library/apr-util-15/dbd-mysql
+REQUIRED_PACKAGES += library/apr-util-15/dbd-sqlite
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/openldap
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/lua
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/security/gss
+REQUIRED_PACKAGES += system/network
--- a/components/apache24/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-library/apr-15
-library/apr-util-15
-library/apr-util-15/apr-ldap
-library/apr-util-15/dbd-mysql
-library/apr-util-15/dbd-sqlite
-library/libxml2
-library/openldap
-library/pcre
-library/security/openssl
-library/security/openssl/openssl-fips-140
-library/zlib
-runtime/lua
-runtime/perl-512
-shell/ksh93
-system/core-os
-system/library
-system/library/math
-system/library/security/gss
-system/network
--- a/components/apr-1_5/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apr-1_5/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 CONFIGURE_DEFAULT_DIRS=no
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Micro version for easy libraries packaging
 MICRO_VERSION:= $(shell echo $(COMPONENT_VERSION) | awk -F. '{ print $$3 }')
@@ -85,6 +85,7 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/apr-1_5/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-shell/bash
-shell/ksh93
-system/library
--- a/components/apr-util-1_5/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apr-util-1_5/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -36,9 +36,9 @@
 
 CONFIGURE_DEFAULT_DIRS=no
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Micro version for easy libraries packaging
 MICRO_VERSION:= $(shell echo $(COMPONENT_VERSION) | awk -F. '{ print $$3 }')
@@ -86,6 +86,12 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += database/mysql-55/library
+REQUIRED_PACKAGES += database/sqlite-3
+REQUIRED_PACKAGES += library/apr-15
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/openldap
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/apr-util-1_5/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-database/mysql-55/library
-database/sqlite-3
-library/apr-15
-library/expat
-library/openldap
-shell/ksh93
-system/library
-system/library/math
--- a/components/apr-util/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apr-util/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -36,9 +36,9 @@
 
 CONFIGURE_DEFAULT_DIRS=no
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL=0
 
@@ -83,6 +83,12 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += database/mysql-55/library
+REQUIRED_PACKAGES += database/sqlite-3
+REQUIRED_PACKAGES += library/apr-13
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/openldap
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/apr-util/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-database/mysql-55/library
-database/sqlite-3
-library/apr-13
-library/expat
-library/openldap
-shell/ksh93
-system/library
-system/library/math
--- a/components/apr/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/apr/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 CONFIGURE_DEFAULT_DIRS=no
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL=0
 
@@ -83,6 +83,7 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/apr/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-shell/bash
-shell/ksh93
-system/library
--- a/components/areca/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/areca/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -43,9 +43,9 @@
 
 TPNO=			6138
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ant.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ant.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_BUILD_TARGETS += install -buildfile build.xml
 COMPONENT_BUILD_ENV += ANT_OPTS="-Dfile.encoding=iso-8859-1"
@@ -58,6 +58,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/java/swt
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += system/core-os
--- a/components/areca/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/java/swt
-shell/bash
-system/core-os
--- a/components/autoconf/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/autoconf/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			7252
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
 
@@ -55,6 +55,7 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += developer/macro/gnu-m4
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
--- a/components/autoconf/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-developer/macro/gnu-m4
-runtime/perl-512
-shell/ksh93
--- a/components/autogen/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/autogen/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,8 +18,11 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
+
+COMPILER = gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		autogen
@@ -34,15 +37,13 @@
 
 TPNO=			6148
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # build target is incorrect without this 
 COMPONENT_PRE_CONFIGURE_ACTION =        ($(CLONEY) $(SOURCE_DIR) $(@D))
 
-# built in SFW with gcc and builds cleanly now only with gcc
-COMPILER = gcc3
 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
 
 # strip the environment or install target fails
@@ -55,6 +56,14 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/gmp
+REQUIRED_PACKAGES += library/guile
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/gcc-45-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/autogen/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-library/gmp
-library/guile
-library/libxml2
-shell/bash
-system/library
-system/library/gcc-3-runtime
-system/library/gcc-45-runtime
-system/library/gcc/gcc-c-runtime
-system/library/math
-system/linker
--- a/components/automake/automake-1.10/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/automake/automake-1.10/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			6149
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
@@ -52,6 +52,6 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
--- a/components/automake/automake-1.10/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/perl-512
-shell/ksh93
--- a/components/automake/automake-1.11.2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/automake/automake-1.11.2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -36,9 +36,9 @@
 
 TPNO=			7253
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=	--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS  +=	CFLAGS="$(CFLAGS)"
@@ -51,6 +51,6 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
--- a/components/automake/automake-1.11.2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/perl-512
-shell/ksh93
--- a/components/automake/automake-1.9.6/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/automake/automake-1.9.6/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			6198
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
@@ -52,6 +52,6 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
--- a/components/automake/automake-1.9.6/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/perl-512
-shell/ksh93
--- a/components/bash/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/bash/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			7265
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 BASH_PATCHLEVEL=$(shell grep -h "define PATCHLEVEL" $(COMPONENT_DIR)/patches/bash* | nawk '{print $$NF}' | sort -n | tail -1)
 IPS_COMPONENT_VERSION = $(COMPONENT_VERSION).$(BASH_PATCHLEVEL)
@@ -138,7 +138,7 @@
 
 test: $(TEST_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/bash/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-shell/ksh93
-system/library
--- a/components/bcc/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/bcc/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,9 +20,11 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER=gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		bcc
@@ -37,11 +39,9 @@
 
 TPNO=			8334
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
-
-COMPILER=gcc3
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
 
@@ -62,6 +62,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/bcc/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/beanshell/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/beanshell/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -42,9 +42,9 @@
 
 TPNO=			6200
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ant.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ant.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_BUILD_ARGS +=	-Ddist-dir=${PROTO_DIR}
 COMPONENT_BUILD_ARGS +=	-Djavadoc-dir=${PROTO_DIR}
@@ -66,6 +66,5 @@
 
 test:	$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
--- a/components/beanshell/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-shell/ksh93
--- a/components/berkeleydb/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/berkeleydb/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,9 +38,9 @@
 COMPONENT_ARCHIVE_URL=	http://download.oracle.com/berkeley-db/$(COMPONENT_ARCHIVE)
 COMPONENT_BUGDB=	database/berkeley
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
@@ -109,6 +109,8 @@
 # By default "gmake test" runs standard tests, takes ~2 days per $(BITS).
 RUN=run_std
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS) $(TCLSH)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/linker
--- a/components/berkeleydb/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-system/core-os
-system/library
-system/library/c++-runtime
-system/linker
--- a/components/bind/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/bind/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 
 TPNO=			20537
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Build.
 #
@@ -79,8 +79,6 @@
 .PHONY: build
 build:		$(BUILD_32)
 
-include ../../make-rules/shared-targets.mk
-
 # Install.
 #
 # Currently manual pages are distributed from pkg:/system/manual@.
@@ -166,6 +164,10 @@
 test-clean:
 	$(RM) $(TEST_32) $(FULL_TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += network/dns/bind
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
--- a/components/bind/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/libxml2
-library/security/openssl
-network/dns/bind
-shell/ksh93
-system/core-os
-system/library
--- a/components/binutils/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/binutils/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			7483
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PARCH =		$(MACH:i386=i386-pc)
 GNU_ARCH =	$(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
@@ -70,8 +70,9 @@
 
 install:	$(INSTALL_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test: $(TEST_32)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/binutils/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/zlib
-system/library
-system/library/math
--- a/components/bison/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/bison/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			6254
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_LIBDIR.32 =   $(GNULIB)
 CONFIGURE_LIBDIR.64 =   $(GNULIB)/$(MACH64)
@@ -56,6 +56,6 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += developer/macro/gnu-m4
+REQUIRED_PACKAGES += system/library
--- a/components/bison/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-developer/macro/gnu-m4
-system/library
--- a/components/bzip2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/bzip2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,10 +37,10 @@
 
 TPNO=			5547
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 LINT_FLAGS +=	-I.
 
@@ -74,6 +74,6 @@
 # build does this always
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/bzip2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-shell/ksh93
-system/library
--- a/components/cdrtools/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/cdrtools/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -42,9 +42,9 @@
 PATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin
 endif
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_INSTALL_ARGS +=  GMAKE_NOWARN=true
 COMPONENT_BUILD_ARGS += GMAKE_NOWARN=true
@@ -60,6 +60,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/linker
--- a/components/cdrtools/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-shell/ksh93
-system/library
-system/linker
--- a/components/clisp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/clisp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,9 +20,11 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER=	gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		clisp
@@ -37,9 +39,9 @@
 
 TPNO=			8347
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # To include correct locale header file in .../modules/regexp/gllib/regex.c
 CPPFLAGS += -I/usr/share/gettext/intl
@@ -48,7 +50,6 @@
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
 
-COMPILER=	gcc3
 PATCH_LEVEL=	0
 
 # SHELLOPTS appears to cause clisp's configure script to fail while
@@ -94,6 +95,10 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libsigsegv
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/clisp/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/libsigsegv
-library/ncurses
-library/readline
-shell/ksh93
-system/library
-system/library/math
--- a/components/cmake/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/cmake/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -36,9 +36,9 @@
 
 TPNO=			6581
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Need to remove this option from LD_OPTIONS (only affects sparc build);
 # it causes a SegFault failure in kwsys/testSystemInformation
@@ -83,6 +83,12 @@
 # expected failure: CTestTestUpload
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += web/curl
--- a/components/cmake/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-compress/bzip2
-library/expat
-library/zlib
-system/library
-system/library/c++-runtime
-system/library/math
-system/linker
-web/curl
--- a/components/common/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/common/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -30,13 +30,13 @@
 COMPONENT_VERSION=	0.5.11
 COMPONENT_BUGDB=	gate-stuff/userland
 
-include ../../make-rules/prep.mk
+include $(WS_MAKE_RULES)/prep.mk
 
 # Do not clean the sources (set in prep.mk)
 #
 CLEAN_PATHS=
 
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CLEAN_PATHS+= $(BUILD_DIR)
 
@@ -52,6 +52,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/core-os
--- a/components/common/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-#added to speed up dependency resolution
-system/core-os
--- a/components/conflict/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/conflict/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,9 +38,9 @@
 
 TPNO=			8338
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Required to configure correctly.
 COMPONENT_PRE_CONFIGURE_ACTION = \
@@ -63,6 +63,5 @@
 test:		build
 	@cd $(BUILD_DIR_32); ./run_test.sh
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/conflict/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/convmv/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/convmv/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			8348
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL=0
 
@@ -52,6 +52,5 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
--- a/components/convmv/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-runtime/perl-512
--- a/components/coreutils/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/coreutils/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8349
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_PREFIX	 =	/usr/gnu
 CONFIGURE_OPTIONS	+=	--bindir=/usr/gnu/bin
@@ -69,6 +69,6 @@
 # misc/timeout-parameters - see CR #17425658
 test:		install $(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/gmp
+REQUIRED_PACKAGES += system/library
--- a/components/coreutils/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/gmp
-system/library
--- a/components/cups/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/cups/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			17705
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CXX +=	$(studio_NORUNPATH)
 
@@ -89,12 +89,25 @@
 # common targets
 build:		$(BUILD_32)
 
-include ../../make-rules/shared-targets.mk
-
 install:	$(INSTALL_32)
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += image/library/libtiff
+REQUIRED_PACKAGES += library/print/cups-libs
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += service/network/slp
+REQUIRED_PACKAGES += service/security/kerberos-5
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/libdbus
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/security/gss
+REQUIRED_PACKAGES += system/linker
--- a/components/cups/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-image/library/libjpeg
-image/library/libpng
-image/library/libtiff
-library/print/cups-libs
-library/security/openssl
-library/zlib
-runtime/perl-512
-service/network/slp
-service/security/kerberos-5
-shell/ksh93
-system/core-os
-system/library
-system/library/c++-runtime
-system/library/libdbus
-system/library/math
-system/library/security/gss
-system/linker
--- a/components/curl/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/curl/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,10 +34,10 @@
 
 TPNO=			8339
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 PATCH_LEVEL = 0
 
@@ -83,7 +83,11 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/libidn
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/security/gss
--- a/components/curl/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/libidn
-library/security/openssl
-library/zlib
-shell/ksh93
-system/library
-system/library/security/gss
--- a/components/cvs/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/cvs/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 # we hit parfait bug 12333159 in a case statement, so disable parfait
@@ -39,9 +39,9 @@
 
 TPNO=			6323
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CFLAGS += -D__ATTRIBUTE_DISABLED
 CONFIGURE_OPTIONS  +=	--with-external-zlib
@@ -57,6 +57,6 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
--- a/components/cvs/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/zlib
-system/library
--- a/components/diffstat/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/diffstat/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			5494
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CC += $(CC_BITS)
 
@@ -50,6 +50,5 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/diffstat/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/diffutils/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/diffutils/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			6324
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_BINDIR.32 =		$(CONFIGURE_PREFIX)/gnu/bin
 
@@ -53,6 +53,5 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/diffutils/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/dnsmasq/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/dnsmasq/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -40,9 +40,9 @@
 
 TPNO=			16307
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Enable ASLR for this component
 ASLR_MODE = $(ASLR_ENABLE)
@@ -64,6 +64,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libidn
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
--- a/components/dnsmasq/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/libidn
-system/core-os
-system/library
--- a/components/doxygen/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/doxygen/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -40,9 +40,9 @@
 
 TPNO=			6511
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Necessary to find CC during build
 PATH=$(SPRO_VROOT)/bin:/usr/bin
@@ -64,6 +64,7 @@
 
 test:	$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/doxygen/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/ejabberd/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ejabberd/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,11 +39,11 @@
 COMPONENT_BUGDB=	service/ejabberd
 TPNO=                   21408
 
-include ../../make-rules/prep.mk
+include $(WS_MAKE_RULES)/prep.mk
 
 
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_SCRIPT = $(SOURCE_DIR)/src/configure
 BUILD_DIR_64 =	$(BUILD_DIR)/$(MACH64)/src
@@ -68,6 +68,11 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/network
--- a/components/ejabberd/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/expat
-library/security/openssl
-library/zlib
-shell/ksh93
-system/core-os
-system/library
-system/network
--- a/components/elinks/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/elinks/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8340
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		--enable-bittorrent
 CONFIGURE_OPTIONS  +=		--enable-html-highlight
@@ -50,6 +50,11 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += x11/library/libx11
--- a/components/elinks/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-compress/bzip2
-library/expat
-library/security/openssl
-library/zlib
-system/library
-system/linker
-x11/library/libx11
--- a/components/emacs/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/emacs/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			15684
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # we build three different variants of emacs for our users. As Solaris
 # always has a 64-bit kernel, and 64-bit emacs can handle larger files,
@@ -176,6 +176,34 @@
 test:
 	@echo "no tests available"
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += editor/gnu-emacs
+REQUIRED_PACKAGES += file/gnu-findutils
+REQUIRED_PACKAGES += gnome/config/gconf
+REQUIRED_PACKAGES += image/imagemagick
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += image/library/librsvg
+REQUIRED_PACKAGES += image/library/libtiff
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/gnutls
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/fontconfig
+REQUIRED_PACKAGES += system/library/freetype-2
+REQUIRED_PACKAGES += system/library/libdbus
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += x11/library/libice
+REQUIRED_PACKAGES += x11/library/libsm
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxcursor
+REQUIRED_PACKAGES += x11/library/libxft
+REQUIRED_PACKAGES += x11/library/libxmu
+REQUIRED_PACKAGES += x11/library/libxpm
+REQUIRED_PACKAGES += x11/library/libxrender
+REQUIRED_PACKAGES += x11/library/toolkit/libxaw7
+REQUIRED_PACKAGES += x11/library/toolkit/libxt
--- a/components/emacs/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +0,0 @@
-editor/gnu-emacs
-file/gnu-findutils
-gnome/config/gconf
-image/imagemagick
-image/library/libjpeg
-image/library/libpng
-image/library/librsvg
-image/library/libtiff
-library/desktop/gtk2
-library/glib2
-library/gnutls
-library/libxml2
-library/ncurses
-runtime/perl-512
-shell/ksh93
-system/library
-system/library/fontconfig
-system/library/freetype-2
-system/library/libdbus
-system/library/math
-x11/library/libice
-x11/library/libsm
-x11/library/libx11
-x11/library/libxcursor
-x11/library/libxft
-x11/library/libxmu
-x11/library/libxpm
-x11/library/libxrender
-x11/library/toolkit/libxaw7
-x11/library/toolkit/libxt
--- a/components/enscript/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/enscript/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -49,9 +49,9 @@
 
 TPNO=			4380
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL = 1
 
@@ -82,6 +82,8 @@
 
 test:           $(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/enscript/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-runtime/perl-512
-runtime/perl-516
-shell/ksh93
-system/library
-system/library/math
--- a/components/erlang/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/erlang/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,9 +20,11 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER =	gcc
+
 include ../../make-rules/shared-macros.mk
 
 PATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:/usr/bin
@@ -60,9 +62,9 @@
 
 TPNO=			18548
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # IPS_COMPONENT_VERSION is by default set to $(COMPONENT_VERSION) but it is not
 # enough for us. We need to include the $(COMPONENT_SUBVERSION) somehow.
@@ -71,9 +73,6 @@
 # R(major)(minor)(micro) - (major).(minor as number).(micro)
 IPS_COMPONENT_VERSION=  $(COMPONENT_VERSION_MAJOR).2.3
 
-# Built in SFW with gcc and builds cleanly now only with gcc
-COMPILER =	gcc
-
 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS) -I/usr/include/gd2"
 CONFIGURE_OPTIONS += --enable-smp-support
@@ -134,6 +133,11 @@
 
 test:	$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/erlang/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/ncurses
-library/security/openssl
-shell/ksh93
-system/core-os
-system/library
-system/library/math
-system/linker
--- a/components/fastcgi/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/fastcgi/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,10 +38,10 @@
 
 TPNO=			8415
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 CONFIGURE_OPTIONS += --disable-static
 CONFIGURE_OPTIONS += --with-pic
@@ -60,7 +60,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
--- a/components/fastcgi/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-system/library
-system/library/c++-runtime
--- a/components/fetchmail/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/fetchmail/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			8416
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS  +=		PYTHON="$(PYTHON.2.7.32)"
@@ -61,6 +61,10 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/tkinter-27
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += service/security/kerberos-5
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/fetchmail/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python/tkinter-27
-library/security/openssl
-runtime/python-27
-service/security/kerberos-5
-shell/ksh93
-system/library
--- a/components/findutils/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/findutils/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			7495
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_PREFIX =	/usr/gnu
 
@@ -57,6 +57,5 @@
 # findutils tests use dejagnu which isn't currently included in Solaris.
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/findutils/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/flex/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/flex/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -40,9 +40,9 @@
 SONAME=libfl.so.1
 LDFLAGS = $(CC_BITS)
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
@@ -58,8 +58,6 @@
 COMPONENT_BUILD_TARGETS += $(SONAME)
 COMPONENT_INSTALL_TARGETS += $(SONAME)
 
-include ../../make-rules/shared-targets.mk
-
 # common targets
 build:		$(BUILD_32_and_64)
 
@@ -67,7 +65,8 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += developer/macro/gnu-m4
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/flex/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-developer/macro/gnu-m4
-system/library
-system/library/math
--- a/components/foomatic/db-engine/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/foomatic/db-engine/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			6399
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/configure.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)" 
 CONFIGURE_OPTIONS +=	PERL=$(PERL)
@@ -69,6 +69,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += system/library
--- a/components/foomatic/db-engine/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/libxml2
-runtime/perl-512
-shell/bash
-system/library
--- a/components/foomatic/db/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/foomatic/db/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,12 +34,11 @@
 
 TPNO=			6398
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/configure.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # This package delivers only data files and has no dependencies.
-EXTDEPFILES = $(NULLDEPFILE)
 
 COMPONENT_PRE_CONFIGURE_ACTION = $(CLONEY) $(SOURCE_DIR) $(@D)
 
@@ -55,6 +54,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
--- a/components/foomatic/filters/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/foomatic/filters/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8420
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/configure.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS +=	--prefix=$(USRLIBDIR)/lp
 CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)/gnu
@@ -57,6 +57,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += print/filter/a2ps
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/libdbus
+REQUIRED_PACKAGES += system/library/math
--- a/components/foomatic/filters/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-print/filter/a2ps
-system/library
-system/library/libdbus
-system/library/math
--- a/components/foomatic/fppd/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/foomatic/fppd/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,11 +34,10 @@
 
 TPNO=			6400
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # This package delivers only data files and has no dependencies.
-EXTDEPFILES = $(NULLDEPFILE)
 
 CACHE_FILE=$(PROTOUSRLIBDIR)/lp/caches/SUNWfoomatic.cache
 
@@ -65,4 +64,3 @@
 clean::
 	$(RM) -r $(BUILD_DIR)
 
-include ../../../make-rules/depend.mk
--- a/components/fping/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/fping/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,9 +38,9 @@
 
 TPNO=			5500
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION =  \
         ($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -55,6 +55,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/fping/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/gawk/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gawk/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			6808
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS	+=	--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS	+=	--libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
@@ -49,6 +49,8 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libsigsegv
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/gawk/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/libsigsegv
-shell/ksh93
-system/library
-system/library/math
--- a/components/gcc3/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gcc3/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,8 +18,11 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
+
+COMPILER =	gcc
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		gcc
@@ -35,18 +38,15 @@
 
 TPNO=			17028
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PARCH =		$(MACH:i386=i386-pc)
 GNU_ARCH =	$(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
 
 PKG_MACROS +=	GNU_ARCH="$(GNU_ARCH)"
 
-# we build gcc with gcc
-COMPILER =	gcc
-
 # CC_BITS may get in the way
 CC_BITS=
 
@@ -90,8 +90,13 @@
 
 install:	$(PROTO_DIR)/.sedded
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test: $(TEST_32)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += developer/assembler
+REQUIRED_PACKAGES += developer/gnu-binutils
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/gcc3/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-developer/assembler
-developer/gnu-binutils
-shell/ksh93
-system/library
-system/library/gcc-3-runtime
-system/library/math
-system/linker
--- a/components/gcc45/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gcc45/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 
 TPNO=			4456
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATH=/usr/bin:/usr/gnu/bin:/usr/perl5/bin
 
@@ -102,6 +102,15 @@
 	    ulimit -Ss 16384 ; \
 	    $(GMAKE) check )
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += developer/assembler
+REQUIRED_PACKAGES += developer/gnu-binutils
+REQUIRED_PACKAGES += library/gmp
+REQUIRED_PACKAGES += library/mpc
+REQUIRED_PACKAGES += library/mpfr
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-45-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/gcc45/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-developer/assembler
-developer/gnu-binutils
-library/gmp
-library/mpc
-library/mpfr
-shell/ksh93
-system/library
-system/library/gcc-45-runtime
-system/library/gcc/gcc-c-runtime
-system/library/math
-system/linker
--- a/components/gcc47/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gcc47/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14467
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # The GNU compiler wants the GNU utilities.
 PATH=/usr/gnu/bin:/usr/bin:/usr/perl5/bin
@@ -126,7 +126,12 @@
 
 test:	$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/gmp
+REQUIRED_PACKAGES += library/mpc
+REQUIRED_PACKAGES += library/mpfr
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/gcc47/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/gmp
-library/mpc
-library/mpfr
-system/library
-system/library/gcc/gcc-c-runtime
-system/library/math
-system/linker
--- a/components/gcc48/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gcc48/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,10 +18,12 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 export PARFAIT_BUILD=no
 
+COMPILER=gcc
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		gcc
@@ -36,11 +38,9 @@
 
 TPNO=			15448
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-
-COMPILER=gcc
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # The GNU compiler wants the GNU utilities.
 PATH=/usr/gnu/bin:/usr/bin:/usr/perl5/bin
@@ -132,7 +132,14 @@
 
 test:	$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/gmp
+REQUIRED_PACKAGES += library/mpc
+REQUIRED_PACKAGES += library/mpfr
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/gcc48/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-library/gmp
-library/mpc
-library/mpfr
-system/library
-system/library/gcc/gcc-c-runtime
-system/library/math
-system/linker
-shell/bash
-shell/ksh93
--- a/components/gd2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gd2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -37,10 +37,10 @@
 
 TPNO=			8786
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 PKG_CONFIG_PATH_32 = /usr/lib/pkgconfig
 PKG_CONFIG_PATH_64 = /usr/lib/$(MACH64)/pkgconfig
@@ -71,7 +71,15 @@
 	@echo "Test programs must be run manually and their output"
 	@echo "should be visually inspected."
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/fontconfig
+REQUIRED_PACKAGES += system/library/freetype-2
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxpm
--- a/components/gd2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-image/library/libjpeg
-image/library/libpng
-library/zlib
-shell/ksh93
-system/library
-system/library/fontconfig
-system/library/freetype-2
-system/library/math
-x11/library/libx11
-x11/library/libxpm
--- a/components/gdb/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gdb/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,9 +20,11 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER=gcc
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		gdb
@@ -37,11 +39,9 @@
 
 TPNO=			17258
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-
-COMPILER=gcc
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # GDB wants the GNU utilities
 PATH=/usr/gnu/bin:$(GCC_ROOT)/bin:/usr/bin:/usr/perl5/bin
@@ -131,6 +131,14 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += compress/xz
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/gdb/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-compress/xz
-library/expat
-library/ncurses
-library/readline
-library/zlib
-runtime/python-26
-shell/ksh93
-system/library
-system/library/math
-system/linker
--- a/components/gdbm/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gdbm/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8440
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS +=	--disable-static
 CONFIGURE_OPTIONS +=	--enable-shared
@@ -55,6 +55,5 @@
 COMPONENT_TEST_TARGETS =	progs
 test:	$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/gdbm/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/getopt/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/getopt/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			11356
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # getopt doesn't use configure, override the hard-wired values in the Makefile.
 COMPONENT_BUILD_ARGS+=	CC="$(SPRO_VROOT)/bin/cc $(CC_BITS)"
@@ -62,6 +62,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/getopt/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/gettext/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gettext/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,9 +38,9 @@
 
 TPNO=			8435
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		--disable-java
 CONFIGURE_OPTIONS  +=		--disable-libasprintf
@@ -57,6 +57,8 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/gettext/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/expat
-shell/ksh93
-system/library
-system/library/math
--- a/components/ggrep/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ggrep/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			8710
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # We need to be able to return from void functions
 CFLAGS	+=			$(studio_FEATURES_EXTENSIONS)
@@ -64,6 +64,6 @@
 # test-mbrtowc3.sh, test-mbrtowc4.sh, test-mbsrtowcs4.sh
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += system/library
--- a/components/ggrep/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/pcre
-system/library
--- a/components/ghostscript/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ghostscript/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 # parfait seems to spin when looking at the .bc files (13704877), so
@@ -41,9 +41,9 @@
 
 TPNO=			3796
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/configure.mk
 
 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
 
@@ -112,4 +112,18 @@
 test:
 	@echo "no tests available"
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/print/cups-libs
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/fontconfig
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxcursor
+REQUIRED_PACKAGES += x11/library/toolkit/libxt
--- a/components/ghostscript/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-image/library/libjpeg
-image/library/libpng
-library/desktop/gtk2
-library/glib2
-library/print/cups-libs
-library/zlib
-runtime/perl-512
-shell/ksh93
-system/library
-system/library/fontconfig
-system/library/math
-system/linker
-x11/library/libx11
-x11/library/libxcursor
-x11/library/toolkit/libxt
--- a/components/git/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/git/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -42,9 +42,9 @@
     sha256:c653a3678bb5668c280a0d5ba584fdfb0e4272acbbd00901dc2363ea3f58eede
 COMPONENT_ARCHIVE_URL_1 = http://git-core.googlecode.com/files/$(COMPONENT_ARCHIVE_1)
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PYTHON_VERSION =	2.7
 
@@ -102,6 +102,12 @@
 	done
 	$(TOUCH) $@
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += web/curl
--- a/components/git/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/expat
-library/zlib
-runtime/perl-512
-runtime/python-27
-shell/bash
-shell/ksh93
-system/library
-web/curl
--- a/components/gnu-gs-fonts-other/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gnu-gs-fonts-other/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -40,11 +40,10 @@
 
 PROTOGSSHAREDIR=$(PROTOUSRSHAREDIR)/ghostscript
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # This package delivers only data files and has no dependencies.
-EXTDEPFILES = $(NULLDEPFILE)
 
 # untar the tar ball and apply the patches
 build:		$(SOURCE_DIR)/.prep
@@ -59,4 +58,3 @@
 clean::
 	$(RM) -r $(BUILD_DIR)
 
-include ../../make-rules/depend.mk
--- a/components/gnu-gs-fonts-std/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gnu-gs-fonts-std/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -40,11 +40,10 @@
 
 PROTOGSSHAREDIR=$(PROTOUSRSHAREDIR)/ghostscript
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # This package delivers only data files and has no dependencies.
-EXTDEPFILES = $(NULLDEPFILE)
 
 # untar the tar ball and apply the patches
 build:  $(SOURCE_DIR)/.prep
@@ -59,4 +58,3 @@
 clean::
 	$(RM) -r $(BUILD_DIR)
 
-include ../../make-rules/depend.mk
--- a/components/gnump/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gnump/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,10 +39,10 @@
 
 TPNO=			16955
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 PATCH_LEVEL = 0
 
@@ -157,7 +157,7 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
--- a/components/gnump/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-system/library
-system/library/c++-runtime
--- a/components/gnupg/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gnupg/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			17706
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Enable C99 mode + -Xc for its additional warnings.
 studio_C99MODE = -Xc $(studio_C99_ENABLE)
@@ -120,7 +120,22 @@
 
 test: $(TEST_32)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/pth
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/security/libassuan
+REQUIRED_PACKAGES += library/security/libgpg-error
+REQUIRED_PACKAGES += library/security/libksba
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += security/pinentry
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/security/libgcrypt
+REQUIRED_PACKAGES += system/library/usb/libusb
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += web/curl
--- a/components/gnupg/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-compress/bzip2
-library/pth
-library/readline
-library/security/libassuan
-library/security/libgpg-error
-library/security/libksba
-library/zlib
-security/pinentry
-shell/ksh93
-system/library
-system/library/security/libgcrypt
-system/library/usb/libusb
-web/curl
--- a/components/gnuplot/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gnuplot/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -41,9 +41,9 @@
 
 COMPONENT_BUILD_TARGETS = all info
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
 CONFIGURE_OPTIONS  += --sysconfdir=/etc/gnu
@@ -52,8 +52,6 @@
 CONFIGURE_OPTIONS  += CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS  += CXXFLAGS="$(CXXFLAGS)"
 
-include ../../make-rules/shared-targets.mk
-
 # common targets
 build:		$(BUILD_32)
 
@@ -61,6 +59,39 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += library/desktop/atk
+REQUIRED_PACKAGES += library/desktop/cairo
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/desktop/xdg/libcanberra
+REQUIRED_PACKAGES += library/gd
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/graphics/wxwidgets
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/lua
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/font/truetype/liberation
+REQUIRED_PACKAGES += system/font/xorg/xorg-core
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/fontconfig
+REQUIRED_PACKAGES += system/library/freetype-2
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxcomposite
+REQUIRED_PACKAGES += x11/library/libxcursor
+REQUIRED_PACKAGES += x11/library/libxdamage
+REQUIRED_PACKAGES += x11/library/libxevie
+REQUIRED_PACKAGES += x11/library/libxext
+REQUIRED_PACKAGES += x11/library/libxfixes
+REQUIRED_PACKAGES += x11/library/libxi
+REQUIRED_PACKAGES += x11/library/libxinerama
+REQUIRED_PACKAGES += x11/library/libxpm
+REQUIRED_PACKAGES += x11/library/libxrandr
+REQUIRED_PACKAGES += x11/library/libxrender
+REQUIRED_PACKAGES += x11/library/libxscrnsaver
--- a/components/gnuplot/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-image/library/libjpeg
-image/library/libpng
-library/desktop/atk
-library/desktop/cairo
-library/desktop/gdk-pixbuf
-library/desktop/gtk2
-library/desktop/pango
-library/desktop/xdg/libcanberra
-library/gd
-library/glib2
-library/graphics/wxwidgets
-library/ncurses
-library/readline
-library/zlib
-runtime/lua
-shell/ksh93
-system/font/truetype/liberation
-system/font/xorg/xorg-core
-system/library
-system/library/c++-runtime
-system/library/fontconfig
-system/library/freetype-2
-system/library/math
-x11/library/libx11
-x11/library/libxcomposite
-x11/library/libxcursor
-x11/library/libxdamage
-x11/library/libxevie
-x11/library/libxext
-x11/library/libxfixes
-x11/library/libxi
-x11/library/libxinerama
-x11/library/libxpm
-x11/library/libxrandr
-x11/library/libxrender
-x11/library/libxscrnsaver
--- a/components/gnupth/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gnupth/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8899
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL = 0
 
@@ -75,7 +75,7 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/gnupth/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-shell/ksh93
-system/library
--- a/components/gocr/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gocr/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			8587
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PKG_PROTO_DIRS +=	$(COMPONENT_SRC)
 
@@ -56,6 +56,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/gocr/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-shell/ksh93
-system/library
-system/library/math
--- a/components/gperf/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gperf/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8589
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=	--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS  +=	--docdir=/usr/share/doc/gperf
@@ -49,6 +49,7 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/gperf/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/gpgme/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gpgme/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			8637
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL = 0
 
@@ -81,7 +81,10 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/pth
+REQUIRED_PACKAGES += library/security/libgpg-error
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/linker
--- a/components/gpgme/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/pth
-library/security/libgpg-error
-shell/ksh93
-system/library
-system/linker
--- a/components/grails/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/grails/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			8709
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ant.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ant.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Make sure we use the specially modified versions of grails and grails-debug
 COMPONENT_POST_UNPACK_ACTION = \
@@ -75,6 +75,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
--- a/components/grails/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-runtime/perl-512
-runtime/python-27
-shell/bash
-shell/ksh93
--- a/components/graphviz/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/graphviz/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			17707
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATH =		/usr/bin:/usr/gnu/bin:/usr/php/5.2/bin
 
@@ -82,4 +82,31 @@
 # http://graphviz.org/bugs/b2063.html
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+REQUIRED_PACKAGES += image/graphviz
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += image/library/librsvg
+REQUIRED_PACKAGES += library/desktop/atk
+REQUIRED_PACKAGES += library/desktop/cairo
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/gd
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/libtool/libltdl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += print/filter/ghostscript
+REQUIRED_PACKAGES += runtime/lua
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/ruby-18
+REQUIRED_PACKAGES += runtime/tk-8
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxcursor
+REQUIRED_PACKAGES += x11/library/libxmu
+REQUIRED_PACKAGES += x11/library/libxrender
+REQUIRED_PACKAGES += x11/library/toolkit/libxaw7
+REQUIRED_PACKAGES += x11/library/toolkit/libxt
--- a/components/graphviz/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-image/graphviz
-image/library/libpng
-image/library/librsvg
-library/desktop/atk
-library/desktop/cairo
-library/desktop/gtk2
-library/desktop/pango
-library/expat
-library/gd
-library/glib2
-library/libtool/libltdl
-library/zlib
-print/filter/ghostscript
-runtime/lua
-runtime/perl-512
-runtime/ruby-18
-runtime/tk-8
-shell/ksh93
-system/library
-system/library/c++-runtime
-system/library/math
-system/linker
-x11/library/libx11
-x11/library/libxcursor
-x11/library/libxmu
-x11/library/libxrender
-x11/library/toolkit/libxaw7
-x11/library/toolkit/libxt
--- a/components/groff/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/groff/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 
 TPNO=			8829
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # The grog.sh script needs GNU awk not the Solaris one.
 COMPONENT_PRE_CONFIGURE_ACTION = \
@@ -99,6 +99,15 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += text/gawk
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxmu
+REQUIRED_PACKAGES += x11/library/toolkit/libxaw7
+REQUIRED_PACKAGES += x11/library/toolkit/libxt
--- a/components/groff/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-runtime/perl-512
-runtime/perl-516
-shell/ksh93
-system/core-os
-system/library
-system/library/c++-runtime
-system/library/math
-text/gawk
-x11/library/libx11
-x11/library/libxmu
-x11/library/toolkit/libxaw7
-x11/library/toolkit/libxt
--- a/components/gtar/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gtar/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			16886
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # workaround for CR 6998994
 sparc_COPTFLAG = -xO2
@@ -61,6 +61,9 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += compress/gzip
+REQUIRED_PACKAGES += network/ssh
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
--- a/components/gtar/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-compress/bzip2
-compress/gzip
-network/ssh
-system/core-os
-system/library
--- a/components/guile/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/guile/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,8 +18,11 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
+
+COMPILER = gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		guile
@@ -34,12 +37,10 @@
 
 TPNO=			8939
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
-# Built in SFW with gcc and builds cleanly now only with gcc
-COMPILER = gcc3
 CONFIGURE_OPTIONS +=	CPPFLAGS="-I/usr/include/gmp -D__USE_LEGACY_PROTOTYPES__"
 CONFIGURE_OPTIONS +=	--disable-static 
 CONFIGURE_OPTIONS +=	--disable-error-on-warning
@@ -53,6 +54,14 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/gmp
+REQUIRED_PACKAGES += library/libtool/libltdl
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/gcc-45-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/guile/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-library/gmp
-library/libtool/libltdl
-library/ncurses
-library/readline
-shell/ksh93
-system/library
-system/library/gcc-3-runtime
-system/library/gcc-45-runtime
-system/library/gcc/gcc-c-runtime
-system/library/math
--- a/components/gutenprint/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gutenprint/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8943
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS +=	 --infodir=$(CONFIGURE_INFODIR)
@@ -60,7 +60,16 @@
 # the tests mostly pass, but it can't find several drivers for ppd files
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/print/cups-libs
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxcursor
--- a/components/gutenprint/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-library/desktop/gtk2
-library/glib2
-library/print/cups-libs
-library/zlib
-runtime/perl-512
-shell/ksh93
-system/library
-system/library/math
-system/linker
-x11/library/libx11
-x11/library/libxcursor
--- a/components/gzip/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/gzip/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			17904
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # To get correct @bindir@ substitution in the various gz<whatever> scripts.
 CONFIGURE_BINDIR.64 =   $(CONFIGURE_PREFIX)/bin
@@ -90,6 +90,9 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/xopen/xcu4
--- a/components/gzip/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-shell/bash
-system/library
-system/xopen/xcu4
-runtime/python-26
-runtime/python-27
--- a/components/hal-cups-utils/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/hal-cups-utils/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -36,9 +36,9 @@
 
 TPNO=			8957
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL = 0
 USED_PYTHON=$(PYTHON.2.6.32)
@@ -64,6 +64,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/print/cups-libs
+REQUIRED_PACKAGES += system/hal
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/libdbus
--- a/components/hal-cups-utils/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/print/cups-libs
-system/hal
-system/library
-system/library/libdbus
--- a/components/hexedit/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/hexedit/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			9060
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION =  \
         ($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -56,6 +56,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/hexedit/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/hplip/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/hplip/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -97,7 +97,6 @@
 $(HPLIP_VARIANT)/.built: COMPONENT_PREP_ACTION = \
 		(cd $(@D) ; autoconf )
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
 $(BUILD_DIR)/.allvariantsinstalled: $(VARIANTS:%=%/.installed)
 	$(RM) $(ROOTPPDCACHE)
@@ -137,4 +136,14 @@
 # empty test target
 test:	$(NO_TESTS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/scanner/xsane/sane-backends
+REQUIRED_PACKAGES += library/print/cups-libs
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/libdbus
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/usb/libusb
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += system/management/snmp/net-snmp
--- a/components/hplip/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-image/library/libjpeg
-image/scanner/xsane/sane-backends
-library/print/cups-libs
-runtime/python-27
-system/library
-system/library/c++-runtime
-system/library/libdbus
-system/library/math
-system/library/usb/libusb
-system/linker
-system/management/snmp/net-snmp
--- a/components/httping/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/httping/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			9238
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_BUILD_ARGS +=	CFLAGS="$(CFLAGS) -Dstrndup=strndup -DVERSION=\\\"$(COMPONENT_VERSION)\\\""
 COMPONENT_BUILD_ARGS +=	LDFLAGS="$(LDFLAGS) -lsocket -lnsl -lssl -lcrypto"
@@ -49,6 +49,6 @@
 
 test:	$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += system/library
--- a/components/httping/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/security/openssl
-system/library
--- a/components/hwdata/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/hwdata/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -28,7 +28,7 @@
 TPNO_PCI=	7530
 TPNO_USB=	7831
 
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Since upstream only offers the latest snapshot for download, without
 # any way to retrieve a specific version, we just keep the currently
@@ -59,7 +59,6 @@
     COMPONENT_VERSION_$(i)='$(shell $(ID_VERSION_EXTRACT_COMMAND) $(i))')
 
 # This package delivers only data files and has no dependencies.
-EXTDEPFILES = $(NULLDEPFILE)
 
 # Since we have two separately licensed components we don't use the default
 # license transform rules, but handle the license info metadata directly
@@ -90,4 +89,3 @@
 clobber clean::
 	$(RM) -r $(BUILD_DIR)
 
-include ../../make-rules/depend.mk
--- a/components/iftop/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/iftop/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			9256
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
     ($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -67,6 +67,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/libpcap
+REQUIRED_PACKAGES += system/library/math
--- a/components/iftop/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/ncurses
-system/library
-system/library/libpcap
-system/library/math
--- a/components/ilmbase/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ilmbase/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			5574
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL = 0
 
@@ -66,7 +66,8 @@
 
 test:	 $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/ilmbase/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/imagemagick/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/imagemagick/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 
 TPNO=			17708
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
 
@@ -122,6 +122,26 @@
 test:		$(NO_TESTS)
 	@echo "Tests can be run only after ImageMagick is installed."
 
-BUILD_PKG_DEPENDENCIES= $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += compress/xz
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += image/library/libtiff
+REQUIRED_PACKAGES += library/desktop/cairo
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/fftw-3
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/lcms
+REQUIRED_PACKAGES += library/libtool/libltdl
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/fontconfig
+REQUIRED_PACKAGES += system/library/freetype-2
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/openmp
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxext
--- a/components/imagemagick/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-compress/bzip2
-compress/xz
-image/library/libjpeg
-image/library/libpng
-image/library/libtiff
-library/desktop/cairo
-library/desktop/pango
-library/fftw-3
-library/glib2
-library/lcms
-library/libtool/libltdl
-library/libxml2
-library/zlib
-shell/ksh93
-system/library
-system/library/c++-runtime
-system/library/fontconfig
-system/library/freetype-2
-system/library/math
-system/library/openmp
-x11/library/libx11
-x11/library/libxext
--- a/components/indent/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/indent/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -36,9 +36,9 @@
 
 TPNO=			12225
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Needed to get "gmake test" working.
 COMPONENT_PRE_CONFIGURE_ACTION =	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -54,6 +54,5 @@
 test:		install
 	@cd $(BUILD_DIR_64)/regression; PATH=/usr/gnu/bin:/usr/bin $(MAKE) test
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/indent/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/iperf/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/iperf/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			5730
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -61,6 +61,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/iperf/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/ircii/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ircii/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,9 +38,9 @@
 
 TPNO=			5578
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_ENV += CC="$(CC)"
 
@@ -59,6 +59,5 @@
 
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/ircii/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/isc-dhcp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/isc-dhcp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 
 TPNO=			10383
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -59,7 +59,6 @@
 
 install:	build $(INSTALL_32) $(PROTO_DIR)/dhcpd.leases
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:	build
 	@cd $(BUILD_DIR_32); $(MAKE) check
@@ -67,4 +66,7 @@
 $(PROTO_DIR)/dhcpd.leases:	$(INSTALL_32)
 	$(TOUCH) $@
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/network
--- a/components/isc-dhcp/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-shell/ksh93
-system/core-os
-system/library
-system/network
--- a/components/jsl/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/jsl/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,8 +18,14 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
+
+# Preferred compiler set to gcc and not Studio as on Sparc architecture
+# some assembler code is required for locking which fails to compile on
+# solaris, when using gcc this is inlined (see jslock.c)
+COMPILER=	gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		jsl
@@ -34,14 +40,10 @@
 
 TPNO=			10774
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
-# Preferred compiler set to gcc and not Studio as on Sparc architecture
-# some assembler code is required for locking which fails to compile on
-# solaris, when using gcc this is inlined (see jslock.c)
-COMPILER=	gcc3
 
 COMPONENT_BUILD_ARGS += -f src/Makefile
 COMPONENT_BUILD_ARGS += CC="$(CC)"
@@ -61,6 +63,6 @@
 test:
 	cd $(COMPONENT_SRC)/tests; $(PERL) ./run_tests.pl $(PROTOUSRBINDIR64)/jsl
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/jsl/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-system/library
-system/library/math
--- a/components/junit/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/junit/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			9070
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ant.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ant.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # These ARGS override what is set in build.xml
 COMPONENT_BUILD_ARGS 	+= -Ddist=${PROTO_DIR}
@@ -59,6 +59,5 @@
 # OK (22 tests)
 test:		$(NO_TESTS)
 		
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/java/jre-7
--- a/components/junit/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-runtime/java/jre-7
--- a/components/ksh93/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ksh93/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -155,11 +155,12 @@
 		
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES= $(BUILD_TOOLS)
 
 PKG_PROTO_DIRS +=   $(COMPONENT_DIR)/files
 
-include ../../make-rules/prep.mk
-include ../../make-rules/attpackagemake.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/depend.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/attpackagemake.mk
+include $(WS_MAKE_RULES)/ips.mk
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/ksh93/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-system/core-os
-system/library
-system/library/math
--- a/components/lcms/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/lcms/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,10 +34,10 @@
 
 TPNO=			9072
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 PATCH_LEVEL = 0
 
@@ -102,7 +102,13 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libtiff
+REQUIRED_PACKAGES += library/lcms
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/lcms/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-image/library/libjpeg
-image/library/libtiff
-library/lcms
-runtime/python-26
-runtime/python-27
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/less/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/less/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 
 TPNO=			9286
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CC += $(CC_BITS)
 
@@ -58,6 +58,6 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += system/library
--- a/components/less/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/ncurses
-system/library
--- a/components/lftp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/lftp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			16991
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL =   0
 
@@ -55,6 +55,12 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/gnutls
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/lftp/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/expat
-library/gnutls
-library/readline
-runtime/perl-512
-shell/ksh93
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/libarchive/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libarchive/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -35,9 +35,9 @@
 
 TPNO=			11624
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Userland default includes -mt which links with libthread which we don't need.
 studio_MT =
@@ -61,6 +61,10 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += compress/xz
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
--- a/components/libarchive/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-compress/bzip2
-compress/xz
-library/libxml2
-library/security/openssl
-library/zlib
-system/library
--- a/components/libassuan/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libassuan/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			18558
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Enable C99 mode + -Xc for its additional warnings.
 studio_C99MODE = -Xc $(studio_C99_ENABLE)
@@ -69,7 +69,8 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/security/libgpg-error
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/libassuan/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/security/libgpg-error
-shell/ksh93
-system/library
--- a/components/libconfuse/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libconfuse/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -35,9 +35,9 @@
 
 TPNO=			6306
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS +=	--disable-static
 CONFIGURE_OPTIONS +=	--enable-shared
@@ -53,6 +53,5 @@
 
 test:	$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/libconfuse/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/libedit/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libedit/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -35,9 +35,9 @@
 
 TPNO=			7013
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS +=    CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS +=   --enable-shared
@@ -52,6 +52,5 @@
 test:		$(NO_TESTS)
 
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/libedit/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/libee/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libee/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -33,9 +33,9 @@
 
 TPNO=			7585
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Userland default includes -mt which links with libthread which we don't need.
 studio_MT =
@@ -50,6 +50,6 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libestr
+REQUIRED_PACKAGES += system/library
--- a/components/libee/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/libestr
-system/library
--- a/components/libestr/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libestr/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -33,9 +33,9 @@
 
 TPNO=			7585
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Userland default includes -mt which links with libthread which we don't need.
 studio_MT =
@@ -50,6 +50,5 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/libestr/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/libevent/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libevent/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,10 +38,10 @@
 
 TPNO=			5581
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION =  \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -64,6 +64,5 @@
 # them because we delete things that the tests want (see above).
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/libevent/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/libexpat/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libexpat/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 
 TPNO=			5498
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) $(CPP_LARGEFILES)"
 CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
@@ -53,6 +53,4 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/libexpat/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/libidn/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libidn/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -41,10 +41,10 @@
 
 TPNO=			8441
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 PATCH_LEVEL = 0
 LINT_FLAGS += -I$(PROTOUSRINCDIR)/idn
@@ -138,7 +138,6 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += system/library
--- a/components/libidn/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/libksba/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libksba/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8768
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Enable C99 mode + -Xc for its additional warnings.
 studio_C99MODE = -Xc $(studio_C99_ENABLE)
@@ -69,7 +69,8 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/security/libgpg-error
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/libksba/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/security/libgpg-error
-shell/ksh93
-system/library
--- a/components/libmcrypt/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libmcrypt/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -36,9 +36,9 @@
 
 TPNO=			8771
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CFLAGS += -xstrconst
 LDFLAGS += -lsocket -lnsl
@@ -75,6 +75,6 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/libmcrypt/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-shell/ksh93
-system/library
--- a/components/libmemcached/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libmemcached/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -36,9 +36,9 @@
 
 TPNO=			5582
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CFLAGS += -xstrconst
 LDFLAGS += -lsocket -lnsl
@@ -84,6 +84,5 @@
 # Tests fail, probably because memcached is not running.
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/libmemcached/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/libmng/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libmng/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -58,10 +58,10 @@
 
 TPNO=			5583
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 # because Solaris installed the lcms headers elsewhere
 CFLAGS += `pkg-config --cflags lcms`
@@ -104,7 +104,10 @@
 
 test:	$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += library/lcms
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/libmng/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-image/library/libjpeg
-library/lcms
-library/zlib
-system/library
-system/library/math
--- a/components/libneon/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libneon/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -35,9 +35,9 @@
 
 TPNO=			18538
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL = 0
 
@@ -70,7 +70,12 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/libproxy
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/security/gss
--- a/components/libneon/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/libproxy
-library/libxml2
-library/security/openssl
-library/zlib
-shell/ksh93
-system/library
-system/library/security/gss
--- a/components/libnet/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libnet/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,9 +20,11 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER=	gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		libnet
@@ -37,15 +39,14 @@
 
 TPNO=			17724
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
 
 PKG_PROTO_DIRS += $(COMPONENT_SRC)/doc/man/man3
-COMPILER=	gcc3
 CFLAGS += -g -fPIC
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS.32 += --srcdir=$(BUILD_DIR_32)
@@ -59,6 +60,10 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/gcc-45-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
--- a/components/libnet/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-shell/ksh93
-system/library
-system/library/gcc-3-runtime
-system/library/gcc-45-runtime
-system/library/gcc/gcc-c-runtime
-system/library/gcc/gcc-c++-runtime
--- a/components/libpcap/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libpcap/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			15968
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 #
 # libpcap Makefile does not use CFLAGS when building shared library
@@ -53,8 +53,8 @@
 
 install:	$(INSTALL_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:	$(NO_TESTS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/libpcap/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-shell/ksh93
-system/library
--- a/components/librsync/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/librsync/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -48,9 +48,9 @@
 
 CLOBBER_PATHS += $(COMPONENT_NAME_1)
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D)) ; \
@@ -75,6 +75,6 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/popt
+REQUIRED_PACKAGES += system/library
--- a/components/librsync/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/popt
-system/library
--- a/components/libsigsegv/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libsigsegv/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8453
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		--disable-static
 CONFIGURE_OPTIONS  +=		--enable-shared
@@ -49,6 +49,5 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/libsigsegv/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/libsndfile/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libsndfile/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8890
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Needed for __func__ in cpp_test.cc
 CXXFLAGS += $(studio_FEATURES_EXTENSIONS)
@@ -52,6 +52,9 @@
 
 test:	$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += codec/flac
+REQUIRED_PACKAGES += codec/ogg-vorbis
+REQUIRED_PACKAGES += database/sqlite-3
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/libsndfile/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-codec/flac
-codec/ogg-vorbis
-database/sqlite-3
-system/library
-system/library/math
--- a/components/libtecla/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libtecla/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,10 +34,10 @@
 
 TPNO=			8740
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 # Userland default includes -mt which links with libthread which we don't need.
 studio_MT =
@@ -55,8 +55,7 @@
 
 test:	$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/files
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/libtecla/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/libtool/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libtool/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -48,9 +48,9 @@
 COMPONENT_ARCHIVE_URL_1 = http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE_1)
 SOURCE_DIR_1 =		$(COMPONENT_DIR)/$(COMPONENT_SRC_1)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS  +=		--disable-static
@@ -111,6 +111,12 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += developer/base-developer-utilities
+REQUIRED_PACKAGES += file/gnu-coreutils
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += text/gnu-grep
+REQUIRED_PACKAGES += text/gnu-sed
--- a/components/libtool/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-developer/base-developer-utilities
-file/gnu-coreutils
-shell/bash
-shell/ksh93
-system/library
-system/linker
-text/gnu-grep
-text/gnu-sed
--- a/components/libtorrent/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libtorrent/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 # we really need to use studio, mostly because that's what
@@ -41,9 +41,9 @@
 
 TPNO=			9038
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -87,6 +87,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/c++/sigcpp
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
--- a/components/libtorrent/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/c++/sigcpp
-library/security/openssl
-system/library
-system/library/c++-runtime
--- a/components/libusb/ugen/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libusb/ugen/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -29,8 +29,8 @@
 COMPONENT_SRC=		src
 COMPONENT_BUGDB=	library/libusb
 
-include $(WS_TOP)/make-rules/justmake.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 $(BUILD_DIR_32)/.built:	BITS=32
 $(BUILD_DIR_64)/.built:	BITS=64
@@ -61,6 +61,6 @@
 # enumerates USB devices plugged into your system
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/linker
--- a/components/libusb/ugen/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-system/library
-system/linker
--- a/components/libusb/wrapper/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libusb/wrapper/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -31,8 +31,8 @@
 
 TPNO=			9184
 
-include $(WS_TOP)/make-rules/justmake.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 $(BUILD_DIR_32)/.built: BITS=32
 $(BUILD_DIR_64)/.built: BITS=64
@@ -63,6 +63,7 @@
 # enumerates USB devices plugged into your system
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/linker
--- a/components/libusb/wrapper/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-shell/ksh93
-system/library
-system/linker
--- a/components/libxml2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libxml2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -43,10 +43,10 @@
 
 TPNO=			19552
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 CFLAGS +=	$(CPP_LARGEFILES)
 LDFLAGS +=	$(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
@@ -127,6 +127,13 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += runtime/python-34
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/libxml2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-library/libxml2
-library/zlib
-runtime/python-26
-runtime/python-27
-runtime/python-34
-shell/ksh93
-system/library
-system/library/math
-system/linker
--- a/components/libxslt/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/libxslt/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,10 +37,10 @@
 
 TPNO=			17982
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 LINT_FLAGS +=	-I/usr/include/libxml2 
 
@@ -93,7 +93,13 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/libxslt
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/libxslt/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/libxml2
-library/libxslt
-runtime/python-26
-shell/ksh93
-system/library
-system/library/math
-system/linker
--- a/components/lighttpd/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/lighttpd/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 
 LIGHTTPD_INSTALLDIR=/usr/lighttpd/1.4
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL=0
 
@@ -72,6 +72,16 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += database/mysql-55/library
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/lua
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/network
+REQUIRED_PACKAGES += web/fastcgi/spawn-fcgi
--- a/components/lighttpd/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-compress/bzip2
-database/mysql-55/library
-library/pcre
-library/security/openssl
-library/security/openssl/openssl-fips-140
-library/zlib
-runtime/lua
-system/core-os
-system/library
-system/library/math
-system/network
-web/fastcgi/spawn-fcgi
--- a/components/links/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/links/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,6 +20,10 @@
 #
 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
+
+# Because the Studio compiler generates thousands of lines of warnings.
+COMPILER =		gcc
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		links
@@ -34,12 +38,9 @@
 
 TPNO=			21157
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-
-# Because the Studio compiler generates thousands of lines of warnings.
-COMPILER =		gcc
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Needed to generate a 64-bit executable.
 CC +=			$(CC_BITS)
@@ -61,6 +62,9 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += compress/xz
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
--- a/components/links/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-compress/bzip2
-compress/xz
-library/security/openssl
-library/zlib
-system/library
--- a/components/logilab-astng/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/logilab-astng/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -41,9 +41,9 @@
 # this likewise.
 PYTHON_VERSIONS=	2.7 2.6
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/setup.py.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/setup.py.mk
 
 # common targets
 
@@ -90,6 +90,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
--- a/components/logilab-astng/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/logilab-common/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/logilab-common/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -40,9 +40,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/setup.py.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/setup.py.mk
 
 # rename pytest to its versioned name; mediated links (depending on
 # the python version) in the manifest will create the link from pytest
@@ -80,6 +80,4 @@
 
 test:	$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/python-2/pyorbit-26
--- a/components/logilab-common/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/python-2/pyorbit-26
-runtime/python-26
-runtime/python-27
--- a/components/lua/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/lua/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			5814
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # This is because lua uses $(CC) to build it's shared libraries.
 CC +=		$(CC_BITS)
@@ -57,7 +57,7 @@
 		
 test: 		$(TEST_32_and_64)
 		
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/lua/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-system/library
-system/library/math
--- a/components/lynx/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/lynx/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			9373
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Needed to successfully find lynx.pot.
 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -61,6 +61,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
+REQUIRED_PACKAGES += system/library
--- a/components/lynx/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/ncurses
-library/security/openssl
-library/security/openssl/openssl-fips-140
-system/library
--- a/components/m4/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/m4/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			16962
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_PREFIX =	/usr/gnu
 CONFIGURE_OPTIONS  +=	--infodir=$(CONFIGURE_INFODIR)
@@ -52,6 +52,7 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libsigsegv
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/m4/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/libsigsegv
-system/library
-system/library/math
--- a/components/mailman/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mailman/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			18736
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_ENV	+=	MAILMAN_USER=mailman
 CONFIGURE_ENV	+=	MAILMAN_GROUP=mailman
@@ -69,8 +69,12 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/files
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/dnspython-27
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/network
--- a/components/mailman/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python/dnspython-27
-runtime/python-27
-shell/ksh93
-system/core-os
-system/library
-system/network
--- a/components/make/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/make/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			5521
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		--program-prefix=g
 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
@@ -53,6 +53,5 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/make/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/mc/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mc/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 
 TPNO=			20604
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 
 CONFIGURE_OPTIONS += --sysconfdir=/usr/share
@@ -61,6 +61,9 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/slang
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/mc/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/glib2
-library/slang
-runtime/perl-512
-shell/ksh93
-system/library
--- a/components/meld/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/meld/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -35,9 +35,9 @@
 
 TPNO=			16990
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PYTHON_VERSION =	2.6
 
@@ -54,6 +54,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/python-2/pygtk2-26
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += library/python-2/pygtk2-27
+REQUIRED_PACKAGES += runtime/python-27
--- a/components/meld/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/python-2/pygtk2-26
-runtime/python-26
--- a/components/memcached-java/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/memcached-java/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			5586
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ant.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ant.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Make sure we remove unneeded pieces from the source (the test dir)
 # and also the existing source files which will be generated anew 
@@ -80,6 +80,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/java/jre-7
--- a/components/memcached-java/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-runtime/java/jre-7
--- a/components/memcached/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/memcached/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			16265
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATH=/usr/bin:/usr/gnu/bin:/usr/perl5/bin
 
@@ -73,6 +73,9 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libevent
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/network
--- a/components/memcached/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/libevent
-shell/ksh93
-system/core-os
-system/library
-system/network
--- a/components/mercurial/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mercurial/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -42,9 +42,9 @@
 # Mercurial does not yet support Python 3.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_POST_INSTALL_ACTION = \
 	(cd $(PROTO_DIR)/usr/bin ; $(MV) -f hg hg-$(PYTHON_VERSION))
@@ -101,6 +101,7 @@
 
 test:		install $(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += system/library
--- a/components/mercurial/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-system/library
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/meta-packages/developer-opensolaris-userland/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -0,0 +1,57 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		developer/opensolaris/userland
+COMPONENT_VERSION=	
+COMPONENT_PROJECT_URL=	http://solaris-userland.java.net/
+COMPONENT_ARCHIVE_URL=	http://hg.java.net/solaris-userland-gate/
+COMPONENT_BUGDB=	gate-stuff/userland
+
+include $(WS_MAKE_RULES)/ips.mk
+
+$(WS_MACH)/requires.mk:
+	(cd $(WS_COMPONENTS) ; $(GMAKE) $@)
+
+-include $(WS_MACH)/requires.mk
+
+# The package is created in two parts: the checked-in manifest and a generated
+# file of actions based on the REQUIRED_PACKAGES macro value.
+PKG_OPTIONS += -I $(BUILD_DIR)
+
+$(BUILD_DIR)/package.list:	$(BUILD_DIR) $(WS_MACH)/requires.mk
+	@echo $(REQUIRED_PACKAGES:%="depend type=require fmri=pkg:/%\\n") >$@
+
+download::
+
+prep:
+
+build install: $(BUILD_DIR)/package.list
+
+test:	$(NO_TESTS)
+
+clean clobber::
+	$(RM) -r $(BUILD_DIR)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/meta-packages/developer-opensolaris-userland/developer-opensolaris-userland.p5m	Thu Mar 19 20:44:31 2015 -0700
@@ -0,0 +1,32 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+
+<include package.list>
+#
+set name=pkg.fmri \
+    value=pkg:/$(COMPONENT_NAME)@$(PKG_SOLARIS_VERSION),$(BUILD_VERSION)
+set name=pkg.summary \
+    value="Dependencies required to build Userland consolidation."
+set name=info.classification \
+    value="org.opensolaris.category.2008:Development/Distribution Tools"
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
--- a/components/meta-packages/history/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/meta-packages/history/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,12 +18,12 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
 
-# $(WS_TOP)/make-rules/ips.mk really isn't set up to allow you to bypass all
+# $(WS_MAKE_RULES)/ips.mk really isn't set up to allow you to bypass all
 # the automatic (and lengthy) manifest manipulation that it does, which we
 # really don't need to do for these static, uninteresting packages.  So we just
 # write a simple set of publication rules to get the packages into the repo.
--- a/components/mlocate/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mlocate/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			10233
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS.64 +=    CC="$(CC) -m64"
 CONFIGURE_OPTIONS += --localstatedir="/var/cache"
@@ -57,6 +57,5 @@
 		
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/mlocate/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/mpc/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mpc/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			4706
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 export SHELL
 SHELL=/bin/sh
@@ -50,8 +50,6 @@
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS  +=		--disable-static
 
-include ../../make-rules/shared-targets.mk
-
 # common targets
 build:	$(BUILD_32_and_64)
 
@@ -62,6 +60,8 @@
 		@cd $(BUILD_DIR_32)/tests; $(MAKE) check
 		@cd $(BUILD_DIR_64)/tests; $(MAKE) check
  
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/gmp
+REQUIRED_PACKAGES += library/mpfr
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/mpc/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/gmp
-library/mpfr
-system/library
-system/library/math
--- a/components/mpfr/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mpfr/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,10 +38,10 @@
 
 TPNO=			17709
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 CLOBBER_PATHS += libmpfr.pc
 PATCH_LEVEL = 0
@@ -130,7 +130,7 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/gmp
+REQUIRED_PACKAGES += system/library
--- a/components/mpfr/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/gmp
-system/library
--- a/components/mutt/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mutt/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			9259
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS  +=		--sysconfdir="$(ETCDIR)/$(COMPONENT_NAME)"
@@ -68,6 +68,13 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/database/gdbm
+REQUIRED_PACKAGES += library/libidn
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/slang
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/security/libsasl
--- a/components/mutt/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-library/database/gdbm
-library/libidn
-library/security/openssl
-library/slang
-runtime/perl-512
-shell/ksh93
-system/library
-system/library/math
-system/library/security/libsasl
--- a/components/mysql-5-1/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mysql-5-1/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -32,9 +32,9 @@
 COMPONENT_PROJECT_URL=	http://dev.mysql.com/ 
 COMPONENT_BUGDB=	database/mysql
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL=0
 
@@ -117,6 +117,15 @@
 
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += database/mysql-51
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += system/network
--- a/components/mysql-5-1/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-database/mysql-51
-library/ncurses
-library/zlib
-runtime/perl-512
-shell/ksh93
-system/core-os
-system/library
-system/library/c++-runtime
-system/library/math
-system/linker
-system/network
--- a/components/mysql-5-5/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mysql-5-5/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -32,9 +32,9 @@
 COMPONENT_PROJECT_URL = http://dev.mysql.com/ 
 COMPONENT_BUGDB       = database/mysql
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # This component uses cmake to generate Makefiles and thus does not
 # run any configure script
@@ -89,6 +89,13 @@
 
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/network
--- a/components/mysql-5-5/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-library/security/openssl
-runtime/perl-512
-runtime/perl-516
-shell/ksh93
-system/core-os
-system/library
-system/library/gcc/gcc-c-runtime
-system/library/gcc/gcc-c++-runtime
-system/library/math
-system/network
--- a/components/mysql-common/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mysql-common/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -27,11 +27,13 @@
 COMPONENT_PROJECT_URL=	http://dev.mysql.com/
 COMPONENT_BUGDB=	database/mysql
 
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 # nothing to download or build; just package
 download prep build install test:
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 clobber:	clean
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/network
--- a/components/mysql-common/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-shell/ksh93
-system/core-os
-system/network
--- a/components/ncftp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ncftp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,9 +38,9 @@
 
 TPNO=			9255
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -52,15 +52,12 @@
 CONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
 CONFIGURE_OPTIONS += --srcdir=$(BUILD_DIR_32) 
 
-include ../../make-rules/shared-targets.mk
-
 # common targets
 build:		$(BUILD_32)
 
 install:	$(INSTALL_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:	$(NO_TESTS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/ncftp/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/ncurses/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ncurses/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			5931
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Needed to make "gmake test" work.
 COMPONENT_PRE_CONFIGURE_ACTION = \
@@ -77,6 +77,6 @@
 		(cd $(BUILD_DIR)/$(MACH32)/test; $(GMAKE))
 		(cd $(BUILD_DIR)/$(MACH64)/test; $(GMAKE))
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += system/library
--- a/components/ncurses/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-shell/bash
-system/library
--- a/components/net-snmp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/net-snmp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 
 TPNO=			5702
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CFLAGS += $(studio_C99_ENABLE)
 CPPFLAGS += "-DFALSE_SHARING_ALIGN=64"
@@ -141,3 +141,13 @@
 	(cd $(@D) ; $(ENV) srcdir=$(@D) $(DOXYGEN) -u $(@D)/doxygen.conf ; \
 	    $(ENV) srcdir=$(@D) $(DOXYGEN) $(@D)/doxygen.conf)
 	$(TOUCH) $@
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += system/management/snmp/net-snmp
+REQUIRED_PACKAGES += system/network
--- a/components/net-snmp/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-runtime/perl-512
-runtime/python-26
-runtime/python-27
-shell/bash
-shell/ksh93
-system/core-os
-system/library
-system/linker
-system/management/snmp/net-snmp
-system/network
--- a/components/nethack/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/nethack/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 
 TPNO=			9239
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL=0
 
@@ -70,6 +70,11 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += x11/compatibility/links-xorg
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxpm
+REQUIRED_PACKAGES += x11/library/toolkit/libxaw7
+REQUIRED_PACKAGES += x11/library/toolkit/libxt
--- a/components/nethack/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-shell/ksh93
-system/library
-x11/compatibility/links-xorg
-x11/library/libx11
-x11/library/libxpm
-x11/library/toolkit/libxaw7
-x11/library/toolkit/libxt
--- a/components/nmap/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/nmap/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,9 +20,13 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+# Can't use the Studio compilers as they don't support the GNU 
+# __attribute__ extension
+COMPILER =	gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=         nmap
@@ -37,13 +41,9 @@
 
 TPNO=			9217
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-
-# Can't use the Studio compilers as they don't support the GNU 
-# __attribute__ extension
-COMPILER =	gcc3
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -85,6 +85,16 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += library/python-2/pygobject-26
+REQUIRED_PACKAGES += library/python-2/pygtk2-26
+REQUIRED_PACKAGES += library/python-2/pygtk2-27
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += runtime/lua
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/libpcap
+REQUIRED_PACKAGES += system/library/math
--- a/components/nmap/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-library/pcre
-library/python-2/pygobject-26
-library/python-2/pygtk2-26
-library/security/openssl
-runtime/lua
-runtime/python-26
-system/library
-system/library/gcc-3-runtime
-system/library/libpcap
-system/library/math
--- a/components/novnc/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/novnc/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,8 +34,8 @@
 
 TPNO=			18799
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -49,6 +49,5 @@
 clean::
 	$(RM) -r $(BUILD_DIR)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += consolidation/userland/userland-incorporation
--- a/components/novnc/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-consolidation/userland/userland-incorporation
--- a/components/ntp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ntp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -44,9 +44,9 @@
 
 PATCH_LEVEL = 0
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CFLAGS +=	$(studio_C99_ENABLE) -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
 
@@ -64,10 +64,16 @@
 CONFIGURE_OPTIONS +=	--without-ntpsnmpd
 CONFIGURE_OPTIONS +=	--with-openssl-libdir=/lib
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 build:		$(BUILD_32)
 install:	$(INSTALL_32)
 test:		$(NO_TESTS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libedit
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += service/network/dns/mdns
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/ntp/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/libedit
-library/security/openssl
-runtime/perl-512
-service/network/dns/mdns
-shell/ksh93
-system/core-os
-system/library
-system/library/math
--- a/components/open-fabrics/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -36,7 +36,7 @@
 TPNO_RDS_TOOLS=		5092
 
 include ../../make-rules/shared-macros.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/ips.mk
 include ofed.mk
 
 LD_Z_IGNORE =
@@ -91,3 +91,11 @@
 infiniband-diags:	libibverbs opensm
 
 FORCE:
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/tcl-8
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/open-fabrics/ibutils/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/ibutils/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,8 +30,8 @@
     sha256:8db2fcb20102c37e7037826c58b899092df034aac870d3d50a13263746f17f18
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/ibutils/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 LIBS +=	-lsocket -lnsl -lopensm -losmvendor -losmcomp -libumad -libmad
@@ -98,8 +98,6 @@
 
 install:	$(INSTALL_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/infiniband-diags/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/infiniband-diags/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,14 +30,12 @@
     sha256:0baf6694d54602a66dfc2b82a765c933b24534fd8e2bda7e9b89abf503b29c02
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 MAN1MFILES = set_nodedesc.sh.1m
 
-include $(WS_TOP)/make-rules/shared-targets.mk
-
 CFLAGS += -I$(PROTO_DIR)/usr/include/infiniband
 LIBS +=	-lsocket -lnsl -lopensm -losmvendor -losmcomp -libumad -libmad -libverbs -ldevinfo
 
@@ -83,8 +81,6 @@
 
 install:	$(INSTALL_32) $(PROTOMAN1MFILES)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/libibmad/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/libibmad/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,8 +30,8 @@
     sha256:825a1ff5c2df0a6a158e0058560772998d39ae633a838c19b58a99650dc199b0
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 LIBS +=	-lsocket -lnsl -libumad
@@ -45,8 +45,6 @@
 
 install:	$(INSTALL_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/libibumad/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/libibumad/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,8 +30,8 @@
     sha256:4999cb9ff5c7243027d8a154d6b27d1efffaa4359b84447731c5ef545fb72229
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 LIBS +=	-lsocket -lnsl -libverbs
@@ -81,8 +81,6 @@
 
 install:	$(INSTALL_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/libibverbs/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/libibverbs/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,8 +30,8 @@
     sha256:1e04aa9d518e3dc372fdda6bd25bf072caae4c85c38d0ae095a614104aa583d4
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/libibverbs/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 MAN3FILES =	ibv_alloc_shpd.3 \
@@ -40,7 +40,7 @@
 		ibv_gid_reachable.3 \
 		ibv_register_sm_events.3
 
-include $(WS_TOP)/make-rules/shared-targets.mk
+include $(WS_MAKE_RULES)/shared-targets.mk
 
 # add flags to get at extra bits from other components' source trees
 CPPFLAGS +=	-I$(PWD)/../libmlx4/libmlx4-1.0.1/src
@@ -81,8 +81,6 @@
 
 install:	$(INSTALL_32_and_64) $(PROTOMAN3FILES)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/libmlx4/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/libmlx4/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,8 +30,8 @@
     sha256:ac3aa335d5749a8edc471630b1f5049122c8b7b66bab88c299e255122028e19c
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/libmlx4/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 # --disable-libcheck is not a supported option for this component
@@ -64,8 +64,6 @@
 
 install:	$(INSTALL_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/librdmacm/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/librdmacm/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,8 +30,8 @@
     sha256:b74d367415b4f294f3821955428f3e362b91f779042c88970f99941216c13a7c
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/rdmacm/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 LIBS += -libverbs -lsocket -lnsl
@@ -65,8 +65,6 @@
 
 install:	$(INSTALL_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/libsdp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/libsdp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,15 +30,13 @@
     sha256:b72d4d84c7a02207c261082d1837757f8c131942193ceaf017daf684d61e8be1
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/libsdp/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 MAN3FILES = libsdp.3lib
 MAN4FILES = libsdp.conf.4
 
-include $(WS_TOP)/make-rules/shared-targets.mk
-
 SUFFIX.64 = $(MACH64)
 
 CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
@@ -66,8 +64,6 @@
 
 install:	$(INSTALL_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/opensm/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/opensm/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,8 +30,8 @@
     sha256:b8f333815e9d145cbb29310a38d2f2e39f9727b30eb6b15cb0d81fb9db39a2e1
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/management/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 CFLAGS += -std=gnu99
@@ -75,8 +75,6 @@
 
 install:	$(INSTALL_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/perftest/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/perftest/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -35,8 +35,8 @@
 $(INSTALL_32):	BITS=32
 $(INSTALL_64):	BITS=64
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 MAN1FILES =	ib_clock_test.1 \
@@ -45,7 +45,7 @@
 		ib_send_bw.1 \
 		rdma_bw.1
 
-include $(WS_TOP)/make-rules/shared-targets.mk
+include $(WS_MAKE_RULES)/shared-targets.mk
 
 LIBS +=         -lsocket -lnsl -lkstat -lrdmacm -libverbs -libumad -libmad
 
@@ -76,8 +76,6 @@
 
 install:	$(INSTALL_32_and_64) $(PROTOMAN1FILES)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/qperf/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/qperf/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,8 +30,8 @@
     sha256:304b89d1b006c959cad3b132346a6d061526fe626953ef99c764df396e43f959
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/qperf/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 LIBS +=         -lsocket -lnsl -lkstat -lrdmacm -libverbs
@@ -47,8 +47,6 @@
 
 install:	$(INSTALL_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/rds-tools/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/open-fabrics/rds-tools/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -30,8 +30,8 @@
     sha256:31b5924f73bed59e513470586c69ebe92eeb708fcc61a0519045fcf7954233a3
 COMPONENT_ARCHIVE_URL=	http://www.openfabrics.org/downloads/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 include ../ofed.mk
 
 CPPFLAGS +=	-I$(PROTO_DIR)/usr/include
@@ -64,8 +64,6 @@
 
 install:	$(INSTALL_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/open-fabrics/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-runtime/perl-512
-runtime/tcl-8
-shell/bash
-shell/ksh93
-system/library
-system/library/gcc-3-runtime
-system/library/math
-system/linker
--- a/components/openexr/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openexr/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			10771
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL = 0
 
@@ -68,6 +68,9 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/ilmbase
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/openexr/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/ilmbase
-library/zlib
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/openldap/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openldap/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 
@@ -48,9 +48,9 @@
 COMPONENT_ARCHIVE_URL_1= ftp://ftp.eenet.ee/pub/cpan/authors/id/I/IA/IANC/$(COMPONENT_ARCHIVE_1)
 
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
@@ -107,6 +107,11 @@
 test:	$(TEST_32_and_64)
 
 	
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += database/berkeleydb-5
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/security/libsasl
+REQUIRED_PACKAGES += system/network
--- a/components/openldap/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-database/berkeleydb-5
-library/security/openssl
-shell/ksh93
-system/core-os
-system/library
-system/library/security/libsasl
-system/network
--- a/components/openscap/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openscap/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -22,6 +22,8 @@
 # Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER=		gcc
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		openscap
@@ -36,8 +38,6 @@
 
 TPNO=			20626
 
-COMPILER=		gcc
-
 CFLAGS+=		-std=c99
 CFLAGS+=		-DNDEBUG
 CFLAGS+=		-DOSCAP_THREAD_SAFE
@@ -47,9 +47,9 @@
 PYTHON_VERSION=		2.6
 PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CPPFLAGS +=	-I/usr/include/openldap
 
@@ -103,6 +103,23 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += gnome/config/gconf
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/libxslt
+REQUIRED_PACKAGES += library/openldap
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += security/compliance/openscap
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/gcc-45-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/security/libgcrypt
+REQUIRED_PACKAGES += system/zones
+REQUIRED_PACKAGES += web/curl
--- a/components/openscap/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-compress/bzip2
-gnome/config/gconf
-library/glib2
-library/libxml2
-library/libxslt
-library/openldap
-library/pcre
-runtime/perl-512
-runtime/python-26
-runtime/python-27
-security/compliance/openscap
-system/library
-system/library/gcc-3-runtime
-system/library/gcc-45-runtime
-system/library/gcc/gcc-c-runtime
-system/library/math
-system/library/security/libgcrypt
-system/zones
-web/curl
--- a/components/openssh/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openssh/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,6 +20,8 @@
 #
 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
+COMPILER=	gcc
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		openssh
@@ -47,8 +49,6 @@
 # Enable ASLR for this component
 ASLR_MODE = $(ASLR_ENABLE)
 
-COMPILER=	gcc
-
 CFLAGS += -DSET_USE_PAM
 CFLAGS += -DDEPRECATE_SUNSSH_OPT
 CFLAGS += -DKRB5_BUILD_FIX
@@ -95,6 +95,12 @@
 # the STC gate.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libedit
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += service/security/kerberos-5
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-45-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/security/gss
+REQUIRED_PACKAGES += system/linker
--- a/components/openssh/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-library/libedit
-library/security/openssl
-library/zlib
-service/security/kerberos-5
-system/library
-system/library/security/gss
-system/library/gcc-45-runtime
-system/library/gcc/gcc-c-runtime
-system/linker
--- a/components/openssl/openssl-1.0.1-fips-140/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openssl/openssl-1.0.1-fips-140/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -53,10 +53,10 @@
 # only on SPARC.
 PATCH_PATTERN = [0-9][0-9]*.patch
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 # OpenSSL does not use autoconf but its own configure system.
 CONFIGURE_SCRIPT = $(SOURCE_DIR)/Configure
@@ -191,6 +191,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/openssl/openssl-1.0.1-fips-140/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/openssl/openssl-1.0.1/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openssl/openssl-1.0.1/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -43,10 +43,10 @@
 
 TPNO=			21111
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/perl5/bin
 
@@ -395,6 +395,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/openssl/openssl-1.0.1/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/openssl/openssl-fips/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openssl/openssl-fips/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 #
@@ -37,8 +37,8 @@
 COMPONENT_ARCHIVE_URL =	http://www.openssl.org/source/$(COMPONENT_ARCHIVE)
 COMPONENT_BUGDB=	library/openssl
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 
 PATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin:/usr/perl5/bin
 
@@ -126,4 +126,3 @@
 
 test:		$(NO_TESTS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/openstack/cinder/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openstack/cinder/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 
 TPNO=			17714
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -78,6 +78,13 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/eventlet-26
+REQUIRED_PACKAGES += library/python/ipython-26
+REQUIRED_PACKAGES += library/python/oslo.config-26
+REQUIRED_PACKAGES += library/python/sqlalchemy-migrate-26
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/file-system/zfs
+REQUIRED_PACKAGES += system/storage/fc-utilities
+REQUIRED_PACKAGES += system/storage/iscsi/iscsi-target
+REQUIRED_PACKAGES += system/storage/scsi-target-mode-framework
--- a/components/openstack/cinder/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-library/python-2/eventlet-26
-library/python-2/ipython-26
-library/python-2/oslo.config-26
-library/python-2/sqlalchemy-migrate-26
-library/python/eventlet-26
-library/python/ipython-26
-library/python/oslo.config-26
-library/python/sqlalchemy-migrate-26
-runtime/python-26
-system/core-os
-system/file-system/zfs
-system/storage/fc-utilities
-system/storage/iscsi/iscsi-target
-system/storage/scsi-target-mode-framework
--- a/components/openstack/common/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openstack/common/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -29,7 +29,7 @@
 COMPONENT_PROJECT_URL=	http://www.openstack.org/
 IPS_COMPONENT_VERSION=  0.$(COMPONENT_VERSION)
 
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -56,6 +56,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += consolidation/userland/userland-incorporation
--- a/components/openstack/common/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-consolidation/userland/userland-incorporation
--- a/components/openstack/glance/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openstack/glance/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 
 TPNO=			17717
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -65,6 +65,9 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/eventlet-26
+REQUIRED_PACKAGES += library/python/m2crypto-26
+REQUIRED_PACKAGES += library/python/oslo.config-26
+REQUIRED_PACKAGES += library/python/sqlalchemy-migrate-26
+REQUIRED_PACKAGES += system/core-os
--- a/components/openstack/glance/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-library/python-2/eventlet-26
-library/python-2/m2crypto-26
-library/python-2/oslo.config-26
-library/python-2/sqlalchemy-migrate-26
-library/python/eventlet-26
-library/python/m2crypto-26
-library/python/oslo.config-26
-library/python/sqlalchemy-migrate-26
-runtime/python-26
-system/core-os
--- a/components/openstack/heat/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openstack/heat/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 
 TPNO=			18176
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -61,6 +61,10 @@
 # integrated
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/eventlet-26
+REQUIRED_PACKAGES += library/python/oslo.config-26
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/sqlalchemy-migrate-26
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += system/core-os
--- a/components/openstack/heat/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-library/python-2/eventlet-26
-library/python-2/setuptools-26
-library/python-2/sqlalchemy-migrate-26
-library/python/eventlet-26
-library/python/oslo.config-26
-library/python/setuptools-26
-library/python/sqlalchemy-migrate-26
-runtime/python-26
-shell/bash
-system/core-os
--- a/components/openstack/horizon/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openstack/horizon/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,9 +39,9 @@
 TPNO_HORIZON=		17862
 TPNO_CSS=		16775
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -68,6 +68,6 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/eventlet-26
+REQUIRED_PACKAGES += library/python/oslo.config-26
--- a/components/openstack/horizon/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/python-2/eventlet-26
-library/python-2/oslo.config-26
-library/python/eventlet-26
-library/python/oslo.config-26
-runtime/python-26
--- a/components/openstack/keystone/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openstack/keystone/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 
 TPNO=			17866
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -57,6 +57,10 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/eventlet-26
+REQUIRED_PACKAGES += library/python/oslo.config-26
+REQUIRED_PACKAGES += library/python/pbr-26
+REQUIRED_PACKAGES += library/python/sqlalchemy-26
+REQUIRED_PACKAGES += library/python/sqlalchemy-migrate-26
+REQUIRED_PACKAGES += system/core-os
--- a/components/openstack/keystone/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-library/python-2/eventlet-26
-library/python-2/oslo.config-26
-library/python-2/pbr-26
-library/python-2/sqlalchemy-26
-library/python-2/sqlalchemy-migrate-26
-library/python/eventlet-26
-library/python/oslo.config-26
-library/python/pbr-26
-library/python/sqlalchemy-26
-library/python/sqlalchemy-migrate-26
-runtime/python-26
-system/core-os
--- a/components/openstack/neutron/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openstack/neutron/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 
 TPNO=			17716
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -80,6 +80,12 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/eventlet-26
+REQUIRED_PACKAGES += library/python/netaddr-26
+REQUIRED_PACKAGES += library/python/oslo.config-26
+REQUIRED_PACKAGES += network/ipfilter
+REQUIRED_PACKAGES += service/network/dnsmasq
+REQUIRED_PACKAGES += service/network/evs
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/network
--- a/components/openstack/neutron/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-library/python-2/eventlet-26
-library/python-2/netaddr-26
-library/python-2/oslo.config-26
-library/python/eventlet-26
-library/python/netaddr-26
-library/python/oslo.config-26
-network/ipfilter
-runtime/python-26
-service/network/dnsmasq
-service/network/evs
-system/core-os
-system/network
--- a/components/openstack/nova/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openstack/nova/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 
 TPNO=			17715
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -66,6 +66,18 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += install/archive
+REQUIRED_PACKAGES += library/python/eventlet-26
+REQUIRED_PACKAGES += library/python/oslo.config-26
+REQUIRED_PACKAGES += library/python/sqlalchemy-26
+REQUIRED_PACKAGES += library/python/sqlalchemy-migrate-26
+REQUIRED_PACKAGES += library/python/webob-26
+REQUIRED_PACKAGES += service/network/evs
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/file-system/zfs
+REQUIRED_PACKAGES += system/library/storage/suri
+REQUIRED_PACKAGES += system/storage/fc-utilities
+REQUIRED_PACKAGES += system/storage/iscsi/iscsi-initiator
+REQUIRED_PACKAGES += terminal/xterm
+REQUIRED_PACKAGES += x11/server/xvnc
--- a/components/openstack/nova/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-install/archive
-library/python-2/eventlet-26
-library/python-2/oslo.config-26
-library/python-2/sqlalchemy-26
-library/python-2/sqlalchemy-migrate-26
-library/python-2/webob-26
-library/python/eventlet-26
-library/python/oslo.config-26
-library/python/sqlalchemy-26
-library/python/sqlalchemy-migrate-26
-library/python/webob-26
-runtime/python-26
-service/network/evs
-system/core-os
-system/file-system/zfs
-system/library/storage/suri
-system/storage/fc-utilities
-system/storage/iscsi/iscsi-initiator
-terminal/xterm
-x11/server/xvnc
--- a/components/openstack/swift/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openstack/swift/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 
 TPNO=			17868
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -62,6 +62,9 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/eventlet-26
+REQUIRED_PACKAGES += library/python/simplejson-26
+REQUIRED_PACKAGES += library/python/swiftclient-26
+REQUIRED_PACKAGES += service/memcached
+REQUIRED_PACKAGES += system/core-os
--- a/components/openstack/swift/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-library/python-2/eventlet-26
-library/python-2/simplejson-26
-library/python-2/swiftclient-26
-library/python/eventlet-26
-library/python/simplejson-26
-library/python/swiftclient-26
-runtime/python-26
-service/memcached
-system/core-os
--- a/components/openusb/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/openusb/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,8 +18,11 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
+
+COMPILER = gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		openusb
@@ -35,17 +38,15 @@
 
 TPNO=			8843
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
         ($(CLONEY) $(SOURCE_DIR) $(@D))
 
-COMPILER = gcc3
-
 PATCH_LEVEL = 1
 
 COMPONENT_POST_BUILD_ACTION = \
@@ -57,7 +58,14 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += system/hal
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/gcc-45-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/libdbus
+REQUIRED_PACKAGES += system/library/libdbus-glib
+REQUIRED_PACKAGES += system/linker
--- a/components/openusb/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-library/glib2
-system/hal
-system/library
-system/library/gcc-3-runtime
-system/library/gcc-45-runtime
-system/library/gcc/gcc-c-runtime
-system/library/libdbus
-system/library/libdbus-glib
-system/linker
--- a/components/p7zip/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/p7zip/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 
 TPNO=			20368
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PREP_ACTION = (cd $(@D); cp ../makefile.solaris makefile.machine)
 COMPONENT_BUILD_TARGETS = all3
@@ -74,6 +74,8 @@
 	cd $(BUILD_DIR_32) && $(MAKE) -e test_7zr P7ZIP_HOME_DIR=$(BUILD_DIR_32)/bin
 
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/p7zip/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-shell/ksh93
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/pam_pkcs11/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pam_pkcs11/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			17173
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS += --with-pcsclite=no
@@ -51,6 +51,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += system/library
--- a/components/pam_pkcs11/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/security/openssl
-shell/bash
-system/library
--- a/components/parallel/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/parallel/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -40,9 +40,9 @@
 
 TPNO=			8651
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Set PATH to find /usr/perl5/bin/pod2man, so that the man pages can be
 # automatically generated
@@ -55,4 +55,5 @@
 
 test:		$(NO_TESTS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/which
--- a/components/parallel/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/perl-512
-shell/which
--- a/components/patch/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/patch/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -35,9 +35,9 @@
 
 TPNO=			18936
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 
@@ -52,6 +52,5 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/patch/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/pbzip2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pbzip2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			11059
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # pbzip2 Solaris Sun Studio build uses a non-standard Makefile
 COMPONENT_BUILD_ARGS +=		CC="$(CXX)"
@@ -54,4 +54,7 @@
 
 test:		$(NO_TESTS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/pbzip2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-compress/bzip2
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/pconsole/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pconsole/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			9270
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Required to configure correctly.
 COMPONENT_PRE_CONFIGURE_ACTION = \
@@ -64,6 +64,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/pconsole/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-shell/bash
-shell/ksh93
-system/library
--- a/components/pcre/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pcre/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -36,10 +36,10 @@
 
 TPNO=			9271
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 # pick up -xc99=all in CFLAGS
 studio_C99MODE=        $(studio_C99_ENABLE)
@@ -119,6 +119,9 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
--- a/components/pcre/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-compress/bzip2
-library/zlib
-shell/ksh93
-system/library
-system/library/c++-runtime
--- a/components/perl512/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl512/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -40,9 +40,9 @@
 COMPONENT_BUGDB=	utility/perl
 TPNO=			9223
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 #
 # Override these compiler settings because they are causing problems
@@ -153,6 +153,9 @@
 	#
 
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += database/berkeleydb-5
+REQUIRED_PACKAGES += library/database/gdbm
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/perl512/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-database/berkeleydb-5
-library/database/gdbm
-system/library
-system/library/math
-system/linker
--- a/components/perl_modules/DBI/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/DBI/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			17614
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 build:		$(BUILD_32)
 
@@ -45,6 +45,7 @@
 COMPONENT_TEST_TARGETS = test
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += system/library
--- a/components/perl_modules/DBI/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/perl-512
-runtime/perl-584
-system/library
--- a/components/perl_modules/authen-pam/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/authen-pam/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 # build threaded 5.12 support too
 PERL_VERSIONS += 5.12-mt
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -59,6 +59,8 @@
 #
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += runtime/perl-threaded-512
+REQUIRED_PACKAGES += system/library
--- a/components/perl_modules/authen-pam/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-runtime/perl-584
-runtime/perl-512
-runtime/perl-516
-runtime/perl-threaded-512
-system/library
--- a/components/perl_modules/cssh/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/cssh/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # Only build for the default version, since 5.8.4 is almost dead
 PERL_VERSIONS = $(PERL_VERSION)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,11 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/perl-5/perl-x11-protocol
+REQUIRED_PACKAGES += library/perl-5/perl-x11-protocol-512
+REQUIRED_PACKAGES += library/perl5/perl-tk
+REQUIRED_PACKAGES += library/perl5/perl-tk-512
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/perl_modules/cssh/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-library/perl5/perl-tk
-library/perl5/perl-tk-512
-library/perl-5/perl-tk
-library/perl-5/perl-tk-512
-library/perl-5/perl-x11-protocol
-library/perl-5/perl-x11-protocol-512
-runtime/perl-512
-shell/ksh93
-system/library
--- a/components/perl_modules/net-ssleay/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/net-ssleay/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			5732
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/makemaker.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/makemaker.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # The component Makefile.PL file will ask some questions on whether we want
 # to run external tests, to which we want to answer with "n".
@@ -52,6 +52,6 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += system/library
--- a/components/perl_modules/net-ssleay/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/security/openssl
-system/library
--- a/components/perl_modules/perl-tk/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/perl-tk/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # Only build for the default version, since 5.8.4 is almost dead
 PERL_VERSIONS = $(PERL_VERSION)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 # override LIBS so that the Tk.so RunPATH doesn't get set.
 CONFIGURE_OPTIONS += LIBS="-lXft -lX11 -lfontconfig -lm -lc"
@@ -57,6 +57,12 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += runtime/tk-8
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/fontconfig
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxft
--- a/components/perl_modules/perl-tk/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-library/libjpeg
-library/libpng
-library/libx11
-library/libxft
-runtime/perl-512
-runtime/perl-584
-system/library
-system/library/fontconfig
-system/library/math
--- a/components/perl_modules/perl-x11-protocol/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/perl-x11-protocol/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Only build for the default version, since 5.8.4 is almost dead
 PERL_VERSIONS = $(PERL_VERSION)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,7 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += system/library
--- a/components/perl_modules/perl-x11-protocol/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/perl-584
-runtime/perl-512
-system/library
--- a/components/perl_modules/pmtools/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/pmtools/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			9276
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/makemaker.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/makemaker.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_32)
@@ -48,6 +48,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += system/core-os
--- a/components/perl_modules/pmtools/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/perl-512
-runtime/perl-584
-system/core-os
--- a/components/perl_modules/xml-libxml/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/xml-libxml/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # build threaded 5.12 support too
 PERL_VERSIONS = 5.12 5.12-mt
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -56,6 +56,9 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += runtime/perl-threaded-512
+REQUIRED_PACKAGES += system/library
--- a/components/perl_modules/xml-libxml/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/libxml2
-runtime/perl-512
-runtime/perl-584
-runtime/perl-threaded-512
-system/library
--- a/components/perl_modules/xml-namespacesupport/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/xml-namespacesupport/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,9 +39,9 @@
 # build threaded 5.12 support too
 PERL_VERSIONS = 5.12 5.12-mt
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -56,6 +56,7 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += runtime/perl-threaded-512
--- a/components/perl_modules/xml-namespacesupport/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/perl-512
-runtime/perl-584
-runtime/perl-threaded-512
--- a/components/perl_modules/xml-parser/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/xml-parser/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # build threaded 5.12 support too
 PERL_VERSIONS += 5.12-mt
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -56,6 +56,9 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += runtime/perl-threaded-512
+REQUIRED_PACKAGES += system/library
--- a/components/perl_modules/xml-parser/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/expat
-runtime/perl-512
-runtime/perl-584
-runtime/perl-threaded-512
-system/library
--- a/components/perl_modules/xml-sax-base/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/xml-sax-base/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -40,9 +40,9 @@
 # build threaded 5.12 support too
 PERL_VERSIONS = 5.12 5.12-mt
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -57,6 +57,7 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += runtime/perl-threaded-512
--- a/components/perl_modules/xml-sax-base/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/perl-512
-runtime/perl-584
-runtime/perl-threaded-512
--- a/components/perl_modules/xml-sax/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/xml-sax/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 # build threaded 5.12 support too
 PERL_VERSIONS = 5.12 5.12-mt
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -56,6 +56,7 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += runtime/perl-threaded-512
--- a/components/perl_modules/xml-sax/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/perl-512
-runtime/perl-584
-runtime/perl-threaded-512
--- a/components/perl_modules/xml-simple/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/perl_modules/xml-simple/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -38,9 +38,9 @@
 # build threaded 5.12 support too
 PERL_VERSIONS += 5.12-mt
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/makemaker.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/makemaker.mk
 
 # man pages go in the common area
 COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
@@ -65,6 +65,7 @@
 $(BUILD_32):	../xml-parser/build/5.8.4/.installed \
 		../xml-parser/build/5.12/.installed
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/perl-584
+REQUIRED_PACKAGES += runtime/perl-threaded-512
--- a/components/perl_modules/xml-simple/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/perl-512
-runtime/perl-584
-runtime/perl-threaded-512
--- a/components/php-5_2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -30,7 +30,7 @@
 TPNO_PHP_TCPWRAP=	17132
 TPNO_PHP_XDEBUG=	17133
 
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ##
 ## This Makefile for local usage only.
@@ -194,3 +194,25 @@
 xdebug-zts:	php-sapi php-nsapi
 
 FORCE:
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += database/mysql-51/library
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += library/libidn
+REQUIRED_PACKAGES += library/libtool/libltdl
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/libxslt
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/freetype-2
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/security/libmcrypt
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += system/management/snmp/net-snmp
+REQUIRED_PACKAGES += text/tidy
+REQUIRED_PACKAGES += web/curl
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxpm
--- a/components/php-5_2/extensions-zts.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_2/extensions-zts.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,12 +18,12 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 include ../common.mk
 
@@ -82,6 +82,4 @@
 $(BUILD_DIR_32)/.configured:    ../php-sapi/build/$(MACH32)/.installed
 $(BUILD_DIR_32)/.configured:    ../php-nsapi/build/$(MACH32)/.installed
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_2/extensions.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_2/extensions.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,12 +18,12 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 include ../common.mk
 
@@ -78,6 +78,4 @@
 $(INSTALL_32):	../$(COMPONENT_NAME)-zts/build/$(MACH32)/.installed
 
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_2/imap/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_2/imap/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 # but our downloader cannot.  Proxy issue?
 COMPONENT_ARCHIVE_URL=	$(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/justmake.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CFLAGS += $(CPP_LARGEFILES)
 # enable legacy stdio prototypes
@@ -61,6 +61,4 @@
 
 publish:	build
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_2/php-cgi/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_2/php-cgi/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -33,9 +33,9 @@
 
 PATCH_DIR = ../php-sapi/patches
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 include ../common.mk
 include ../php-sapi/php.mk
@@ -70,6 +70,4 @@
 ##
 ##$(BUILD_DIR_32)/.configured:	../php-sapi/build/$(MACH32)/.installed
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_2/php-nsapi/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_2/php-nsapi/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -46,9 +46,9 @@
 
 PATCH_DIR = ../php-sapi/patches
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 include ../common.mk
 include ../php-sapi/php.mk
@@ -146,6 +146,4 @@
 ##
 ##$(BUILD_DIR_32)/.configured:	../php-sapi/build/$(MACH32)/.installed
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_2/php-sapi/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_2/php-sapi/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -44,9 +44,9 @@
 # internal servers.
 COMPONENT_ARCHIVE_URL_1= $(EXTERNAL_ARCHIVE_MIRROR)/$(COMPONENT_ARCHIVE_1)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 include ../common.mk
 include ./php.mk
@@ -238,6 +238,4 @@
 PHP-NSAPI_INSTALL:		../php-nsapi/build/$(MACH32)/.installed
 PHP-CGI_INSTALL:		../php-cgi/build/$(MACH32)/.installed
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-compress/bzip2
-database/mysql-51/library
-image/library/libjpeg
-image/library/libpng
-library/libidn
-library/libtool/libltdl
-library/libxml2
-library/libxslt
-library/security/openssl
-library/zlib
-shell/bash
-shell/ksh93
-system/library
-system/library/freetype-2
-system/library/math
-system/library/security/libmcrypt
-system/linker
-system/management/snmp/net-snmp
-text/tidy
-web/curl
-x11/library/libx11
-x11/library/libxpm
--- a/components/php-5_3/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_3/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -31,7 +31,7 @@
 TPNO_PHP_XDEBUG=	17133
 TPNO_PHP_ZENDOPCACHE=	14926
 
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ##
 ## This Makefile for local usage only.
@@ -194,3 +194,25 @@
 zendopcache-zts: php-sapi php-nsapi
 
 FORCE:
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += database/mysql-51/library
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += library/libidn
+REQUIRED_PACKAGES += library/libtool/libltdl
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/libxslt
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/freetype-2
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/security/libmcrypt
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += system/management/snmp/net-snmp
+REQUIRED_PACKAGES += text/tidy
+REQUIRED_PACKAGES += web/curl
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxpm
--- a/components/php-5_3/extensions-zts.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_3/extensions-zts.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,12 +18,12 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 include ../common.mk
 
@@ -82,6 +82,4 @@
 $(BUILD_DIR_32)/.configured:    ../php-sapi/build/$(MACH32)/.installed
 $(BUILD_DIR_32)/.configured:    ../php-nsapi/build/$(MACH32)/.installed
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_3/extensions.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_3/extensions.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,12 +18,12 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 include ../common.mk
 
@@ -77,6 +77,4 @@
 $(INSTALL_32):	../$(COMPONENT_NAME)-zts/build/$(MACH32)/.installed
 
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_3/imap/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_3/imap/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -31,9 +31,9 @@
 COMPONENT_ARCHIVE_URL=	ftp://ftp.cac.washington.edu/imap/$(COMPONENT_ARCHIVE)
 COMPONENT_PROJECT_URL=	http://www.washington.edu/imap/
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/justmake.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CFLAGS += $(CPP_LARGEFILES)
 # enable legacy stdio prototypes
@@ -59,6 +59,4 @@
 
 publish:	build
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_3/php-cgi/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_3/php-cgi/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -34,9 +34,9 @@
 
 include ../php-sapi/php.mk
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 include ../common.mk
 
@@ -66,6 +66,4 @@
 # php-sapi does the publish
 publish:	install
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_3/php-nsapi/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_3/php-nsapi/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -50,9 +50,9 @@
 
 include ../php-sapi/php.mk
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 include ../common.mk
 
@@ -145,6 +145,4 @@
 # php-sapi does the publish
 publish:	install
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_3/php-sapi/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-5_3/php-sapi/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -60,9 +60,9 @@
 include ./php.mk
 
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 include ../common.mk
 
@@ -261,6 +261,4 @@
 PHP-NSAPI_INSTALL:		../php-nsapi/build/$(MACH32)/.installed
 PHP-CGI_INSTALL:		../php-cgi/build/$(MACH32)/.installed
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/php-5_3/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-compress/bzip2
-database/mysql-51/library
-image/library/libjpeg
-image/library/libpng
-library/libidn
-library/libtool/libltdl
-library/libxml2
-library/libxslt
-library/security/openssl
-library/zlib
-shell/bash
-shell/ksh93
-system/library
-system/library/freetype-2
-system/library/math
-system/library/security/libmcrypt
-system/linker
-system/management/snmp/net-snmp
-text/tidy
-web/curl
-x11/library/libx11
-x11/library/libxpm
--- a/components/php-common/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/php-common/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -28,8 +28,8 @@
 COMPONENT_PROJECT_URL=	http://www.php.net/
 COMPONENT_BUGDB=	utility/php
 
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Do not apply the standard license transforms for this component. The
 # license actions are already tagged with the attributes in the .p5m file.
@@ -40,6 +40,6 @@
 # nothing to download or build; just package
 download prep build install test:
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 clobber:	clean
+REQUIRED_PACKAGES += system/linker
--- a/components/php-common/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/linker
--- a/components/pigz/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pigz/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -35,9 +35,9 @@
 
 TPNO=			11152
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PKG_PROTO_DIRS += $(BUILD_DIR_64)
 
@@ -56,6 +56,6 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
--- a/components/pigz/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/zlib
-system/library
--- a/components/pinentry/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pinentry/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			8850
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL = 0
 
@@ -94,7 +94,10 @@
 
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += x11/library/libx11
--- a/components/pinentry/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/desktop/gtk2
-library/desktop/pango
-library/glib2
-system/library
-x11/library/libx11
--- a/components/pixz/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pixz/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			11623
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PKG_PROTO_DIRS += $(BUILD_DIR_64)
 PKG_PROTO_DIRS += $(COMPONENT_DIR)/files
@@ -60,6 +60,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += compress/xz
+REQUIRED_PACKAGES += library/libarchive
+REQUIRED_PACKAGES += system/library
--- a/components/pixz/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-compress/xz
-library/libarchive
-system/library
--- a/components/pkg-config/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pkg-config/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			9421
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # otherwise our default PKG_CONFIG_PATH will change to the 64-bit libdir
 CONFIGURE_LIBDIR.64 =   $(CONFIGURE_PREFIX)/lib
@@ -54,6 +54,5 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/pkg-config/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/popt/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/popt/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			7904
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PREP_ACTION = \
         (cd $(@D) ; \
@@ -70,6 +70,5 @@
 
 test:           $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/popt/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/privoxy/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/privoxy/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			9002
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -61,6 +61,10 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/network
--- a/components/privoxy/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/pcre
-library/zlib
-shell/ksh93
-system/core-os
-system/library
-system/network
--- a/components/procmail/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/procmail/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 
 TPNO=			9003
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_BUILD_ENV += CC="$(CC) -m64"
 
@@ -57,6 +57,7 @@
 
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/procmail/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-shell/ksh93
-system/library
-system/library/math
--- a/components/proftpd/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/proftpd/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -49,9 +49,9 @@
 TPNO_PROFTPD=		17783
 TPNO_MOD_GSS=		13480
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # IPS_COMPONENT_VERSION is by default set to $(COMPONENT_VERSION) but it is not
 # enough for us. We need to include the $(COMPONENT_SUBVERSION) somehow.
@@ -106,6 +106,12 @@
 test:		$(NO_TESTS)
 # libcheck and specific Perl Test::Unit version is required for full test
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += service/security/kerberos-5
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/security/gss
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += system/network
--- a/components/proftpd/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/security/openssl
-shell/ksh93
-system/core-os
-system/library
-system/library/security/gss
-system/linker
-system/network
-service/security/kerberos-5
--- a/components/psutils/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/psutils/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,10 +18,10 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
-include ../../make-rules/shared-targets.mk
+include $(WS_MAKE_RULES)/shared-targets.mk
 
 COMPONENT_NAME=		psutils
 COMPONENT_VERSION=	p17
@@ -39,9 +39,9 @@
 
 TPNO=			9004
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Can't use 'p17' since that is not accepted by pkg. And homepage
 # http://knackered.knackered.org/angus/psutils/ states that development version
@@ -79,6 +79,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/psutils/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/perl-512
-shell/ksh93
-system/library
--- a/components/ptp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ptp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -21,6 +21,8 @@
 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER =      gcc
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		ptpd
@@ -38,16 +40,14 @@
 TPNO_PTP=		12665
 TPNO_SOLARFLARE=	15817
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL =	1
 
 PKG_PROTO_DIRS += $(BUILD_DIR_64)
 
-COMPILER =      gcc
-
 COMPONENT_BUILD_ENV  +=         CC=$(CC)
 
 # Enable ASLR for this component
@@ -59,8 +59,11 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
 
 
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/libv12n
+REQUIRED_PACKAGES += system/library/math
--- a/components/ptp/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-shell/ksh93
-system/core-os
-system/library
-system/library/libv12n
-system/library/math
--- a/components/pv/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pv/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			19386
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
     ($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -59,6 +59,5 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/pv/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/pwgen/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pwgen/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 
 CONFIGURE_OPTIONS += LDFLAGS="$(CC_BITS)"
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # IPS Package versions contain sequences of non-negative (for now) integers,
 # separated by dots.  Leading zeroes are not allowed, due to ordering
@@ -74,6 +74,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/pwgen/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-system/library
-system/library/security/crypto
--- a/components/pylint/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/pylint/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 # Depends on logilab-common which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/setup.py.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/setup.py.mk
 
 # There are several pylint documentation files that setup.py isn't installing
 # but are present in the pylint package on other distributions. Copy them into
@@ -129,6 +129,7 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += runtime/python-34
--- a/components/pylint/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/alembic/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/alembic/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,9 +39,9 @@
 # Depends on sqlalchemy which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -59,6 +59,7 @@
 # to allow the OpenStack Neutron developers to get on with their work.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/alembic/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/amqp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/amqp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 # some of which haven't been integrated yet.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/amqp/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/anyjson/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/anyjson/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/anyjson/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/argparse/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/argparse/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 # a 2.6 module.
 PYTHON_VERSIONS = 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_32)
@@ -49,6 +49,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/argparse/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-runtime/python-26
--- a/components/python/babel/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/babel/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			15897
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -57,6 +57,7 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/babel/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/beautifulsoup4/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/beautifulsoup4/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,6 @@
 # Tests require the discover, html5lib and unittest2 packages.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/lxml-26
+REQUIRED_PACKAGES += library/python/lxml-27
--- a/components/python/beautifulsoup4/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/python-2/lxml-26
-library/python-2/lxml-27
-library/python/lxml-26
-library/python/lxml-27
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/boto/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/boto/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -56,6 +56,7 @@
 # which haven't been integrated yet.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/argparse-26
+REQUIRED_PACKAGES += library/python/filechunkio-26
+REQUIRED_PACKAGES += library/python/filechunkio-27
--- a/components/python/boto/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/python-2/argparse-26
-library/python-2/filechunkio-26
-library/python-2/filechunkio-27
-library/python/argparse-26
-library/python/filechunkio-26
-library/python/filechunkio-27
-runtime/python-26
-runtime/python-27
--- a/components/python/ceilometerclient/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/ceilometerclient/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # Depends on keystoneclient which is not Python 3 ready. 
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -59,6 +59,4 @@
 # and testtools, some of which have not been integrated.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/ceilometerclient/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/cffi/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/cffi/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			16913
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -83,6 +83,6 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/libffi
+REQUIRED_PACKAGES += system/library
--- a/components/python/cffi/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/libffi
-runtime/python-26
-runtime/python-27
-runtime/python-34
-system/library
--- a/components/python/cheetah/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/cheetah/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_POST_INSTALL_ACTION = \
         (cd $(PROTO_DIR)/usr/bin ; \
@@ -60,6 +60,7 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/python-26/tests
+REQUIRED_PACKAGES += runtime/python-27/tests
+REQUIRED_PACKAGES += system/library
--- a/components/python/cheetah/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-runtime/python-26
-runtime/python-26/tests
-runtime/python-27
-runtime/python-27/tests
-system/library
--- a/components/python/cherrypy/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/cherrypy/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -41,9 +41,9 @@
 # This module is not Python 3 ready: syntax issues.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_POST_INSTALL_ACTION = \
 	(cd $(PROTO_DIR)/usr/bin ; $(MV) cherryd cherryd$(PYTHON_VERSION))
@@ -55,6 +55,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/core-os
--- a/components/python/cherrypy/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-system/core-os
--- a/components/python/cinderclient/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/cinderclient/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # depends on keystoneclient which is not Python 3 ready
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -61,6 +61,4 @@
 #
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/cinderclient/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/cliff/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/cliff/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			15998
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 # some of which haven't been integrated yet.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/cliff/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/cmd2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/cmd2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			15996
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -47,6 +47,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/cmd2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/cov-core/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/cov-core/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Depends on coverage, which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,6 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/coverage-26
+REQUIRED_PACKAGES += library/python/coverage-27
--- a/components/python/cov-core/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python-2/coverage-26
-library/python-2/coverage-27
-library/python/coverage-26
-library/python/coverage-27
-runtime/python-26
-runtime/python-27
--- a/components/python/coverage/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/coverage/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -41,9 +41,9 @@
 # builds and publishes fine with Python 3.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_32)
@@ -55,6 +55,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += system/library
--- a/components/python/coverage/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/setuptools-26
-library/python/setuptools-27
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/python/cssutils/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/cssutils/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -40,9 +40,9 @@
 # This module is not Python 3 ready: syntax issues.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_DIR= $(COMPONENT_SRC)
 COMPONENT_TEST_ARGS= ./setup.py test
@@ -81,6 +81,4 @@
 
 test:           $(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/cssutils/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/d2to1/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/d2to1/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/d2to1/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/decorator/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/decorator/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -35,9 +35,9 @@
 
 TPNO=			13154
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_NO_ARCH)
@@ -46,6 +46,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/decorator/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/django-appconf/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/django-appconf/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Depends on django, which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,4 @@
 # unittests require django-discover-runner which is not integrated
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/django-appconf/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/django/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/django/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
 COMPONENT_POST_BUILD_ACTION = \
@@ -75,6 +75,4 @@
 #
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/django/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/django_compressor/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/django_compressor/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 # Depends on django, which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,4 @@
 # unittests require django-discover-runner which is not integrated
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/django_compressor/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/django_openstack_auth/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/django_openstack_auth/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 # Depends on django, which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,4 @@
 # tests require mox which hasn't been integrated yet
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/django_openstack_auth/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/dnspython/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/dnspython/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -40,9 +40,9 @@
 # Python3
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -58,6 +58,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/dnspython/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/dogpile.cache/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/dogpile.cache/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			17712
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,4 @@
 # of the CBE
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/dogpile.cache/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/dogpile.core/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/dogpile.core/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			17259
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -54,6 +54,4 @@
 # tests exit with a TypeError but they seem to complete ok
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/dogpile.core/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/eventlet/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/eventlet/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Depends on greenlet, which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -53,6 +53,8 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/pyopenssl-26
+REQUIRED_PACKAGES += library/python/pyopenssl-27
+REQUIRED_PACKAGES += library/python/python-twisted-26
+REQUIRED_PACKAGES += library/python/python-twisted-27
--- a/components/python/eventlet/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-library/python-2/pyopenssl-26
-library/python-2/pyopenssl-27
-library/python-2/python-twisted-26
-library/python-2/python-twisted-27
-library/python/pyopenssl-26
-library/python/pyopenssl-27
-library/python/python-twisted-26
-library/python/python-twisted-27
-runtime/python-26
-runtime/python-27
--- a/components/python/filechunkio/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/filechunkio/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/filechunkio/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/formencode/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/formencode/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Code explicitly checks for sys.version < '3.0'
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -58,6 +58,4 @@
 # which haven't been integrated yet.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/formencode/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/glanceclient/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/glanceclient/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # Depends on netaddr, which depends on ipython, which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -60,6 +60,4 @@
 #
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/glanceclient/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/greenlet/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/greenlet/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,8 +18,11 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
+
+COMPILER =	gcc
+
 include ../../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		greenlet
@@ -38,13 +41,12 @@
 # investigation.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
-COMPILER =	gcc
 CC =		$(COMPONENT_DIR)/CC.sh
 
 COMPONENT_PRE_BUILD_ACTION = \
@@ -67,6 +69,5 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/python/greenlet/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/python/heatclient/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/heatclient/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # Depends on pyyaml which is not Python 3 ready. 
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -58,6 +58,4 @@
 # testscenarios, and mox3 some of which have not been integrated.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/heatclient/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/httplib2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/httplib2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # most likely work with Python 3.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -55,6 +55,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/httplib2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/imaging/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/imaging/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -40,9 +40,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 TEST_PYTHONPATH.32 = $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/PIL
 TEST_PYTHONPATH.64 = $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/PIL:$(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/PIL/64
@@ -60,6 +60,10 @@
 
 test:           $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/tcl-8
+REQUIRED_PACKAGES += runtime/tk-8
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/freetype-2
--- a/components/python/imaging/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-image/library/libjpeg
-library/zlib
-runtime/python-26
-runtime/python-27
-runtime/tcl-8
-runtime/tk-8
-system/library
-system/library/freetype-2
--- a/components/python/importlib/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/importlib/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 # only deliver a 2.6 module.
 PYTHON_VERSIONS = 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/importlib/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-runtime/python-26
--- a/components/python/ipython/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/ipython/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -40,9 +40,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS = $(PYTHON2_VERSIONS)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Unpack the ipython man pages.
 COMPONENT_POST_UNPACK_ACTION = \
@@ -59,6 +59,8 @@
 
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/python-twisted-26
+REQUIRED_PACKAGES += library/python/python-twisted-27
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
--- a/components/python/ipython/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-library/python-2/python-twisted-26
-library/python-2/python-twisted-27
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/python-twisted-26
-library/python/python-twisted-27
-library/python/setuptools-26
-library/python/setuptools-27
-runtime/python-26
-runtime/python-27
--- a/components/python/iso8601/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/iso8601/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			16616
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/iso8601/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/jinja2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/jinja2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			19350
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -52,6 +52,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/jinja2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/jsonpatch/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/jsonpatch/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -52,6 +52,4 @@
 # jsonpatch has no tests.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/jsonpatch/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/jsonpointer/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/jsonpointer/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -52,6 +52,4 @@
 # jsonpointer has no tests.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/jsonpointer/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/jsonrpclib/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/jsonrpclib/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -41,9 +41,9 @@
 # line can be removed when simplejson supports Python 3.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_NO_ARCH)
@@ -52,6 +52,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/jsonrpclib/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/jsonschema/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/jsonschema/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -48,6 +48,4 @@
 # Needs unittest2; enable when that becomes available.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/jsonschema/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/keystoneclient/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/keystoneclient/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # Depends on netaddr, which depends on ipython, which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -61,6 +61,4 @@
 #
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/keystoneclient/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/kombu/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/kombu/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # dependencies resolved.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -55,6 +55,4 @@
 # which haven't been integrated yet.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/kombu/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/ldtp/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/ldtp/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -41,9 +41,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_POST_INSTALL_ACTION = \
 	(cd $(PROTO_DIR)/usr/bin ; $(MV) -f ldtp ldtp$(PYTHON_VERSION))
@@ -55,6 +55,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/ldtp/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/lesscpy/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/lesscpy/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -40,9 +40,9 @@
 # convert the 'j' in COMPONENT_VERSION to 10
 IPS_COMPONENT_VERSION = 0.9.10
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -60,6 +60,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/lesscpy/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/librabbitmq/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/librabbitmq/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # This module is not Python 3 ready: syntax work needed.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,5 @@
 # librabbitmq tests fail to compile; more investigation is needed.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/python/librabbitmq/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/python/lockfile/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/lockfile/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -52,6 +52,4 @@
 #
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/lockfile/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/m2crypto/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/m2crypto/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,9 +39,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_32_and_64)
@@ -50,6 +50,6 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += system/library
--- a/components/python/m2crypto/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/security/openssl
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/python/mako/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/mako/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			10020
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_NO_ARCH)
@@ -47,6 +47,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/mako/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/markdown/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/markdown/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			15143
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -54,6 +54,6 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/pygments-26
+REQUIRED_PACKAGES += library/python/pygments-27
--- a/components/python/markdown/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/python-2/pygments-26
-library/python-2/pygments-27
-library/python/pygments-26
-library/python/pygments-27
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/markupsafe/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/markupsafe/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,5 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/python/markupsafe/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
-system/library
--- a/components/python/mock/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/mock/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 # it for Python 3.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_DIR =	$(SOURCE_DIR)
 COMPONENT_TEST_ARGS =	setup.py test
@@ -52,6 +52,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/mock/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/mysql/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/mysql/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -40,9 +40,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATH_32=/usr/mysql/5.5/bin/$(MACH32):/usr/bin:$(SPRO_VROOT)/bin
 PATH_64=/usr/mysql/5.5/bin:/usr/bin:$(SPRO_VROOT)/bin
@@ -60,6 +60,8 @@
 
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += database/mysql-55/library
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/python/mysql/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-database/mysql-55/library
-library/zlib
-runtime/python-26
-runtime/python-27
-system/library
-system/library/math
--- a/components/python/netaddr/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/netaddr/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,9 +39,9 @@
 #
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_POST_INSTALL_ACTION = \
 	(cd $(PROTOUSRBINDIR) ; $(MV) netaddr netaddr-$(PYTHON_VERSION))
@@ -60,6 +60,6 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/ipython-26
+REQUIRED_PACKAGES += library/python/ipython-27
--- a/components/python/netaddr/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python-2/ipython-26
-library/python-2/ipython-27
-library/python/ipython-26
-library/python/ipython-27
-runtime/python-26
-runtime/python-27
--- a/components/python/netifaces/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/netifaces/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -52,6 +52,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/python/netifaces/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/python/neutronclient/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/neutronclient/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -61,6 +61,4 @@
 #
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/neutronclient/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/nose-cover3/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/nose-cover3/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Depends on coverage, which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/coverage-26
+REQUIRED_PACKAGES += library/python/coverage-27
+REQUIRED_PACKAGES += library/python/nose-26
+REQUIRED_PACKAGES += library/python/nose-27
--- a/components/python/nose-cover3/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-library/python-2/coverage-26
-library/python-2/coverage-27
-library/python-2/nose-26
-library/python-2/nose-27
-library/python/coverage-26
-library/python/coverage-27
-library/python/nose-26
-library/python/nose-27
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/nose/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/nose/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			12933
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_NO_ARCH)
@@ -48,6 +48,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/nose/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/novaclient/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/novaclient/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			17872
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -52,6 +52,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/novaclient/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/ordereddict/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/ordereddict/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 # only deliver a 2.6 module.
 PYTHON_VERSIONS = 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/ordereddict/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-runtime/python-26
--- a/components/python/oslo.config/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/oslo.config/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			17861
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_POST_INSTALL_ACTION += \
         ($(TOUCH) $(PROTO_DIR)/usr/lib/python$(PYTHON_VERSION)/vendor-packages/oslo/__init__.py; \
@@ -56,6 +56,4 @@
 # some of which haven't been integrated yet
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/oslo.config/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/passlib/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/passlib/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/passlib/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/paste.deploy/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/paste.deploy/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Depends on paste which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/paste.deploy/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/paste/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/paste/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -55,6 +55,8 @@
 # are not installed.
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/pyopenssl-26
+REQUIRED_PACKAGES += library/python/pyopenssl-27
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
--- a/components/python/paste/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-library/python-2/pyopenssl-26
-library/python-2/pyopenssl-27
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/pyopenssl-26
-library/python/pyopenssl-27
-library/python/setuptools-26
-library/python/setuptools-27
-runtime/python-26
-runtime/python-27
--- a/components/python/pbr/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pbr/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			17860
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,6 @@
 # Tests require tox and testr which haven't been integrated yet.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
--- a/components/python/pbr/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/setuptools-26
-library/python/setuptools-27
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pep8/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pep8/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 
 TPNO=			20014
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
 COMPONENT_PRE_BUILD_ACTION = \
@@ -69,6 +69,7 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/pep8/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pip/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pip/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -35,9 +35,9 @@
 
 TPNO=			15181
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -54,6 +54,7 @@
 # When these are available, update this directive to test pip.
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/pip/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/ply/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/ply/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_NO_ARCH)
@@ -50,6 +50,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/ply/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/prettytable/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/prettytable/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/prettytable/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/py/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/py/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			15677
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_DIR =    $(COMPONENT_SRC)/testing
 COMPONENT_TEST_CMD =    /usr/bin/py.test
@@ -52,6 +52,4 @@
 # Tests require the pytest package to be installed.
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/py/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pyasn1-modules/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pyasn1-modules/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14413
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_ENV +=	PATH=/usr/bin:$(SOURCE_DIR)/tools
 COMPONENT_TEST_CMD =	$(SHELL)
@@ -51,6 +51,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pyasn1-modules/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pyasn1/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pyasn1/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14413
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_DIR =    $(SOURCE_DIR)/test
 COMPONENT_TEST_ARGS =   suite.py
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pyasn1/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pybonjour/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pybonjour/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			4453
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_NO_ARCH)
@@ -47,6 +47,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pybonjour/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pycountry/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pycountry/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -60,6 +60,4 @@
 #  Tests require the tox package
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pycountry/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pycparser/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pycparser/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			16938
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -61,6 +61,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pycparser/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pycups/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pycups/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,9 +39,9 @@
 # Fails to compile: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # pycups requires VERSION to be defined. Originally set in the package Makefile
 CFLAGS += -DVERSION=\\\"$(COMPONENT_VERSION)\\\"
@@ -53,6 +53,6 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/print/cups-libs
+REQUIRED_PACKAGES += system/library
--- a/components/python/pycups/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/print/cups-libs
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/python/pycurl/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pycurl/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -43,9 +43,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # to make sure that the docs get installed in the right place.
 PYTHON_DATA = /usr
@@ -57,6 +57,10 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/libidn
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/security/gss
+REQUIRED_PACKAGES += web/curl
--- a/components/python/pycurl/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/libidn
-library/security/openssl
-library/zlib
-runtime/python-26
-runtime/python-27
-system/library
-system/library/security/gss
-web/curl
--- a/components/python/pydns/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pydns/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Import/syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_DIR =    $(COMPONENT_SRC)/tests
 COMPONENT_TEST_ARGS =   test.py
@@ -53,6 +53,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pydns/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/pyflakes/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pyflakes/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_POST_INSTALL_ACTION += (cd $(PROTO_DIR)/usr/bin ; \
 	$(MV) -f pyflakes pyflakes-$(PYTHON_VERSION))
@@ -50,6 +50,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/pyflakes/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pygments/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pygments/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			15206
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -60,6 +60,7 @@
 #
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/pygments/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pylxml/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pylxml/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 studio_OPT.i386.32 =
 studio_OPT.i386.64 =
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_32_and_64)
@@ -52,6 +52,9 @@
 		cd $(SOURCE_DIR) && $(PYTHON) selftest.py
 		cd $(SOURCE_DIR) && $(PYTHON) selftest2.py
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/libxslt
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/python/pylxml/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/libxml2
-library/libxslt
-library/zlib
-runtime/python-26
-runtime/python-27
-runtime/python-34
-system/library
-system/library/math
--- a/components/python/pyopenssl/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pyopenssl/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			9207
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_DIR = $(COMPONENT_SRC)/OpenSSL/test
 # The .so files are under ./OpenSSL/64 not ./64/OpenSSL so the
@@ -55,6 +55,6 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += system/library
--- a/components/python/pyopenssl/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/security/openssl
-runtime/python-26
-runtime/python-27
-runtime/python-34
-system/library
--- a/components/python/pyparsing/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pyparsing/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			15999
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -47,6 +47,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pyparsing/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pyrabbit/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pyrabbit/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # for details).  So don't build for Python 3 until dependencies resolved.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -53,6 +53,4 @@
 # pyrabbit has no tests.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pyrabbit/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/pytest-capturelog/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pytest-capturelog/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -47,6 +47,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pytest-capturelog/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pytest-codecheckers/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pytest-codecheckers/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -47,6 +47,10 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/pep8-26
+REQUIRED_PACKAGES += library/python/pep8-27
+REQUIRED_PACKAGES += library/python/py-26
+REQUIRED_PACKAGES += library/python/py-27
+REQUIRED_PACKAGES += library/python/pyflakes-26
+REQUIRED_PACKAGES += library/python/pyflakes-27
--- a/components/python/pytest-codecheckers/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-library/python-2/pep8-26
-library/python-2/pep8-27
-library/python-2/py-26
-library/python-2/py-27
-library/python-2/pyflakes-26
-library/python-2/pyflakes-27
-library/python/pep8-26
-library/python/pep8-27
-library/python/py-26
-library/python/py-27
-library/python/pyflakes-26
-library/python/pyflakes-27
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pytest-cov/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pytest-cov/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # needs to be upgraded.  Thus, skip Python 3 until then.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_DIR =	$(COMPONENT_SRC)
 COMPONENT_TEST_ARGS =	test_pytest_cov.py
@@ -56,6 +56,6 @@
 # Tests require the pytest, coverage and cov-core packages.
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/cov-core-26
+REQUIRED_PACKAGES += library/python/cov-core-27
--- a/components/python/pytest-cov/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python-2/cov-core-26
-library/python-2/cov-core-27
-library/python/cov-core-26
-library/python/cov-core-27
-runtime/python-26
-runtime/python-27
--- a/components/python/pytest/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pytest/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_DIR =	$(COMPONENT_SRC)/testing
 COMPONENT_TEST_CMD =	$(PROTOUSRBINDIR)/py.test
@@ -52,6 +52,7 @@
 # Tests require the py package to be installed.
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/pytest/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/python-ldap/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/python-ldap/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 # This module has syntax issues and thus is not Python 3 ready.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -72,6 +72,10 @@
 # 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/openldap
+REQUIRED_PACKAGES += library/python/pyasn1-26
+REQUIRED_PACKAGES += library/python/pyasn1-27
+REQUIRED_PACKAGES += library/python/pyasn1-modules-26
+REQUIRED_PACKAGES += library/python/pyasn1-modules-27
+REQUIRED_PACKAGES += system/library
--- a/components/python/python-ldap/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-library/openldap
-library/python-2/pyasn1-26
-library/python-2/pyasn1-27
-library/python-2/pyasn1-modules-26
-library/python-2/pyasn1-modules-27
-library/python/pyasn1-26
-library/python/pyasn1-27
-library/python/pyasn1-modules-26
-library/python/pyasn1-modules-27
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/python/python-memcached/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/python-memcached/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -40,9 +40,9 @@
 # Syntax errors: not Python 3 ready
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -64,6 +64,4 @@
 # tests require local, online svc:/application/database/memcached:default
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/python-memcached/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/python26/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/python26/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,10 +36,10 @@
 
 TPNO=			9104
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 # We patch auto* files, so regenerate headers and configure
 COMPONENT_PREP_ACTION = \
@@ -113,6 +113,23 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += database/sqlite-3
+REQUIRED_PACKAGES += developer/library/xprofile
+REQUIRED_PACKAGES += library/database/gdbm
+REQUIRED_PACKAGES += library/libffi
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/python/tkinter-26
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/tcl-8
+REQUIRED_PACKAGES += runtime/tk-8
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += x11/compatibility/links-xorg
+REQUIRED_PACKAGES += x11/library/libx11
--- a/components/python/python26/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-compress/bzip2
-database/sqlite-3
-developer/library/xprofile
-library/database/gdbm
-library/libffi
-library/ncurses
-library/python-2/tkinter-26
-library/python/tkinter-26
-library/readline
-library/security/openssl
-library/zlib
-runtime/python-26
-runtime/tcl-8
-runtime/tk-8
-shell/ksh93
-system/core-os
-system/library
-system/library/math
-system/linker
-x11/compatibility/links-xorg
-x11/library/libx11
--- a/components/python/python27/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/python27/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -38,10 +38,10 @@
 
 TPNO=			20750
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 # Need to preserve timestamp for Grammar files.  If the pickle files are older, 
 # Python will try to rebuild them.  
@@ -179,6 +179,23 @@
 
 test:				$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += database/sqlite-3
+REQUIRED_PACKAGES += developer/library/xprofile
+REQUIRED_PACKAGES += library/database/gdbm
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/libffi
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/python/pip-27
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/tcl-8
+REQUIRED_PACKAGES += runtime/tk-8
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += x11/library/libx11
--- a/components/python/python27/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-compress/bzip2
-database/sqlite-3
-developer/library/xprofile
-library/database/gdbm
-library/expat
-library/libffi
-library/ncurses
-library/python-2/pip-27
-library/python/pip-27
-library/readline
-library/security/openssl
-library/zlib
-runtime/python-27
-runtime/tcl-8
-runtime/tk-8
-shell/ksh93
-system/core-os
-system/library
-system/library/math
-system/linker
-x11/library/libx11
--- a/components/python/python34/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/python34/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -38,10 +38,10 @@
 
 TPNO=			21686
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 # Need to preserve timestamp for Grammar files.  If the pickle files are older,
 # Python will try to rebuild them.
@@ -175,6 +175,20 @@
 
 test:				$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += compress/xz
+REQUIRED_PACKAGES += database/sqlite-3
+REQUIRED_PACKAGES += library/database/gdbm
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/libffi
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/tcl-8
+REQUIRED_PACKAGES += runtime/tk-8
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += x11/library/libx11
--- a/components/python/python34/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-compress/bzip2
-compress/xz
-database/sqlite-3
-library/database/gdbm
-library/expat
-library/libffi
-library/ncurses
-library/readline
-library/security/openssl
-library/zlib
-runtime/tcl-8
-runtime/tk-8
-system/library
-system/library/math
-system/linker
-x11/library/libx11
--- a/components/python/pytz/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pytz/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			15417
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -54,6 +54,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pytz/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/pywbem/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pywbem/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -52,6 +52,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pywbem/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/pyyaml/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/pyyaml/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 
 TPNO=			9304
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -56,6 +56,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/pyyaml/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/quantumclient/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/quantumclient/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # Depends on neutronclient which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -60,6 +60,4 @@
 #
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/quantumclient/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/repoze.lru/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/repoze.lru/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/repoze.lru/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/requests/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/requests/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -49,6 +49,4 @@
 # been integrated yet.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/requests/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/routes/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/routes/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,4 @@
 # which haven't been integrated yet.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/routes/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/setuptools-git/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/setuptools-git/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/setuptools-git/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/setuptools/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/setuptools/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -35,9 +35,9 @@
 
 TPNO=			17692
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:		$(BUILD_NO_ARCH)
@@ -46,6 +46,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/setuptools/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/simplejson/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/simplejson/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -40,9 +40,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -56,6 +56,5 @@
 
 test:           $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/python/simplejson/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/python/six/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/six/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			17859
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,4 @@
 # Tests require the py Python module which hasn't been integrated yet.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/six/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/sqlalchemy-migrate/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/sqlalchemy-migrate/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -60,6 +60,13 @@
 #
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/decorator-26
+REQUIRED_PACKAGES += library/python/decorator-27
+REQUIRED_PACKAGES += library/python/nose-26
+REQUIRED_PACKAGES += library/python/nose-27
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/sqlalchemy-26
+REQUIRED_PACKAGES += library/python/sqlalchemy-27
+REQUIRED_PACKAGES += library/python/unittest2-26
--- a/components/python/sqlalchemy-migrate/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-library/python-2/decorator-26
-library/python-2/decorator-27
-library/python-2/nose-26
-library/python-2/nose-27
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python-2/sqlalchemy-26
-library/python-2/sqlalchemy-27
-library/python-2/unittest2-26
-library/python/decorator-26
-library/python/decorator-27
-library/python/nose-26
-library/python/nose-27
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/sqlalchemy-26
-library/python/sqlalchemy-27
-library/python/unittest2-26
-runtime/python-26
-runtime/python-27
--- a/components/python/sqlalchemy/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/sqlalchemy/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 # enable it.  See the README.py3k in the distro for details.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -55,6 +55,5 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/python/sqlalchemy/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/python/stevedore/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/stevedore/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/stevedore/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/suds/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/suds/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Import/syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -61,6 +61,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/suds/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/swiftclient/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/swiftclient/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -39,9 +39,9 @@
 # depends on keystoneclient which is not Python 3 ready
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -60,6 +60,6 @@
 #
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/simplejson-26
+REQUIRED_PACKAGES += library/python/simplejson-27
--- a/components/python/swiftclient/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python-2/simplejson-26
-library/python-2/simplejson-27
-library/python/simplejson-26
-library/python/simplejson-27
-runtime/python-26
-runtime/python-27
--- a/components/python/tempita/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/tempita/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -47,6 +47,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/tempita/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/tox/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/tox/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_POST_INSTALL_ACTION += (cd $(PROTO_DIR)/usr/bin ; \
 	$(MV) -f tox tox-$(PYTHON_VERSION); \
@@ -58,6 +58,12 @@
 # Tests require py, pytest and virtualenv packages to be installed.
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/argparse-26
+REQUIRED_PACKAGES += library/python/py-26
+REQUIRED_PACKAGES += library/python/py-27
+REQUIRED_PACKAGES += library/python/pytest-26
+REQUIRED_PACKAGES += library/python/pytest-27
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/tox/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-library/python-2/argparse-26
-library/python-2/py-26
-library/python-2/py-27
-library/python-2/pytest-26
-library/python-2/pytest-27
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/argparse-26
-library/python/py-26
-library/python/py-27
-library/python/pytest-26
-library/python/pytest-27
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/troveclient/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/troveclient/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,9 +39,9 @@
 # Syntax errors: not Python 3 ready
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -60,6 +60,4 @@
 # some of which have not been integrated.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/troveclient/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/twisted-web2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/twisted-web2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -40,9 +40,9 @@
 # Depends on twisted, which is not Python 3 ready.
 PYTHON_VERSIONS = 2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:          $(BUILD_NO_ARCH)
@@ -51,6 +51,4 @@
 
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/twisted-web2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/python-26
-runtime/python-27
--- a/components/python/twisted/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/twisted/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -40,9 +40,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_DIR= $(COMPONENT_SRC) 
 COMPONENT_TEST_CMD= $(@D)/scripts-$(PYTHON_VERSION)/trial twisted
@@ -64,6 +64,5 @@
 #
 test:           $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/python/twisted/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/python/unittest2/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/unittest2/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 # only deliver a 2.6 module.
 PYTHON_VERSIONS = 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -54,6 +54,5 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
--- a/components/python/unittest2/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/python-2/setuptools-26
-library/python/setuptools-26
-runtime/python-26
--- a/components/python/virtualenv/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/virtualenv/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -42,9 +42,9 @@
 # confirm this.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -55,6 +55,6 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
--- a/components/python/virtualenv/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/setuptools-26
-library/python/setuptools-27
-runtime/python-26
-runtime/python-27
--- a/components/python/waitress/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/waitress/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_POST_INSTALL_ACTION += (cd $(PROTO_DIR)/usr/bin ; \
 	$(MV) -f waitress-serve waitress-serve-$(PYTHON_VERSION))
@@ -54,6 +54,7 @@
 # Tests requires the coverage, nose and unittest2 packages.
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/waitress/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/warlock/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/warlock/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -51,6 +51,4 @@
 # warlock tests require json{patch,schema,pointer}
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/warlock/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/webob/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/webob/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			14503
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,4 @@
 
 test:		$(TEST_NO_ARCH)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
--- a/components/python/webob/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/websockify/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/websockify/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 TPNO=			16167
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -53,6 +53,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
--- a/components/python/websockify/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/webtest/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/webtest/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -37,9 +37,9 @@
 # Depends on paste.deploy, which depends on paste, which is not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_TEST_DIR=	$(SOURCE_DIR)
 COMPONENT_TEST_ARGS=	setup.py test
@@ -55,6 +55,17 @@
 # and cssselect.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/beautifulsoup4-26
+REQUIRED_PACKAGES += library/python/beautifulsoup4-27
+REQUIRED_PACKAGES += library/python/lxml-26
+REQUIRED_PACKAGES += library/python/lxml-27
+REQUIRED_PACKAGES += library/python/ordereddict-26
+REQUIRED_PACKAGES += library/python/paste.deploy-26
+REQUIRED_PACKAGES += library/python/paste.deploy-27
+REQUIRED_PACKAGES += library/python/six-26
+REQUIRED_PACKAGES += library/python/six-27
+REQUIRED_PACKAGES += library/python/waitress-26
+REQUIRED_PACKAGES += library/python/waitress-27
+REQUIRED_PACKAGES += library/python/webob-26
+REQUIRED_PACKAGES += library/python/webob-27
--- a/components/python/webtest/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-library/python-2/beautifulsoup4-26
-library/python-2/beautifulsoup4-27
-library/python-2/lxml-26
-library/python-2/lxml-27
-library/python-2/ordereddict-26
-library/python-2/paste.deploy-26
-library/python-2/paste.deploy-27
-library/python-2/six-26
-library/python-2/six-27
-library/python-2/waitress-26
-library/python-2/waitress-27
-library/python-2/webob-26
-library/python-2/webob-27
-library/python/beautifulsoup4-26
-library/python/beautifulsoup4-27
-library/python/lxml-26
-library/python/lxml-27
-library/python/ordereddict-26
-library/python/paste.deploy-26
-library/python/paste.deploy-27
-library/python/six-26
-library/python/six-27
-library/python/waitress-26
-library/python/waitress-27
-library/python/webob-26
-library/python/webob-27
-runtime/python-26
-runtime/python-27
-runtime/python-34
--- a/components/python/xattr/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/xattr/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			16912
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -82,6 +82,8 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/python/setuptools-26
+REQUIRED_PACKAGES += library/python/setuptools-27
+REQUIRED_PACKAGES += library/python/setuptools-34
+REQUIRED_PACKAGES += system/library
--- a/components/python/xattr/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-library/python-2/setuptools-26
-library/python-2/setuptools-27
-library/python/setuptools-26
-library/python/setuptools-27
-library/python/setuptools-34
-runtime/python-26
-runtime/python-27
-runtime/python-34
-system/library
--- a/components/python/zope-interface/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/python/zope-interface/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -40,9 +40,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # common targets
 build:          $(BUILD_32_and_64)
@@ -51,6 +51,5 @@
 
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/python/zope-interface/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/quagga/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/quagga/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -60,9 +60,9 @@
 CFLAGS += -erroff=E_STATEMENT_NOT_REACHED
 CFLAGS += -erroff=E_EMPTY_TRANSLATION_UNIT
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS +=	--with-cflags="$(CFLAGS)"
 CONFIGURE_OPTIONS +=	--enable-opaque-lsa
@@ -79,10 +79,13 @@
 CONFIGURE_OPTIONS +=	--enable-group=root
 CONFIGURE_OPTIONS +=	--enable-solaris
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 build:		$(BUILD_32)
 install:	$(INSTALL_32)
 test:	$(NO_TESTS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/network
--- a/components/quagga/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-shell/ksh93
-system/core-os
-system/library
-system/library/math
-system/network
--- a/components/quilt/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/quilt/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,9 +39,9 @@
 
 TPNO=			9108
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
     ($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -81,6 +81,15 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += archiver/gnu-tar
+REQUIRED_PACKAGES += file/gnu-coreutils
+REQUIRED_PACKAGES += file/gnu-findutils
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += service/network/smtp/sendmail
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += text/gawk
+REQUIRED_PACKAGES += text/gnu-diffutils
+REQUIRED_PACKAGES += text/gnu-grep
+REQUIRED_PACKAGES += text/gnu-patch
+REQUIRED_PACKAGES += text/gnu-sed
--- a/components/quilt/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-archiver/gnu-tar
-file/gnu-coreutils
-file/gnu-findutils
-runtime/perl-512
-service/network/smtp/sendmail
-shell/bash
-text/gawk
-text/gnu-diffutils
-text/gnu-grep
-text/gnu-patch
-text/gnu-sed
--- a/components/rabbitmq/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/rabbitmq/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			14503
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -55,8 +55,8 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/files
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/erlang
+REQUIRED_PACKAGES += shell/ksh93
--- a/components/rabbitmq/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/erlang
-shell/ksh93
--- a/components/rdiff-backup/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/rdiff-backup/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,9 +39,9 @@
 # Syntax issues: not Python 3 ready.
 PYTHON_VERSIONS=	2.7 2.6
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/setup.py.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/setup.py.mk
 
 # common targets
 
@@ -51,6 +51,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/librsync
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += system/library
--- a/components/rdiff-backup/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/librsync
-runtime/python-26
-runtime/python-27
-system/library
--- a/components/readline/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/readline/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,10 +37,10 @@
 
 TPNO=			9042
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 LINT_FLAGS += -I$(PROTO_DIR)/usr/include
 
@@ -60,6 +60,5 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/readline/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/rpm2cpio/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/rpm2cpio/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,13 +37,13 @@
 
 TPNO=			17710
 
-include ../../make-rules/prep.mk
+include $(WS_MAKE_RULES)/prep.mk
 
 # Do not clean the sources (set in prep.mk)
 #
 CLEAN_PATHS=
 
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CLEAN_PATHS+= $(BUILD_DIR)
 
@@ -60,6 +60,5 @@
 
 test: $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/perl-512
--- a/components/rpm2cpio/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-runtime/perl-512
--- a/components/rsync/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/rsync/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			16940
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS  +=		SHELL_PATH=/bin/sh
@@ -57,6 +57,5 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/rsync/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/rsyslog/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/rsyslog/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,8 +18,11 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
+
+COMPILER = gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		rsyslog
@@ -33,11 +36,9 @@
 
 TPNO=			7585
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-
-COMPILER = gcc3
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # This is needed for things to be built correctly.
 CONFIGURE_ENV +=	CFLAGS="$(CFLAGS)"
@@ -56,9 +57,17 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/files
 PKG_PROTO_DIRS +=	$(COMPONENT_SRC)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += file/gnu-coreutils
+REQUIRED_PACKAGES += library/gnutls
+REQUIRED_PACKAGES += library/libee
+REQUIRED_PACKAGES += library/libestr
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/gcc-45-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
--- a/components/rsyslog/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-file/gnu-coreutils
-library/gnutls
-library/libee
-library/libestr
-library/zlib
-shell/ksh93
-system/library
-system/library/gcc-3-runtime
-system/library/gcc-45-runtime
-system/library/gcc/gcc-c-runtime
--- a/components/rtorrent/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/rtorrent/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 # we really need to use studio, mostly because that's what
@@ -41,9 +41,9 @@
 
 TPNO=			8824
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -80,6 +80,11 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/c++/sigcpp
+REQUIRED_PACKAGES += library/libtorrent
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += web/curl
--- a/components/rtorrent/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-library/c++/sigcpp
-library/libtorrent
-library/ncurses
-system/library
-system/library/c++-runtime
-system/library/math
-web/curl
--- a/components/ruby/facter/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ruby/facter/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 COMPONENT_POST_UNPACK_ACTION= \
     $(GEM) spec $(COMPONENT_ARCHIVE) > $(SOURCE_DIR)/$(GEMSPEC)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/gem.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/gem.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -54,6 +54,6 @@
 # Disable the tests until these rubygems are available.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/ruby-19
+REQUIRED_PACKAGES += system/core-os
--- a/components/ruby/facter/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/ruby-19
-system/core-os
--- a/components/ruby/hiera/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ruby/hiera/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -38,9 +38,9 @@
 COMPONENT_POST_UNPACK_ACTION= \
     $(GEM) spec $(COMPONENT_ARCHIVE) > $(SOURCE_DIR)/$(GEMSPEC)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/gem.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/gem.mk
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
@@ -50,6 +50,6 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/ruby-19
+REQUIRED_PACKAGES += system/core-os
--- a/components/ruby/hiera/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-runtime/ruby-19
-system/core-os
--- a/components/ruby/puppet/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ruby/puppet/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			18128
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/install.rb.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/install.rb.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # puppet requires facter and hiera as part of the install phase 
 COMPONENT_INSTALL_ENV	+= RUBYLIB="$(COMPONENT_DIR)/../facter/build/$(MACH64)/lib:$(COMPONENT_DIR)/../hiera/build/$(MACH64)/lib"
@@ -74,6 +74,12 @@
 # Disable the tests until these rubygems are available.
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/ruby-19
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += system/network
--- a/components/ruby/puppet/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-runtime/ruby-19
-shell/ksh93
-system/core-os
-system/library
-system/library/gcc/gcc-c-runtime
-system/library/math
-system/linker
-system/network
--- a/components/ruby/ruby-18/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ruby/ruby-18/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -49,9 +49,9 @@
 SOURCE_DIR_1=$(COMPONENT_DIR)/$(COMPONENT_SRC_1)
 CLEAN_PATHS += $(SOURCE_DIR_1)
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/configure.mk
 
 # COMPONENT_VERSION <major>.<minor>.<teeny>
 # is transformed into <major>.<minor> for RUBY_VER.
@@ -151,8 +151,6 @@
 # lib/rubygems/ssl_cert are not installed into the proto area.
 PKG_PROTO_DIRS += $(SOURCE_DIR_1)
 
-include $(WS_TOP)/make-rules/shared-targets.mk
-
 # common targets
 
 build:		$(BUILD_32)
@@ -195,6 +193,12 @@
 	setup.rb --vendor --destdir=$(PROTO_DIR) )
 	$(POST_RUBYGEMS_INSTALL_ACTION)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += database/berkeleydb-5
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/ruby/ruby-18/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-database/berkeleydb-5
-library/ncurses
-library/readline
-library/security/openssl
-library/zlib
-system/library
-system/library/math
-system/linker
--- a/components/ruby/ruby-19/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ruby/ruby-19/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -41,9 +41,9 @@
 
 TPNO=			15969
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/ips.mk
-include $(WS_TOP)/make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/configure.mk
 
 # COMPONENT_VERSION <major>.<minor>.<teeny>
 # is transformed into <major>.<minor> for RUBY_VER.
@@ -144,8 +144,6 @@
 CLEAN_PATHS +=		Solaris/gem.1 Solaris/rbconfig.sedscript.mod \
 			Solaris/ruby.1.sedscript.mod
 
-include $(WS_TOP)/make-rules/shared-targets.mk
-
 # common targets
 
 build:		$(BUILD_64)
@@ -154,6 +152,17 @@
 
 test:	$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/database/gdbm
+REQUIRED_PACKAGES += library/libffi
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/tcl-8
+REQUIRED_PACKAGES += runtime/tk-8
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += x11/library/libx11
--- a/components/ruby/ruby-19/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-library/database/gdbm
-library/libffi
-library/ncurses
-library/readline
-library/security/openssl
-library/zlib
-runtime/tcl-8
-runtime/tk-8
-system/core-os
-system/library
-system/library/math
-system/linker
-x11/library/libx11
--- a/components/ruby/ruby-common/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/ruby/ruby-common/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -28,16 +28,14 @@
 COMPONENT_PROJECT_URL=	http://www.ruby-lang.org/
 COMPONENT_BUGDB=	utility/ruby
 
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # This package delivers no files and has no dependencies.
-EXTDEPFILES = $(NULLDEPFILE)
 LICENSE_TRANSFORMS=
 
 # nothing to download or build; just publish the package
 download prep build install test:
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 clobber:	clean
--- a/components/samba/mozldap/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/samba/mozldap/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../../make-rules/shared-macros.mk
 
@@ -33,8 +33,8 @@
     sha256:ec9884b56b31961d287190323764af7f3b00ad2658d5f3005fa8dc71c637e54c
 COMPONENT_ARCHIVE_URL=	ftp://ftp.mozilla.org/pub/mozilla.org/directory/c-sdk/releases/v$(COMPONENT_VERSION)/src/$(COMPONENT_ARCHIVE)
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/configure.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
 
 # Define a private space
 PATCH_LEVEL =	0
@@ -73,8 +73,6 @@
 # common targets
 build:		$(BUILD_32_and_64)
 
-include ../../../make-rules/shared-targets.mk
-
 # mozldap proto looks to ugly after "gmake install ..."
 # so some cleanup is needed
 COMPONENT_POST_INSTALL_ACTION = \
@@ -87,6 +85,4 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
--- a/components/samba/samba/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/samba/samba/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -60,15 +60,15 @@
 COMPILER = gcc3
 endif
 
-include ../../../make-rules/prep.mk
+include $(WS_MAKE_RULES)/prep.mk
 
 SRC_OFFSET =	source3
 # Now we override paths to .built
 BUILD_DIR_32 = $(BUILD_DIR)/$(MACH32)/$(SRC_OFFSET)
 BUILD_DIR_64 = $(BUILD_DIR)/$(MACH64)/$(SRC_OFFSET)
 
-include ../../../make-rules/configure.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_SCRIPT = $(BUILD_DIR_$(BITS))/configure
 
@@ -224,8 +224,6 @@
 # common targets
 build:		$(BUILD_32_and_64)
 
-include ../../../make-rules/shared-targets.mk
-
 install:	$(PROTO_DIR)/etc/samba/smb.conf-example $(INSTALL_32_and_64)
 
 test:		$(NO_TESTS)
@@ -233,6 +231,22 @@
 clean::
 	$(GMAKE) -C $(COMPONENT_DIR)/../mozldap clean
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/file-monitor/gamin
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/popt
+REQUIRED_PACKAGES += library/print/cups-libs
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/samba/libsmbclient
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += service/security/kerberos-5
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/gcc-45-runtime
+REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
+REQUIRED_PACKAGES += system/library/security/gss
+REQUIRED_PACKAGES += system/network
+REQUIRED_PACKAGES += system/network/avahi
--- a/components/samba/samba/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-library/file-monitor/gamin
-library/ncurses
-library/popt
-library/print/cups-libs
-library/readline
-library/samba/libsmbclient
-library/zlib
-runtime/perl-512
-service/security/kerberos-5
-shell/ksh93
-system/core-os
-system/library
-system/library/gcc-3-runtime
-system/library/gcc-45-runtime
-system/library/gcc/gcc-c-runtime
-system/library/security/gss
-system/network
-system/network/avahi
--- a/components/samba/samba30/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/samba/samba30/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -45,13 +45,13 @@
 TPNO_LIBSMBCLIENT=	17765
 TPNO_MOZLDAP=		4457
 
-include ../../../make-rules/prep.mk
+include $(WS_MAKE_RULES)/prep.mk
 
 SRC_OFFSET =	source
 BUILD_DIR_32 = $(BUILD_DIR)/$(MACH32)/$(SRC_OFFSET)
 
-include ../../../make-rules/configure.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_SCRIPT = $(BUILD_DIR_32)/configure
 
@@ -141,8 +141,6 @@
 # common targets
 build:		$(BUILD_32)
 
-include ../../../make-rules/shared-targets.mk
-
 install:	$(INSTALL_32)
 
 test:		$(NO_TESTS)
@@ -150,6 +148,9 @@
 clean::
 	$(GMAKE) -C $(COMPONENT_DIR)/../mozldap clean
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/nspr
+REQUIRED_PACKAGES += library/openldap
+REQUIRED_PACKAGES += library/security/nss
+REQUIRED_PACKAGES += service/security/kerberos-5
+REQUIRED_PACKAGES += system/library
--- a/components/samba/samba30/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/nspr
-library/openldap
-library/security/nss
-service/security/kerberos-5
-system/library
--- a/components/sane-backends/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/sane-backends/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8865
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS +=	--disable-locking
 CONFIGURE_OPTIONS +=	--sysconfdir=/etc
@@ -48,6 +48,11 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libtiff
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/usb/libusb
+REQUIRED_PACKAGES += system/linker
--- a/components/sane-backends/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-image/library/libjpeg
-image/library/libtiff
-shell/ksh93
-system/library
-system/library/math
-system/library/usb/libusb
-system/linker
--- a/components/sane-frontends/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/sane-frontends/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8865
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS +=	--with-sane-prefix=/usr
 CONFIGURE_OPTIONS +=	--disable-sanetest
@@ -51,6 +51,12 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += image/editor/gimp
+REQUIRED_PACKAGES += image/scanner/xsane/sane-backends
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxcursor
--- a/components/sane-frontends/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-image/editor/gimp
-image/scanner/xsane/sane-backends
-library/desktop/gtk2
-library/glib2
-system/library
-system/library/math
-x11/library/libx11
-x11/library/libxcursor
--- a/components/screen/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/screen/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			8940
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS +=	--enable-colors256
 CONFIGURE_OPTIONS +=	--with-sys-screenrc=/etc/screenrc
@@ -57,6 +57,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/screen/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/sed/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/sed/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			8711
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
@@ -51,6 +51,5 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/sed/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/sg3_utils/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/sg3_utils/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			17711
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CPPFLAGS += -I$(COMPONENT_DIR)/$(COMPONENT_SRC)/include
 
@@ -68,6 +68,5 @@
 
 test:           $(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/sg3_utils/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/slang/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/slang/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			8995
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = $(CLONEY) $(SOURCE_DIR) $(@D)
 CONFIGURE_SCRIPT = $(@D)/configure
@@ -57,6 +57,11 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/slang/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-image/library/libpng
-library/pcre
-library/zlib
-system/core-os
-system/library
-system/library/math
-system/linker
--- a/components/slib/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/slib/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 #
@@ -41,8 +41,8 @@
 
 TPNO=			5839
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Lie to IPS packaging about the version because it doesn't like
 # COMPONENT_VERSION's with letters.
@@ -62,6 +62,5 @@
 clean::
 	$(RM) -r $(BUILD_DIR)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/bash
--- a/components/slib/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-shell/bash
--- a/components/slrn/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/slrn/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -40,9 +40,9 @@
 
 TPNO=			8941
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = $(CLONEY) $(SOURCE_DIR) $(@D)
 CONFIGURE_SCRIPT = $(@D)/configure
@@ -65,6 +65,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/slang
+REQUIRED_PACKAGES += system/library
--- a/components/slrn/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/security/openssl
-library/slang
-system/library
--- a/components/snort/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/snort/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,9 +38,9 @@
 
 TPNO=			9027
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL =	0
 
@@ -61,6 +61,12 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/libpcap
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += system/network
--- a/components/snort/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/pcre
-shell/ksh93
-system/core-os
-system/library
-system/library/libpcap
-system/library/math
-system/linker
-system/network
--- a/components/sox/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/sox/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			9040
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=	--disable-static
 CONFIGURE_OPTIONS  +=	--disable-gomp
@@ -52,6 +52,13 @@
 
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += codec/flac
+REQUIRED_PACKAGES += codec/ogg-vorbis
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += library/audio/pulseaudio
+REQUIRED_PACKAGES += library/libsndfile
+REQUIRED_PACKAGES += library/libtool/libltdl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/sox/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-codec/flac
-codec/ogg-vorbis
-image/library/libpng
-library/audio/pulseaudio
-library/libsndfile
-library/libtool/libltdl
-library/zlib
-system/library
-system/library/math
--- a/components/spawn-fcgi/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/spawn-fcgi/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			9041
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 
 # common targets
@@ -49,6 +49,5 @@
 
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/spawn-fcgi/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/squid/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/squid/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,9 +20,11 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER = gcc3
+
 include ../../make-rules/shared-macros.mk
 
 PATH=/usr/bin:/usr/gnu/bin:/usr/sbin:/usr/perl5/bin
@@ -39,11 +41,9 @@
 
 TPNO=			13323
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-
-COMPILER = gcc3
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CFLAGS += -I/usr/include/kerberosv5
 CFLAGS += $(CPP_LARGEFILES)
@@ -127,6 +127,15 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libtool/libltdl
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/gcc-3-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/security/gss
+REQUIRED_PACKAGES += system/library/security/libsasl
+REQUIRED_PACKAGES += system/network
--- a/components/squid/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-library/libtool/libltdl
-library/security/openssl
-runtime/perl-512
-shell/ksh93
-system/core-os
-system/library
-system/library/gcc-3-runtime
-system/library/math
-system/library/security/gss
-system/library/security/libsasl
-system/network
--- a/components/stdcxx/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/stdcxx/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 # we really need to use studio so we don't like that
@@ -44,9 +44,9 @@
 
 CLOBBER_PATHS += install.sh
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 ISA_PATCH_DIR_32 = $(WS_TOP)/components/stdcxx/isa_patches/$(MACH)
 ISA_PATCH_DIR_64 = $(WS_TOP)/components/stdcxx/isa_patches/$(MACH64)
@@ -279,7 +279,8 @@
 	$(RM) -r $(COMPONENT_SRC) $(COMPONENT_SRC)-32 $(COMPONENT_SRC)-64
 	$(RM) -f *.sed *.out
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/stdcxx/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/stunnel/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/stunnel/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -38,9 +38,9 @@
 COMPONENT_BUGDB=	utility/stunnel
 TPNO=                   21367
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # need /usr/perl5/bin on path to access pod2man perl script, used by 
 # the build to create docs
@@ -74,6 +74,9 @@
 
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += system/network
--- a/components/stunnel/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/security/openssl
-system/core-os
-system/library
-system/linker
-system/network
--- a/components/subversion/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/subversion/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -38,9 +38,9 @@
 COMPONENT_BUGDB=	utility/svn
 TPNO=			21233
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL = 0
 PYMODS = client core delta fs ra repos wc
@@ -140,7 +140,15 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += database/sqlite-3
+REQUIRED_PACKAGES += developer/versioning/subversion
+REQUIRED_PACKAGES += library/apr-13
+REQUIRED_PACKAGES += library/apr-util-13
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/neon
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/security/gss
--- a/components/subversion/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-database/sqlite-3
-developer/versioning/subversion
-library/apr-13
-library/apr-util-13
-library/expat
-library/neon
-library/zlib
-system/library
-system/library/c++-runtime
-system/library/security/gss
--- a/components/sudo/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/sudo/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -38,9 +38,9 @@
 
 TPNO=			16733
 
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/configure.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PREP_ACTION = ( cd $(@D) ; $(AUTORECONF) -f -I m4 )
 
@@ -101,6 +101,6 @@
 	fi
 
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
--- a/components/sudo/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/zlib
-system/library
-system/library/security/crypto
--- a/components/swig/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/swig/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -34,9 +34,9 @@
 
 TPNO=			9031
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATH=$(SPRO_VROOT)/bin:$(JAVA_HOME)/bin:/usr/bin
 
@@ -56,6 +56,10 @@
 # Fails due to deprecated OCAML example and boost library problems
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/swig/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-library/pcre
-library/zlib
-system/library
-system/library/c++-runtime
-system/library/math
-system/linker
--- a/components/tcl/expect/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/tcl/expect/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			5552
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/configure.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 SCRIPTS = timed-run timed-read ftp-rfc autopasswd lpunlock weather \
           passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz \
@@ -74,6 +74,9 @@
 
 $(CONFIGURE_64):	../tcl/build/$(MACH64)/.built
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/tcl-8
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/tcl/expect/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-runtime/tcl-8
-shell/ksh93
-system/library
-system/library/math
-system/linker
--- a/components/tcl/tcl/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/tcl/tcl/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			9083
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/configure.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PREP_ACTION = \
 	(cd $(SOURCE_DIR)/unix ; autoreconf -f; \
@@ -77,6 +77,7 @@
 
 test: 		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/tcl/tcl/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-system/library
-system/library/math
-system/linker
--- a/components/tcl/tk/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/tcl/tk/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			16968
 
-include ../../../make-rules/prep.mk
-include ../../../make-rules/configure.mk
-include ../../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PREP_ACTION = \
 	(cd $(@D)/unix ; autoreconf -f)
@@ -83,6 +83,11 @@
 $(CONFIGURE_32):	../tcl/build/$(MACH32)/.built
 $(CONFIGURE_64):	../tcl/build/$(MACH64)/.built
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/tcl-8
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxext
+REQUIRED_PACKAGES += x11/library/libxft
--- a/components/tcl/tk/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-runtime/tcl-8
-system/library
-system/library/math
-system/linker
-x11/library/libx11
-x11/library/libxext
-x11/library/libxft
--- a/components/tcltls/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/tcltls/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -35,9 +35,9 @@
 
 TPNO=			5697
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_ENV += $(CONFIGURE_ENV.$(BITS))
 CONFIGURE_ENV.64 +=	MACH64DIR="$(MACH64)"
@@ -57,6 +57,6 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += system/library
--- a/components/tcltls/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-library/security/openssl
-system/library
--- a/components/tcpdump/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/tcpdump/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			16021
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # fix my alignment issues instead of falling over on sparc
 studio_ALIGN.sparc.64=-xmemalign=16i
@@ -65,6 +65,6 @@
 test:		$(TEST_64)
 
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/libpcap
--- a/components/tcpdump/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-system/library
-system/library/libpcap
--- a/components/tcsh/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/tcsh/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -38,9 +38,9 @@
 
 TPNO=			5688
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -63,8 +63,7 @@
 
 install:	$(INSTALL_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test: 		$(NO_TESTS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/tcsh/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/texinfo/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/texinfo/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -35,9 +35,9 @@
 TPNO_TEXINFO=		7876
 TPNO_TEXI2HTML=		9089
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 INFOPATH := /usr/share/info
 INFOPATH := $(INFOPATH):/usr/sfw/share/info
@@ -58,6 +58,12 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
--- a/components/texinfo/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-library/ncurses
-runtime/perl-512
-runtime/python-26
-runtime/python-27
-shell/bash
-shell/ksh93
-system/core-os
-system/library
--- a/components/text-utilities/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/text-utilities/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -34,9 +34,9 @@
 
 TPNO=			17825
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # We currently only want some of the text-utils text utilities from this
 # component, so enumerate it in a macro that we can use for build and install.
@@ -97,6 +97,5 @@
 	(cd $(COMPONENT_TEST_DIR) ; $(ENV) $(COMPONENT_TEST_ENV) \
 		./run.sh --verbose colrm column hexdump tailf)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/text-utilities/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/tidy/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/tidy/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,10 +37,10 @@
 
 TPNO=			9098
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 #tree.js, treeview.js, tidyenum_8h.html are installed 
 #from files directory manually as doxygen didn't generate them.
@@ -71,6 +71,5 @@
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/tidy/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/timezone/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/timezone/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,10 +37,9 @@
 	 factory northamerica pacificnew solar87 solar88 solar89 \
 	 southamerica backward
 
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # This package delivers only data files and has no dependencies.
-EXTDEPFILES = $(NULLDEPFILE)
 
 POFILE=zoneinfo.po
 
@@ -64,5 +63,4 @@
 
 clobber: clean
 
-include ../../make-rules/depend.mk
 
--- a/components/tmux/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/tmux/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -39,9 +39,9 @@
 
 TPNO=			20510
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=	CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS  +=	CXXFLAGS="$(CXXFLAGS)"
@@ -55,6 +55,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libevent
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/tmux/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/libevent
-shell/ksh93
-system/library
--- a/components/tomcat/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/tomcat/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -52,9 +52,9 @@
 
 TPNO=			17997
 
-include ../../make-rules/prep.mk
-include ../../make-rules/ant.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ant.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_BUILD_ARGS=-Dbase.path=$(BUILD_DIR_32) -Dtomcat.build=$(PROTO_DIR)
 COMPONENT_BUILD_TARGETS=download deploy
@@ -74,6 +74,8 @@
 	@cd $(BUILD_DIR_32)/test; $(ENV) $(COMPONENT_BUILD_ENV) \
 	    $(ANT) $(COMPONENT_BUILD_ARGS) -Djunit.home=/usr/share/lib/java
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/java/jre-7
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/network
--- a/components/tomcat/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-runtime/java/jre-7
-shell/ksh93
-system/core-os
-system/network
--- a/components/top/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/top/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			5701
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 IPS_COMPONENT_VERSION =	3.8
 
@@ -50,8 +50,8 @@
 
 install:	$(INSTALL_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
 test:		$(NO_TESTS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/top/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-system/library
-system/library/math
--- a/components/tree/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/tree/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -36,9 +36,9 @@
 
 TPNO=			9095
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Enable ASLR for this component
 ASLR_MODE = $(ASLR_ENABLE)
@@ -61,6 +61,5 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/tree/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/trousers/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/trousers/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -35,10 +35,10 @@
 
 TPNO=			8341
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 PATCH_LEVEL=0
 
@@ -88,6 +88,9 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/network
--- a/components/trousers/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/security/openssl
-shell/ksh93
-system/core-os
-system/library
-system/network
--- a/components/unixodbc/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/unixodbc/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,9 +37,9 @@
 
 TPNO=			9099
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PATCH_LEVEL = 0
 
@@ -123,7 +123,9 @@
 
 test: $(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += library/libtool/libltdl
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/unixodbc/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-library/libtool/libltdl
-library/readline
-system/library
-system/library/math
--- a/components/unrar/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/unrar/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -39,9 +39,9 @@
 
 TPNO=			18537
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PKG_PROTO_DIRS = $(MANGLED_DIR)
 PKG_PROTO_DIRS += $(BUILD_DIR_32)
@@ -66,6 +66,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
--- a/components/unrar/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-system/library
-system/library/c++-runtime
-system/library/math
--- a/components/unzip/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/unzip/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -36,9 +36,9 @@
 
 TPNO=			16388
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # remove the unwanted file.
 COMPONENT_PREP_ACTION = $(RM) $(SOURCE_DIR)/crc_i386.S
@@ -63,6 +63,6 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
--- a/components/unzip/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-shell/ksh93
-system/library
--- a/components/vim/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/vim/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -43,9 +43,9 @@
 
 TPNO=			9187
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 HGREPODIR=		$(COMPONENT_NAME).hg
 TARBALLDIR=		$(COMPONENT_NAME)-$(COMPONENT_HG_REV)
@@ -149,6 +149,16 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += x11/library/libice
+REQUIRED_PACKAGES += x11/library/libsm
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxcursor
+REQUIRED_PACKAGES += x11/library/toolkit/libxt
--- a/components/vim/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-library/desktop/gdk-pixbuf
-library/desktop/gtk2
-library/desktop/pango
-library/glib2
-library/ncurses
-shell/ksh93
-system/library
-system/library/math
-x11/library/libice
-x11/library/libsm
-x11/library/libx11
-x11/library/libxcursor
-x11/library/toolkit/libxt
--- a/components/visual-panels/apache/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/apache/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -70,6 +70,6 @@
 clean:: 
 	rm -f $(SOURCE_DIR)/.prep
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
+REQUIRED_PACKAGES += system/network
--- a/components/visual-panels/apache/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-shell/ksh93
-system/core-os
-system/network
--- a/components/visual-panels/core/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/core/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -68,6 +68,12 @@
 clean::
 	rm -f $(SOURCE_DIR)/.prep
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
+REQUIRED_PACKAGES += file/gnu-findutils
+REQUIRED_PACKAGES += library/java/javahelp
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += runtime/java/jre-7
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/management/rad
+REQUIRED_PACKAGES += system/management/rad/client/rad-java
--- a/components/visual-panels/core/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-file/gnu-findutils
-library/java/javahelp
-library/libxml2
-library/security/openssl
-runtime/java/jre-7
-shell/ksh93
-system/library
-system/management/rad
-system/management/rad/client/rad-java
--- a/components/visual-panels/core/src/java/lib/TimingFramework/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/core/src/java/lib/TimingFramework/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../../../../../../make-rules/shared-macros.mk
@@ -50,7 +50,3 @@
 install:	$(INSTALL_32)
 
 test:		$(NO_TESTS)
-
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
--- a/components/visual-panels/core/src/java/lib/swingx/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/core/src/java/lib/swingx/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../../../../../../make-rules/shared-macros.mk
@@ -46,7 +46,3 @@
 	      $(VP_DIR)/$(COMPONENT_NAME)-$(COMPONENT_VERSION).jar
 
 test:		$(NO_TESTS)
-
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
--- a/components/visual-panels/coreadm/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/coreadm/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -71,6 +71,4 @@
 clean:: 
 	rm -f $(SOURCE_DIR)/.prep
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
+REQUIRED_PACKAGES += system/management/visual-panels-core
--- a/components/visual-panels/coreadm/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/management/visual-panels-core
--- a/components/visual-panels/firewall/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/firewall/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -71,6 +71,4 @@
 clean:: 
 	rm -f $(SOURCE_DIR)/.prep
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
+REQUIRED_PACKAGES += system/management/visual-panels-core
--- a/components/visual-panels/firewall/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/management/visual-panels-core
--- a/components/visual-panels/smf/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/smf/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -71,6 +71,5 @@
 clean:: 
 	rm -f $(SOURCE_DIR)/.prep
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/core-os
--- a/components/visual-panels/smf/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-shell/ksh93
-system/core-os
--- a/components/visual-panels/sysmon/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/sysmon/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -71,6 +71,4 @@
 clean:: 
 	rm -f $(SOURCE_DIR)/.prep
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
+REQUIRED_PACKAGES += system/management/visual-panels-core
--- a/components/visual-panels/sysmon/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/management/visual-panels-core
--- a/components/visual-panels/time/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/time/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -71,6 +71,5 @@
 clean:: 
 	rm -f $(SOURCE_DIR)/.prep
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/management/rad
--- a/components/visual-panels/time/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-system/library
-system/management/rad
--- a/components/visual-panels/usermgr/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/usermgr/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -71,6 +71,4 @@
 clean:: 
 	rm -f $(SOURCE_DIR)/.prep
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
+REQUIRED_PACKAGES += system/management/visual-panels-core
--- a/components/visual-panels/usermgr/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/management/visual-panels-core
--- a/components/visual-panels/zconsole/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/visual-panels/zconsole/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -70,6 +70,4 @@
 clean:: 
 	rm -f $(SOURCE_DIR)/.prep
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
-
-include $(WS_MAKE_RULES)/depend.mk
+REQUIRED_PACKAGES += system/management/visual-panels-core
--- a/components/visual-panels/zconsole/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/management/visual-panels-core
--- a/components/w3m/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/w3m/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,8 +18,10 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
+COMPILER = gcc
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		w3m
@@ -34,11 +36,9 @@
 
 TPNO=			9364
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-
-COMPILER = gcc
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PREP_ACTION = (cd $(@D) ; aclocal-1.11 ; autoconf)
 
@@ -61,6 +61,15 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/gc
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/perl-512
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
+REQUIRED_PACKAGES += x11/library/libx11
--- a/components/w3m/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-library/desktop/gtk2
-library/gc
-library/glib2
-library/security/openssl
-library/security/openssl/openssl-fips-140
-library/zlib
-runtime/perl-512
-system/library
-system/library/math
-system/linker
-x11/library/libx11
--- a/components/webalizer/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/webalizer/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,9 +20,11 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
+COMPILER =	gcc3
+
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		webalizer
@@ -38,9 +40,9 @@
 
 TPNO=			9201
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))
@@ -50,8 +52,6 @@
 	$(GSED) -i -e 's?lib/httpd/logs/?apache2/2.2/logs/?' \
 		$(SOURCE_DIR)/sample.conf
 
-COMPILER =	gcc3
-
 CONFIGURE_OPTIONS +=	--enable-dns
 CONFIGURE_OPTIONS +=	--with-gd=/usr/include/gd2
 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
@@ -75,6 +75,9 @@
 
 test:           $(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += database/berkeleydb-5
+REQUIRED_PACKAGES += library/gd
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/webalizer/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-database/berkeleydb-5
-library/gd
-library/zlib
-system/library
-system/library/math
--- a/components/wget/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/wget/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=           19782
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Enforce wget binary to standard path
 CONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
@@ -84,6 +84,9 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/libidn
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/linker
--- a/components/wget/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/libidn
-library/security/openssl
-library/zlib
-system/library
-system/linker
--- a/components/which/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/which/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,9 +34,9 @@
 
 TPNO=			9202
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_PREFIX    =	/usr/gnu
 CONFIGURE_OPTIONS  +=	--infodir=$(CONFIGURE_INFODIR)
@@ -51,6 +51,5 @@
 
 test:		$(TEST_32)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/which/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/wireshark/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/wireshark/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -34,9 +34,9 @@
 
 TPNO=			21831
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # Micro version for easy libraries packaging
 MICRO_VERSION:= $(shell echo $(COMPONENT_VERSION) | awk -F. '{ print $$3 }')
@@ -83,6 +83,22 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += developer/lexer/flex
+REQUIRED_PACKAGES += developer/parser/bison
+REQUIRED_PACKAGES += diagnostic/wireshark/wireshark-common
+REQUIRED_PACKAGES += library/desktop/cairo
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/gnutls
+REQUIRED_PACKAGES += library/security/libgpg-error
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += runtime/lua
+REQUIRED_PACKAGES += service/security/kerberos-5
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/libpcap
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/library/security/libgcrypt
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxcursor
--- a/components/wireshark/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-diagnostic/wireshark/wireshark-common
-library/desktop/cairo
-library/desktop/gdk-pixbuf
-library/desktop/gtk2
-library/desktop/pango
-library/glib2
-library/gnutls
-library/security/libgpg-error
-library/zlib
-runtime/lua
-service/security/kerberos-5
-system/library
-system/library/libpcap
-system/library/math
-system/library/security/libgcrypt
-x11/library/libx11
-x11/library/libxcursor
--- a/components/wxwidgets/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/wxwidgets/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -36,9 +36,9 @@
 
 TPNO=			9216
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 PKG_PROTO_DIRS += $(COMPONENT_DIR)/man
 
@@ -70,8 +70,6 @@
 CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
 
-include ../../make-rules/shared-targets.mk
-
 # I want to use userland's "build" target in contrib subdirectory, but I need
 # to skip the configure phase
 $(BUILD_DIR_32)/contrib/.configured \
@@ -89,6 +87,23 @@
 
 test: 		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += image/library/libtiff
+REQUIRED_PACKAGES += library/desktop/atk
+REQUIRED_PACKAGES += library/desktop/gtk2
+REQUIRED_PACKAGES += library/desktop/pango
+REQUIRED_PACKAGES += library/expat
+REQUIRED_PACKAGES += library/glib2
+REQUIRED_PACKAGES += library/sdl
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/c++-runtime
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += x11/library/libsm
+REQUIRED_PACKAGES += x11/library/libx11
+REQUIRED_PACKAGES += x11/library/libxcursor
+REQUIRED_PACKAGES += x11/library/libxinerama
+REQUIRED_PACKAGES += x11/library/libxxf86vm
--- a/components/wxwidgets/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-image/library/libjpeg
-image/library/libpng
-image/library/libtiff
-library/desktop/atk
-library/desktop/gdk-pixbuf
-library/desktop/gtk2
-library/desktop/pango
-library/expat
-library/glib2
-library/sdl
-library/zlib
-shell/ksh93
-system/library
-system/library/c++-runtime
-system/library/math
-x11/library/libsm
-x11/library/libx11
-x11/library/libxcursor
-x11/library/libxinerama
-x11/library/libxxf86vm
--- a/components/xmlto/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/xmlto/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -37,9 +37,9 @@
 
 TPNO=			13394
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # These will be used by the xmlto script.
 CONFIGURE_ENV += FIND="/usr/gnu/bin/find"
@@ -60,6 +60,12 @@
 
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += file/gnu-coreutils
+REQUIRED_PACKAGES += file/gnu-findutils
+REQUIRED_PACKAGES += library/libxml2
+REQUIRED_PACKAGES += library/libxslt
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/gnu-getopt
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += text/gnu-grep
--- a/components/xmlto/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-file/gnu-coreutils
-file/gnu-findutils
-library/libxml2
-library/libxslt
-shell/bash
-shell/gnu-getopt
-system/library
-text/gnu-grep
--- a/components/xorriso/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/xorriso/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -36,9 +36,9 @@
 
 CPPFLAGS+=		-I./test
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=           --enable-shared
 CONFIGURE_OPTIONS  +=           --disable-static
@@ -56,6 +56,7 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/zlib
+REQUIRED_PACKAGES += system/library
--- a/components/xorriso/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-library/readline
-library/zlib
-system/library
--- a/components/xz/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/xz/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -34,22 +34,20 @@
 
 TPNO=			4463
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 
 # common targets
 build:		$(BUILD_32_and_64)
 
-include ../../make-rules/shared-targets.mk
-
 install:	$(INSTALL_32_and_64)
 
 test:		$(TEST_32_and_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
+
 
-include ../../make-rules/depend.mk
-
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += system/library
--- a/components/xz/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-shell/bash
-system/library
--- a/components/zip/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/zip/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -36,9 +36,9 @@
 
 TPNO=			17905
 
-include ../../make-rules/prep.mk
-include ../../make-rules/justmake.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/justmake.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 # remove the unwanted file.
 COMPONENT_PREP_ACTION = rm -f $(SOURCE_DIR)/match.S
@@ -59,8 +59,8 @@
 
 test:		$(NO_TESTS)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
 
 
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += system/library
--- a/components/zip/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-compress/bzip2
-system/library
--- a/components/zlib/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/zlib/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -37,10 +37,10 @@
 
 TPNO=			17611
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
-include ../../make-rules/lint-libraries.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/lint-libraries.mk
 
 #
 # We want to build hardware specific versions of the longest_match()
@@ -115,6 +115,5 @@
 clean::
 	$(RM) -r $(BUILD_DIR) $(PROTO_DIR) capabilities/*/*/*.o
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += system/library
--- a/components/zlib/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-system/library
--- a/components/zsh/Makefile	Thu Mar 19 14:35:58 2015 -0700
+++ b/components/zsh/Makefile	Thu Mar 19 20:44:31 2015 -0700
@@ -20,11 +20,11 @@
 #
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
-include ../../make-rules/shared-targets.mk
+include $(WS_MAKE_RULES)/shared-targets.mk
 
 COMPONENT_NAME=		zsh
 COMPONENT_VERSION=	5.0.7
@@ -38,9 +38,9 @@
 
 TPNO=			19477
 
-include ../../make-rules/prep.mk
-include ../../make-rules/configure.mk
-include ../../make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
 
 CONFIGURE_OPTIONS += -n
 CONFIGURE_OPTIONS += --bindir=/usr/bin
@@ -108,6 +108,9 @@
 # build does this always
 test:		$(TEST_64)
 
-BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
-include ../../make-rules/depend.mk
+REQUIRED_PACKAGES += library/ncurses
+REQUIRED_PACKAGES += library/pcre
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += system/linker
--- a/components/zsh/resolve.deps	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-library/ncurses
-library/pcre
-system/library
-system/library/math
-system/linker
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/makefile-targets.txt	Thu Mar 19 20:44:31 2015 -0700
@@ -0,0 +1,105 @@
+
+This is a guide to explain various useful targets in Userland component
+Makefiles.  There is a set of targets that all Makefiles must include, plus
+some addtional targets that are there for convenience.
+
+component-environment-check::
+  This target is an optional target that will be included in most Makefiles
+  automatically.  It is defined in $(WS_MAKE_RULES)/environment.mk which is
+  included by $(WS_MAKE_RULES)/shares-macros.mk.  It reports on some interesting
+  information about the current environment and whether or not it is suitable
+  to build, publish, or test the component.
+
+component-environment-prep::
+  This target is an optional target that will be included in most Makefiles
+  automatically.  It is defined in $(WS_MAKE_RULES)/environment.mk which is
+  included by $(WS_MAKE_RULES)/shares-macros.mk.  It uses the REQUIRE_PACKAGES
+  macro contents to attempt to install any required packages in the current
+  environment.  It should never by used by developers to update any public
+  build machines as those are managed by dedicated staff.
+
+download::
+  This target must be present in all Makefiles.  It can be used at the top level
+  to act across all components, or on an individual component basis.  It is
+  typically defined by including $(WS_MAKE_RULES)/prep.mk in your component
+  Makefile.  This target depends on your component Makefile, so changes to your
+  component Makefile will automatically trigger a re-download and subsequent
+  build steps that depend on it.  You can use the MAKEFILE_PREREQ macro to
+  override this behaviour and avoid rebuilding with each Makefile change.  This
+  macro should only be used in the calling environment via something like:
+    $ gmake MAKEFILE_PREREQ= install
+
+prep::
+  This target must be present in all Makefiles.  It can be used at the top level
+  to act across all components, or on an individual component basis.  It is 
+  typically defined by including $(WS_MAKE_RULES)/prep.mk in your component
+  Makefile.  It depends on the previously described "download" target, as well
+  as internal interum targets to unpack source archives and apply patches to
+  the unpacked source.
+
+configure:
+  This target is an optional target that can be included in component Makefiles
+  to run the community source configuration phase of a component build.  It is
+  typically defined in component Makefiles that make use of the
+  $(WS_MAKE_RULES)/configure.mk Makefile fragment, but could be defined in
+  others that include a source code configuration step.  It is not explicitly
+  called during the build, but provides a convenient means of downloading,
+  unpacking, patching, and "configuring" component source for building without
+  actually compiling the bits.
+
+build::
+  This target must be present in all Makefiles.  It can be used at the top level
+  to act across all components, or on an individual component basis.  It is
+  defined in the individual component Makefiles, but most Makefile fragments
+  under $(WS_MAKE_RULES) include targets that allow the definitions to depend
+  on one of several convenience macros $(BUILD_32), $(BUILD_64),
+  $(BUILD_32_and_64), and $(BUILD_NO_ARCH) to build 32-bit support, 64-bit
+  support, both 32 and 64 bit support, or architecture neutral support.  The
+  macro used will depend on the component.
+
+install::
+  This target must be present in all Makefiles.  It can be used at the top level
+  to act across all components, or on an individual component basis.  It is
+  defined in the individual component Makefiles, but most Makefile fragments
+  under $(WS_MAKE_RULES) include targets that allow the definitions to depend
+  on one of several convenience macros $(INSTALL_32), $(INSTALL_64),
+  $(INSTALL_32_and_64), and $(INSTALL_NO_ARCH) to install 32-bit support, 64-bit
+  support, both 32 and 64 bit support, or architecture neutral support.  The
+  macro used will depend on the component and corresponds to the build target
+  macro used.
+
+pkglint::
+  This target is an optional target is automatically defined in each Makefile
+  by the inclusion of $(WS_MAKE_RULES)/prep.mk.  It will run the build steps
+  necessary to pkglint the manifests for a component.
+
+publish::
+  This target must be present in all Makefiles.  It can be used at the top level
+  to act across all components, or on an individual component basis.  It is
+  often automatically defined by including $(WS_MAKE_RULES)/prep.mk.  It depends
+  on the previously described 'install' target and will perform a series of
+  internal, intermediate steps to use the component package manifests to
+  generate and publish packages for that component.
+
+clean::
+  This target must be present in all Makefiles.  It can be used at the top level
+  to act across all components, or on an individual component basis.  It is
+  often automatically defined by including one of the $(WS_MAKE_RULES)
+  Makefile fragments.  It cleans up any files created by building the component
+  with the exception of any downloaded files.
+
+clobber::
+  This target must be present in all Makefiles.  It can be used at the top level
+  to act across all components, or on an individual component basis.  It is
+  often automatically defined by including one of the $(WS_MAKE_RULES)
+  Makefile fragments.  It depends on the previously described 'clean' target
+  and additionally cleans up any downloaded source archives.
+
+REQUIRED_PACKAGES::
+  This target is present in all component Makefiles.  It is automatically
+  defined by including $(WS_MAKE_RULES)/ips.mk.  It is a convenience that can
+  be used to generate the set of REQUIRED_PACKAGES that is needed by the
+  'pkgdepend resolve' portion of package generation and publication (publish
+  target).  It automatically appends to the component Makefile, but the results
+  should be
+  manually verified.
--- a/doc/makefile-variables.txt	Thu Mar 19 14:35:58 2015 -0700
+++ b/doc/makefile-variables.txt	Thu Mar 19 20:44:31 2015 -0700
@@ -15,6 +15,8 @@
 * COMPONENT_ARCHIVE_URL is where the archive can be downloaded from.  This is
   typically constructed from $(COMPONENT_PROJECT_URL) and $(COMPONENT_ARCHIVE).
 * COMPONENT_BUGDB is the lower-case rendering of the BugDB cat/subcat.
+* REQUIRED_PACKAGES is a list of packages required to build or run the
+  component and its tests.
 
 These two are both initialized in make-rules/shared-macros.mk rather than any
 component-level Makefile, but are frequently referenced from the latter.
--- a/make-rules/ant.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/ant.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 ANT=/usr/bin/ant
@@ -55,3 +55,5 @@
 
 clean::
 	$(RM) -r $(SOURCE_DIR) $(BUILD_DIR)
+
+REQUIRED_PACKAGES += developer/build/ant
--- a/make-rules/attpackagemake.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/attpackagemake.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,13 +18,13 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 #
 # Rules and Macros for building opens source software that uses AT&T's package
 # tool.
 #
-# To use these rules, include ../make-rules/attpackagemake.mk in your Makefile
+# To use these rules, include $(WS_MAKE_RULES)/attpackagemake.mk in your Makefile
 # and define "build", "install" targets appropriate to building your component.
 # Ex:
 #
@@ -89,7 +89,7 @@
 	$(TOUCH) $@
 
 # test the built source
-$(BUILD_DIR)/%/.tested: $(BUILD_DIR)/%/.built
+$(BUILD_DIR)/%/.tested:    $(BUILD_DIR)/%/.built
 	$(COMPONENT_PRE_TEST_ACTION)
 	cd $(@D); $(ENV) $(COMPONENT_TEST_ENV) \
 		bin/package test $(COMPONENT_TEST_TARGETS) \
--- a/make-rules/build-zone.mk	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,143 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
-#
-
-#
-# Rules and Macros for creating a template build zone from the installed system
-# and a set of build zones that are clones of the template build zone.
-#
-# To use these rules to create a template build zone
-#  $ gmake -f make-rules/build-zone.mk template-build-zone
-#
-# To use these rules to clone the template zone
-#  $ gmake -f make-rules/build-zone.mk build-zone-[1-9]
-# or
-#  $ gmake -f make-rules/build-zone.mk \
-#		/rpool/zones/build-zone-{*}/root/etc/sysidcfg
-#
-# Before you create any cloned build zones, it is recommended that you create
-# the template build zone, boot it, and make any customizations to it first.
-# The act of booting the template zone will cause it to perform any "first boot"
-# tasks that might othwise slow down the initial boot of a new build zone.
-# Also, all customizations of the template zone will only propagate to the build
-# zones when they are created.
-#
-
-ZONECFG =		/usr/sbin/zonecfg
-ZONEADM =		/usr/sbin/zoneadm
-TZ=			$(shell sed -e '/^TZ=/!d' -e 's;TZ=;;' /etc/default/init)
-
-ZONESCFG_DIR =		/etc/zones
-BUILD_ZONE_SPACE =	/rpool/zones
-
-TOUCH =			/usr/bin/touch
-
-SYSIDCFG =		root/etc/sysidcfg
-ZI_TAG =		root/.installed
-
-# the name of the template build zone
-TMPL_ZONE_NAME =	template-build-zone
-
-#
-# The template build zone will start with 'entire' installed.  We include
-# additional packages to make the build zones more closely match most
-# components' build requirements.  This makes build zone preparation quicker.
-#
-#TMPL_ZONE_TOOLS +=	developer/gcc-3
-#TMPL_ZONE_TOOLS +=	developer/gnu-binutils
-#TMPL_ZONE_TOOLS +=	developer/sunstudio12u1
-TMPL_ZONE_TOOLS +=	archiver/gnu-tar
-TMPL_ZONE_TOOLS +=	compress/p7zip
-TMPL_ZONE_TOOLS +=	compress/unzip
-TMPL_ZONE_TOOLS +=	developer/build/ant
-TMPL_ZONE_TOOLS +=	developer/build/autoconf
-TMPL_ZONE_TOOLS +=	developer/build/automake-110
-TMPL_ZONE_TOOLS +=	developer/build/gnu-make
-TMPL_ZONE_TOOLS +=	developer/build/libtool
-TMPL_ZONE_TOOLS +=	developer/build/make
-TMPL_ZONE_TOOLS +=	developer/gnome/gettext
-TMPL_ZONE_TOOLS +=	developer/java/jdk
-TMPL_ZONE_TOOLS +=	developer/lexer/flex
-TMPL_ZONE_TOOLS +=	developer/macro/cpp
-TMPL_ZONE_TOOLS +=	developer/macro/gnu-m4
-TMPL_ZONE_TOOLS +=	developer/object-file
-TMPL_ZONE_TOOLS +=	developer/parser/bison
-TMPL_ZONE_TOOLS +=	file/gnu-coreutils
-TMPL_ZONE_TOOLS +=	file/gnu-findutils
-TMPL_ZONE_TOOLS +=	library/libxslt
-TMPL_ZONE_TOOLS +=	library/pcre
-TMPL_ZONE_TOOLS +=	text/gawk
-TMPL_ZONE_TOOLS +=	text/gnu-diffutils
-TMPL_ZONE_TOOLS +=	text/gnu-gettext
-TMPL_ZONE_TOOLS +=	text/gnu-grep
-TMPL_ZONE_TOOLS +=	text/gnu-patch
-TMPL_ZONE_TOOLS +=	text/gnu-sed
-TMPL_ZONE_TOOLS +=	text/groff
-TMPL_ZONE_TOOLS +=	text/texinfo
-
-TMPL_ZONE_PKGS =	$(TMPL_ZONE_TOOLS)
-
-template-build-zone:	$(BUILD_ZONE_SPACE)/$(TMPL_ZONE_NAME)/$(SYSIDCFG)
-build-zone-1:		$(BUILD_ZONE_SPACE)/build-zone-1/$(SYSIDCFG)
-build-zone-2:		$(BUILD_ZONE_SPACE)/build-zone-2/$(SYSIDCFG)
-build-zone-3:		$(BUILD_ZONE_SPACE)/build-zone-3/$(SYSIDCFG)
-build-zone-4:		$(BUILD_ZONE_SPACE)/build-zone-4/$(SYSIDCFG)
-build-zone-5:		$(BUILD_ZONE_SPACE)/build-zone-5/$(SYSIDCFG)
-build-zone-6:		$(BUILD_ZONE_SPACE)/build-zone-6/$(SYSIDCFG)
-build-zone-7:		$(BUILD_ZONE_SPACE)/build-zone-7/$(SYSIDCFG)
-build-zone-8:		$(BUILD_ZONE_SPACE)/build-zone-8/$(SYSIDCFG)
-build-zone-9:		$(BUILD_ZONE_SPACE)/build-zone-9/$(SYSIDCFG)
-
-# zone install options.  The template zone uses "install", while the build
-# zones "clone" the template zone.
-ZI_OPT =				clone $(TMPL_ZONE_NAME)
-$(BUILD_ZONE_SPACE)/$(TMPL_ZONE_NAME)/$(ZI_TAG): \
-	ZI_OPT = 			install $(TMPL_ZONE_PKGS:%=-e %)
-
-$(BUILD_ZONE_SPACE):
-	$(MKDIR) $@
-
-# configure a zone
-$(ZONECFG_DIR)/%.xml:	$(BUILD_ZONE_SPACE)
-	( echo "create -b"; \
-	  echo "set zonepath=$(BUILD_ZONE_SPACE)/$(@:$(ZONECFG_DIR)/%.xml=%)"; \
-	  echo "set brand=ipkg"; \
-	  echo "set autoboot=false"; \
-	  echo "verify"; \
-	  echo "commit" ) | $(ZONECFG) -z $(@:$(ZONECFG_DIR)/%.xml=%)
-
-# install a zone
-$(BUILD_ZONE_SPACE)/%/$(ZI_TAG):	$(ZONECFG_DIR)/%.xml
-	$(ZONEADM) -z $(@:$(BUILD_ZONE_SPACE)/%/$(ZI_TAG)=%) $(ZI_OPT)
-
-$(BUILD_ZONE_SPACE)/%/$(SYSIDCFG):	$(BUILD_ZONE_SPACE)/%/$(ZI_TAG)
-	( echo "system_locale=C"; \
-	  echo "timezone=$(TZ)"; \
-	  echo "terminal=xterms"; \
-	  echo "security_policy=NONE"; \
-	  echo "timeserver=localhost"; \
-	  echo "name_service=NONE"; \
-	  echo "network_interface=none {"; \
-	  echo "    hostname=$(@:$(BUILD_ZONE_SPACE)/%/$(SYSIDCFG)=%)"; \
-	  echo "}"; \
-	  echo "nfs4_domain=dynamic"; \
-	  echo "root_password=NP" ) > $@
--- a/make-rules/configure.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/configure.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -27,7 +27,7 @@
 # uses GNU Make to build the components to take advantage of the viewpath
 # support and build multiple version (32/64 bit) from a shared source.
 #
-# To use these rules, include ../make-rules/configure.mk in your Makefile
+# To use these rules, include $(WS_MAKE_RULES)/configure.mk in your Makefile
 # and define "build", "install", and "test" targets appropriate to building
 # your component.
 # Ex:
@@ -135,10 +135,10 @@
 	$(TOUCH) $@
 
 # test the built source
-$(BUILD_DIR)/%/.tested:	$(BUILD_DIR)/%/.built
+$(BUILD_DIR)/%/.tested:    $(BUILD_DIR)/%/.built
 	$(COMPONENT_PRE_TEST_ACTION)
 	(cd $(@D) ; $(ENV) $(COMPONENT_TEST_ENV) $(GMAKE) \
-			$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
+		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
 	$(COMPONENT_POST_TEST_ACTION)
 	$(TOUCH) $@
 
@@ -151,3 +151,12 @@
 
 clean::
 	$(RM) -r $(BUILD_DIR) $(PROTO_DIR)
+
+REQUIRED_PACKAGES += developer/build/autoconf
+REQUIRED_PACKAGES += developer/build/automake-110
+REQUIRED_PACKAGES += developer/build/gnu-make
+REQUIRED_PACKAGES += developer/build/libtool
+REQUIRED_PACKAGES += developer/build/pkg-config
+REQUIRED_PACKAGES += developer/macro/gnu-m4
+REQUIRED_PACKAGES += file/gnu-coreutils
+REQUIRED_PACKAGES += library/libtool/libltdl
--- a/make-rules/depend.mk	Thu Mar 19 14:35:58 2015 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
-#
-
-DEPENDS +=	$(REQUIRED_TOOL)
-DEPENDS +=	$(REQUIRED_FILE)
-
-depend::	$(DEPENDS)
-
-print-required-paths::
-	@for path in $(DEPENDS) ; do \
-		echo $$path ; \
-	 done
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/make-rules/environment.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -0,0 +1,99 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+SUDO =		/usr/bin/sudo
+
+define separator-line
+	@$(PYTHON) -c 'l="="*(40-len("$1")/2); print("%s%s%s" % (l, "$1", l))'
+endef
+
+component-environment-check::
+	$(call separator-line,Workspace)
+	@echo " Path:        $(WS_TOP)"
+	@echo " Branch:      $$(hg identify -b)"
+	@echo " Changeset:   $$(hg identify -n)($$(hg identify -i))"
+	$(call separator-line,System)
+	@/usr/bin/uname -a
+	@echo "Zone:  $$(/usr/sbin/zonename)"
+	@/usr/sbin/psrinfo -vp
+	@/usr/sbin/ipadm show-addr
+	$(call separator-line,Required Packages)
+	@/usr/bin/pkg list -vH $(REQUIRED_PACKAGES:%=/%)
+	$(call separator-line)
+
+component-environment-prep::
+	@echo "Adding required packages to build environment..."
+	@-echo $(REQUIRED_PACKAGES:%=/%) | xargs \
+		$(SUDO) /usr/bin/pkg install --accept -v
+
+
+#
+# For building in a constructed zone.  Currently this assumes a template zone
+# with /ws (tools mountpoint) and /builds (workspace mountpoint) mounted
+# in the same place as in the global zone.  It also assumes the current
+# $USER account is replicated in the template zone.
+#
+ZONENAME=bz-$(shell echo "$(WS_TOP)" | md5sum | cut -c0-7)-$(COMPONENT_NAME)
+
+$(BUILD_DIR)/packages.xml:	Makefile	$(BUILD_DIR)
+	@echo "$(REQUIRED_PACKAGES:%=\t\t<name>pkg:/%</name>\n)" >$(@)
+
+$(BUILD_DIR)/ai_manifest.xml:	$(WS_TOOLS)/zone_default.xml $(BUILD_DIR)
+	$(CP) $< $(@)
+
+$(BUILD_DIR)/sc_profile.xml:	$(WS_TOOLS)/sc_profile.xml $(BUILD_DIR)
+	$(GSED) -e "s/XXX_USER_XXX/$${USER}/g" -e "s/XXX_UID_XXX/$$(id -u)/g" $< >$(@)
+
+component-zone-build:	$(BUILD_DIR)/ai_manifest.xml $(BUILD_DIR)/packages.xml \
+			$(BUILD_DIR)/sc_profile.xml download
+	$(call separator-line)
+	$(call separator-line,Create $(ZONENAME))
+	$(SUDO) /usr/sbin/zonecfg -z $(ZONENAME) create -t template
+	#@$(SUDO) /usr/sbin/zoneadm -z $(ZONENAME) clone template 
+	$(SUDO) /usr/sbin/zoneadm -z $(ZONENAME) install \
+		-m $(BUILD_DIR)/ai_manifest.xml \
+		-c $(BUILD_DIR)/sc_profile.xml
+	$(call separator-line,Boot $(ZONENAME))
+	$(SUDO) /usr/sbin/zoneadm -z $(ZONENAME) boot
+	@while $$(true) ; do \
+		echo "waiting for zone ..." ; \
+		$(SUDO) /usr/sbin/zlogin -l $${USER} $(ZONENAME) \
+				/bin/true >/dev/null 2>&1 && break ; \
+		sleep 10 ; \
+	done
+	#$(call separator-line,Prep $(ZONENAME))
+	#@$(SUDO) /usr/sbin/zlogin -S $(ZONENAME) \
+	#	"cd $(COMPONENT_DIR) ; gmake component-be-prep"
+	$(call separator-line,Build in $(ZONENAME))
+	$(SUDO) /usr/sbin/zlogin -l $${USER} $(ZONENAME) \
+		"cd $(COMPONENT_DIR) ; gmake component-be-check install"
+	#	"cd $(COMPONENT_DIR) ; gmake component-be-check publish PKGLINT=/bin/true"
+	$(call separator-line,Halt $(ZONENAME))
+	$(SUDO) /usr/sbin/zoneadm -z $(ZONENAME) halt
+	$(SUDO) /usr/sbin/zoneadm -z $(ZONENAME) uninstall -F
+	$(SUDO) /usr/sbin/zonecfg -z $(ZONENAME) delete -F
+	$(call separator-line)
+
+component-zone-cleanup::
+	-$(SUDO) /usr/sbin/zoneadm -z $(ZONENAME) halt
+	-$(SUDO) /usr/sbin/zoneadm -z $(ZONENAME) uninstall -F
+	-$(SUDO) /usr/sbin/zonecfg -z $(ZONENAME) delete -F
--- a/make-rules/gem.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/gem.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 GEM=/usr/ruby/$(RUBY_VERSION)/bin/gem
 
@@ -59,3 +59,5 @@
 
 clean::
 	$(RM) -r $(SOURCE_DIR) $(BUILD_DIR)
+
+REQUIRED_PACKAGES += runtime/ruby
--- a/make-rules/install.rb.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/install.rb.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 VENDOR_RUBY = /usr/ruby/$(RUBY_VERSION)/lib/ruby/vendor_ruby/$(RUBY_LIB_VERSION)
@@ -48,3 +48,5 @@
 
 clean::
 	$(RM) -r $(SOURCE_DIR) $(BUILD_DIR)
+
+REQUIRED_PACKAGES += runtime/ruby
--- a/make-rules/ips.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/ips.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,14 +18,16 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
+
+#
+# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 #
 # Rules and Macros for generating an IPS package manifest and publishing an
 # IPS package to a pkg depot.
 #
-# To use these rules, include ../make-rules/ips.mk in your Makefile
+# To use these rules, include $(WS_MAKE_RULES)/ips.mk in your Makefile
 # and define an "install" target appropriate to building your component.
 # Ex:
 #
@@ -46,6 +48,8 @@
 endif
 PKGMANGLE =	$(WS_TOOLS)/userland-mangler
 
+WS_TRANSFORMS =	$(WS_TOP)/transforms
+
 # Package headers should all pretty much follow the same format
 METADATA_TEMPLATE =		$(WS_TOP)/transforms/manifest-metadata-template
 COPYRIGHT_TEMPLATE =		$(WS_TOP)/transforms/copyright-template
@@ -86,6 +90,7 @@
 PKG_MACROS +=		BUILD_VERSION=$(BUILD_VERSION)
 PKG_MACROS +=		SOLARIS_VERSION=$(SOLARIS_VERSION)
 PKG_MACROS +=		OS_VERSION=$(OS_VERSION)
+PKG_MACROS +=		PKG_SOLARIS_VERSION=$(PKG_SOLARIS_VERSION)
 PKG_MACROS +=		HUMAN_VERSION=$(HUMAN_VERSION)
 PKG_MACROS +=		IPS_COMPONENT_VERSION=$(IPS_COMPONENT_VERSION)
 PKG_MACROS +=		COMPONENT_VERSION=$(COMPONENT_VERSION)
@@ -218,7 +223,7 @@
 # appropriate conditional dependencies into a python library's
 # runtime-version-generic package to pull in the version-specific bits when the
 # corresponding version of python is on the system.
-$(BUILD_DIR)/mkgeneric-python: $(WS_TOP)/make-rules/shared-macros.mk
+$(BUILD_DIR)/mkgeneric-python: $(WS_MAKE_RULES)/shared-macros.mk
 	$(RM) $@
 	$(foreach ver,$(shell echo $(PYTHON_VERSIONS) | tr -d .), \
 		$(call mkgeneric,runtime/python,$(ver)))
@@ -250,7 +255,7 @@
 # appropriate conditional dependencies into a perl library's
 # runtime-version-generic package to pull in the version-specific bits when the
 # corresponding version of perl is on the system.
-$(BUILD_DIR)/mkgeneric-perl: $(WS_TOP)/make-rules/shared-macros.mk
+$(BUILD_DIR)/mkgeneric-perl: $(WS_MAKE_RULES)/shared-macros.mk
 	$(RM) $@
 	$(foreach ver,$(shell echo $(PERL_VERSIONS) | tr -d .), \
 		$(call mkgeneric,runtime/perl,$(ver)))
@@ -259,6 +264,7 @@
 # See the block comment above about why "###PYV###" is used here even
 # though this is for Perl rather than Python.
 $(MANIFEST_BASE)-%.p5m: %-PERLVER.p5m $(BUILD_DIR)/mkgeneric-perl
+	$(PKGFMT) $(PKGFMT_CHECK_ARGS) $(CANONICAL_MANIFESTS)
 	$(PKGMOGRIFY) -D PLV=###PYV### $(BUILD_DIR)/mkgeneric-perl \
 		$(WS_TOP)/transforms/mkgeneric $< > $@
 	if [ -f $*-GENFRAG.p5m ]; then cat $*-GENFRAG.p5m >> $@; fi
@@ -287,7 +293,7 @@
 # appropriate conditional dependencies into a ruby library's
 # runtime-version-generic package to pull in the version-specific bits when the
 # corresponding version of ruby is on the system.
-$(BUILD_DIR)/mkgeneric-ruby: $(WS_TOP)/make-rules/shared-macros.mk
+$(BUILD_DIR)/mkgeneric-ruby: $(WS_MAKE_RULES)/shared-macros.mk
 	$(RM) $@
 	$(foreach ver,$(RUBY_VERSIONS),\
 		$(call mkgeneric,runtime/ruby,$(shell echo $(ver) | \
@@ -329,41 +335,39 @@
 	$(ENV) $(COMPONENT_PUBLISH_ENV) $(PKGDEPEND) generate \
 	    $(PKGDEPEND_GENERATE_OPTIONS) $< >$@
 
-# These files should contain a list of packages that the component is known to
-# depend on.  Using resolve.deps is not required, but significantly speeds up
-# the "pkg resolve" step.
-EXTDEPFILES ?= $(wildcard $(sort $(addsuffix ../resolve.deps, $(dir $(DEPENDED)))))
-
-# If the package contains no automatically discoverable dependencies, then
-# we can speed up resolution by providing a dummy resolve.deps to skip loading
-# all the possible packages for resolution.  Unfortunately, pkgdepend does not
-# accept a completely empty resolve.deps, so we pass the userland-incorporation
-# as a quick, content-free placeholder.
-NULLDEPFILE = $(BUILD_DIR)/null-resolve.deps
+# pkgdepend resolve builds a map of all installed packages by default.  This
+# makes dependency resolution particularly slow.  We can dramatically improve
+# performance here by creating a file with a list of packages that we know
+# are needed, dramatically reducing the overhead involved in creating and
+# searching this map.
+#
+# Generate a resolve.deps file from the dependencies in the Makefile and
+# fragments that it uses.
+RESOLVE_DEPS=$(BUILD_DIR)/resolve.deps
 
-# This is a target that should only be run by hand, and not something that
-# .resolved-$(MACH) should depend on.
-sample-resolve.deps:
-	@echo "<transform depend type=(require|require-any) -> print %(fmri)>" > rd-trans
-	@for i in build/*.depend; do \
-		$(PKGMOGRIFY) -O /dev/null $$i rd-trans | tr " " "\n" | sort -u > m1; \
-		$(PKGMOGRIFY) -O /dev/null $$i.res rd-trans | tr " " "\n" | sort -u > m2; \
-		comm -13 m1 m2; \
-	done | sed -e 's/@[^ ]*//g' -e 's,pkg:/,,g' | sort -u > resolve.deps
-	@$(RM) rd-trans m1 m2
-	@if [[ ! -s resolve.deps ]]; then \
-		echo "No computed dependencies found; removing empty resolve.deps."; \
-		$(RM) resolve.deps; \
-	fi
+$(RESOLVE_DEPS):	$(MAKEFILE_PREREQ) $(BUILD_DIR)
+	@for pkg in $(REQUIRED_PACKAGES:%=/%) ; do \
+	    echo $${pkg} ; \
+	done | sort -u >$@
 
 # resolve the dependencies all at once
-$(BUILD_DIR)/.resolved-$(MACH):	$(DEPENDED)
-	if [[ "$(EXTDEPFILES)" == "$(NULLDEPFILE)" ]] ; then \
-	  echo 'consolidation/userland/userland-incorporation' > $(NULLDEPFILE) ; \
-	fi
-	$(PKGDEPEND) resolve $(EXTDEPFILES:%=-e %) -m $(DEPENDED)
+$(BUILD_DIR)/.resolved-$(MACH):	$(DEPENDED) $(RESOLVE_DEPS)
+	$(PKGDEPEND) resolve $(RESOLVE_DEPS:%=-e %) -m $(DEPENDED)
 	$(TOUCH) $@
 
+#
+# Generate a set of REQUIRED_PACKAGES based on what is needed to for pkgdepend
+# to resolve properly.  Automatically append this to your Makefile for the truly
+# lazy among us.  This is only a piece of the REQUIRED_PACKAGES puzzle.
+# You must still include packages for tools you build and test with.
+#
+REQUIRED_PACKAGES::	$(RESOLVED)
+	$(GMAKE) RESOLVE_DEPS= $(BUILD_DIR)/.resolved-$(MACH)
+	@echo "# Auto-generated contents below.  Please manually verify and remove this comment" >>Makefile
+	@$(PKGMOGRIFY) $(WS_TRANSFORMS)/$@ $(RESOLVED) | \
+		$(GSED) -e '/^[\t ]*$$/d' -e '/^#/d' | sort -u >>Makefile
+	@echo "*** Please edit your Makefile and verify the new content at the end ***"
+
 # lint the manifests all at once
 $(BUILD_DIR)/.linted-$(MACH):	$(BUILD_DIR)/.resolved-$(MACH)
 	@echo "VALIDATING MANIFEST CONTENT: $(RESOLVED)"
@@ -388,6 +392,7 @@
 PKGSEND_PUBLISH_OPTIONS += --no-catalog
 PKGSEND_PUBLISH_OPTIONS += $(PKG_PROTO_DIRS:%=-d %)
 PKGSEND_PUBLISH_OPTIONS += -T \*.py
+
 $(MANIFEST_BASE)-%.published:	$(MANIFEST_BASE)-%.depend.res $(BUILD_DIR)/.linted-$(MACH)
 	$(PKGSEND) $(PKGSEND_PUBLISH_OPTIONS) $<
 	$(PKGFMT) <$< >$@
@@ -420,7 +425,7 @@
 
 $(RESOLVED):	install
 
-canonical-manifests:	$(CANONICAL_MANIFESTS) Makefile $(PATCHES)
+canonical-manifests:	$(CANONICAL_MANIFESTS) $(MAKEFILE_PREREQ) $(PATCHES)
 ifeq	($(strip $(CANONICAL_MANIFESTS)),)
 	# If there were no canonical manifests in the workspace, nothing will
 	# be published and we should fail.  A sample manifest can be generated
@@ -433,7 +438,7 @@
 
 # This converts required paths to containing package names for be able to
 # properly setup the build environment for a component.
-required-pkgs.mk:	Makefile
+required-pkgs.mk:	$(MAKEFILE_PREREQ)
 	@echo "generating $@ from Makefile REQUIRED_* data"
 	@pkg search -H -l '<$(DEPENDS:%=% OR) /bin/true>' \
 		| sed -e 's/pkg:\/\(.*\)@.*/REQUIRED_PKGS += \1/g' >$@
--- a/make-rules/justmake.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/justmake.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,13 +18,13 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 #
 # Rules and Macros for building opens source software that just uses their
 # own make and no autoconf-style tools.
 #
-# To use these rules, include ../make-rules/justmake.mk in your Makefile
+# To use these rules, include $(WS_MAKE_RULES)/justmake.mk in your Makefile
 # and define "build", "install" targets appropriate to building your component.
 # Ex:
 #
@@ -67,9 +67,8 @@
 	$(COMPONENT_POST_INSTALL_ACTION)
 	$(TOUCH) $@
 
-
 # test the built source
-$(BUILD_DIR)/%/.tested: $(BUILD_DIR)/%/.built
+$(BUILD_DIR)/%/.tested:    $(BUILD_DIR)/%/.built
 	$(COMPONENT_PRE_TEST_ACTION)
 	(cd $(@D) ; $(ENV) $(COMPONENT_TEST_ENV) $(GMAKE) \
 		$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
--- a/make-rules/lint-libraries.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/lint-libraries.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 #
@@ -26,12 +26,12 @@
 # libraries in the component directory and adds targets to build and install
 # them for 32/64 bit.
 #
-# To use these rules, include $(WS_TOP)/make-rules/lint-libraries.mk in your
+# To use these rules, include $(WS_MAKE_RULES)/lint-libraries.mk in your
 # Makefile and add your lint library source in your component directory as
 # llib-l{lib}.
 #
 # Makefile
-#    include $(WS_TOP)/make-rules/lint-libraries.mk
+#    include $(WS_MAKE_RULES)/lint-libraries.mk
 #
 # llib-l{libname}
 #
--- a/make-rules/makemaker.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/makemaker.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 # we only do 32 bit perl for now.
@@ -97,3 +97,13 @@
 
 clean:: 
 	$(RM) -r $(BUILD_DIR) $(PROTO_DIR)
+
+ifneq ($(findstring 5.12, $(PERL_VERSIONS)),)
+REQUIRED_PACKAGES += runtime/perl-512
+endif
+ifneq ($(findstring 5.12-mt, $(PERL_VERSIONS)),)
+REQUIRED_PACKAGES += runtime/perl-threaded-512
+endif
+ifneq ($(findstring 5.8.4, $(PERL_VERSIONS)),)
+REQUIRED_PACKAGES += runtime/perl-584
+endif
--- a/make-rules/prep.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/prep.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 # One must do all unpack and patch in sequence.
@@ -64,7 +64,7 @@
 define download-rule
 ARCHIVES += $$(COMPONENT_ARCHIVE$(1))
 CLOBBER_PATHS += $$(COMPONENT_ARCHIVE$(1))
-$$(USERLAND_ARCHIVES)$$(COMPONENT_ARCHIVE$(1)):	Makefile
+$$(USERLAND_ARCHIVES)$$(COMPONENT_ARCHIVE$(1)):	$(MAKEFILE_PREREQ)
 	$$(FETCH) --file $$@ \
 		$$(COMPONENT_ARCHIVE_URL$(1):%=--url %) \
 		$$(COMPONENT_ARCHIVE_HASH$(1):%=--hash %)
@@ -96,7 +96,7 @@
 
 # Template for unpacking rules.
 define unpack-rule
-$$(SOURCE_DIR)/.unpacked$(1): download Makefile $$(PATCHDIR_PATCHES$(1)) 
+$$(SOURCE_DIR)/.unpacked$(1): download $(MAKEFILE_PREREQ) $$(PATCHDIR_PATCHES$(1)) 
 	$$(RM) -r $$(COMPONENT_SRC$(1))
 	$$(UNPACK) $$(UNPACK_ARGS$(1)) \
 		$$(USERLAND_ARCHIVES)$$(COMPONENT_ARCHIVE$(1))
@@ -141,3 +141,13 @@
 
 clobber::	clean
 	$(RM) -r $(CLOBBER_PATHS)
+
+REQUIRED_PACKAGES += archiver/gnu-tar
+REQUIRED_PACKAGES += compress/bzip2
+REQUIRED_PACKAGES += compress/gzip
+REQUIRED_PACKAGES += compress/p7zip
+REQUIRED_PACKAGES += compress/unzip
+REQUIRED_PACKAGES += compress/xz
+REQUIRED_PACKAGES += developer/java/jdk
+REQUIRED_PACKAGES += runtime/ruby
+REQUIRED_PACKAGES += text/gnu-patch
--- a/make-rules/setup.py.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/setup.py.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 $(BUILD_DIR)/%-2.6/.built:		PYTHON_VERSION=2.6
@@ -146,3 +146,14 @@
 # Make it easy to construct a URL for a pypi source download.
 PYPI_BASE = http://pypi.python.org/packages/source
 pypi_url = $(PYPI_BASE)/$(shell echo $(COMPONENT_NAME) | cut -c1)/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
+
+ifneq ($(findstring 2.6, $(PYTHON_VERSIONS)),)
+REQUIRED_PACKAGES += runtime/python-26
+endif
+ifneq ($(findstring 2.7, $(PYTHON_VERSIONS)),)
+REQUIRED_PACKAGES += runtime/python-27
+endif
+ifneq ($(findstring 3.4, $(PYTHON_VERSIONS)),)
+REQUIRED_PACKAGES += runtime/python-34
+endif
+REQUIRED_PACKAGES += library/python/setuptools
--- a/make-rules/shared-macros.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/shared-macros.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -33,6 +33,7 @@
 # The location of an external mirror of community source archives that we build
 # in this gate.  The external mirror is a replica of the internal mirror.
 EXTERNAL_ARCHIVE_MIRROR = 
+	
 
 # Default to looking for source archives on the internal mirror and the external
 # mirror before we hammer on the community source archive repositories.
@@ -46,13 +47,14 @@
 export WS_TOP :=		$(shell hg root)
 endif
 
-WS_LOGS =	$(WS_TOP)/$(MACH)/logs
-WS_REPO =	$(WS_TOP)/$(MACH)/repo
+WS_MACH =	$(WS_TOP)/$(MACH)
+WS_LOGS =	$(WS_MACH)/logs
+WS_REPO =	$(WS_MACH)/repo
 WS_TOOLS =	$(WS_TOP)/tools
 WS_MAKE_RULES =	$(WS_TOP)/make-rules
 WS_COMPONENTS =	$(WS_TOP)/components
 WS_INCORPORATIONS =	$(WS_TOP)/incorporations
-WS_LINT_CACHE =	$(WS_TOP)/$(MACH)/pkglint-cache
+WS_LINT_CACHE =	$(WS_MACH)/pkglint-cache
 
 # we want our pkg piplines to fail if there is an error
 # (like if pkgdepend fails in the middle of a pipe), but
@@ -66,6 +68,9 @@
 install:	SHELLOPTS=
 publish:	SHELLOPTS=pipefail
 
+# This can be overridden to avoid rebuilding when you touch a Makefile
+MAKEFILE_PREREQ =	Makefile
+
 # some things don't build properly in non-C locales,
 # so lets stay there
 export LC_ALL=C
@@ -81,12 +86,16 @@
 
 ROOT =			/
 
+# Native OS version
 OS_VERSION :=		$(shell uname -r)
 SOLARIS_VERSION =	$(OS_VERSION:5.%=2.%)
+# Target OS version
+PKG_SOLARIS_VERSION ?= 5.12
+
 
 include $(WS_MAKE_RULES)/ips-buildinfo.mk
 
-COMPILER =		studio
+COMPILER ?=		studio
 BITS =			32
 
 # The default version should go last.
@@ -137,7 +146,7 @@
 PROTOUSRDIR =	$(PROTO_DIR)/$(USRDIR)
 PROTOLIBDIR =	$(PROTO_DIR)/$(LIBDIR)
 PROTOUSRBINDIR =	$(PROTO_DIR)/$(USRBINDIR)
-PROTOUSRBINDIR64=	$(PROTO_DIR)/$(USRBINDIR64)
+PROTOUSRBINDIR64 =	$(PROTO_DIR)/$(USRBINDIR64)
 PROTOUSRSBINDIR =	$(PROTO_DIR)/$(USRSBINDIR)
 PROTOUSRLIBDIR =	$(PROTO_DIR)/$(USRLIBDIR)
 PROTOUSRLIBDIR64 =	$(PROTO_DIR)/$(USRLIBDIR64)
@@ -223,8 +232,9 @@
 TEST_32 =		$(BUILD_DIR_32)/.tested
 TEST_64 =		$(BUILD_DIR_64)/.tested
 TEST_32_and_64 =	$(TEST_32) $(TEST_64)
-$(BUILD_DIR_32)/.tested:       BITS=32
-$(BUILD_DIR_64)/.tested:       BITS=64
+
+$(BUILD_DIR_32)/.tested:		BITS=32
+$(BUILD_DIR_64)/.tested:		BITS=64
 
 # set the default target for test of the component
 COMPONENT_TEST_TARGETS =	check
@@ -236,8 +246,8 @@
 SPRO_VROOT =	$(SPRO_ROOT)/sunstudio12.1
 
 PARFAIT_ROOT =	$(BUILD_TOOLS)/parfait/parfait-tools-1.5.1
-PARFAIT_TOOLS=  $(WS_TOOLS)/$(MACH)/parfait
-PARFAIT_TOOLS_GCC3=     $(PARFAIT_TOOLS)/gcc3
+PARFAIT_TOOLS=	$(WS_TOOLS)/$(MACH)/parfait
+PARFAIT_TOOLS_GCC3=	$(PARFAIT_TOOLS)/gcc3
 PARFAIT= $(PARFAIT_ROOT)/bin/parfait
 export PARFAIT_NATIVESUNCC=$(SPRO_VROOT)/bin/cc
 export PARFAIT_NATIVESUNCXX=$(SPRO_VROOT)/bin/CC
@@ -246,7 +256,7 @@
 # for now
 export PARFAIT_CLANG=0
 
-GCC_ROOT =      /usr/gcc/4.7
+GCC_ROOT =	/usr/gcc/4.7
 GCC3_ROOT =	/usr/sfw
 
 CC.studio.32 =	$(SPRO_VROOT)/bin/cc
@@ -262,12 +272,11 @@
 CC.gcc.64 =	$(GCC_ROOT)/bin/gcc
 CXX.gcc.64 =	$(GCC_ROOT)/bin/g++
 
-CC.gcc3.32 =    $(GCC3_ROOT)/bin/gcc
-CXX.gcc3.32 =   $(GCC3_ROOT)/bin/g++
+CC.gcc3.32 =	$(GCC3_ROOT)/bin/gcc
+CXX.gcc3.32 =	$(GCC3_ROOT)/bin/g++
 
-CC.gcc3.64 =    $(GCC3_ROOT)/bin/gcc
-CXX.gcc3.64 =   $(GCC3_ROOT)/bin/g++
-
+CC.gcc3.64 =	$(GCC3_ROOT)/bin/gcc
+CXX.gcc3.64 =	$(GCC3_ROOT)/bin/g++
 
 lint.32 =	$(SPRO_VROOT)/bin/lint -m32
 lint.64 =	$(SPRO_VROOT)/bin/lint -m64
@@ -285,10 +294,10 @@
 CXX.gcc.32 =	$(PARFAIT_TOOLS)/g++
 CC.gcc.64 =	$(PARFAIT_TOOLS)/gcc
 CXX.gcc.64 =	$(PARFAIT_TOOLS)/g++
-CC.gcc3.32 =    $(PARFAIT_TOOLS_GCC3)/gcc
-CXX.gcc3.32 =   $(PARFAIT_TOOLS_GCC3)/g++
-CC.gcc3.64 =    $(PARFAIT_TOOLS_GCC3)/gcc
-CXX.gcc3.64 =   $(PARFAIT_TOOLS_GCC3)/g++
+CC.gcc3.32 =	$(PARFAIT_TOOLS_GCC3)/gcc
+CXX.gcc3.32 =	$(PARFAIT_TOOLS_GCC3)/g++
+CC.gcc3.64 =	$(PARFAIT_TOOLS_GCC3)/gcc
+CXX.gcc3.64 =	$(PARFAIT_TOOLS_GCC3)/g++
 LD =		$(PARFAIT_TOOLS)/ld
 endif
 
@@ -345,30 +354,30 @@
 PYTHON_LIB= /usr/lib/python$(PYTHON_VERSION)/vendor-packages
 PYTHON_DATA= $(PYTHON_LIB)
 
-JAVA7_HOME =    /usr/jdk/instances/jdk1.7.0
-JAVA6_HOME =    /usr/jdk/instances/jdk1.6.0
+JAVA7_HOME =	/usr/jdk/instances/jdk1.7.0
+JAVA6_HOME =	/usr/jdk/instances/jdk1.6.0
 JAVA_HOME = $(JAVA7_HOME)
 
 # This is the default BUILD version of perl
 # Not necessarily the system's default version, i.e. /usr/bin/perl
-PERL_VERSION =  5.12
+PERL_VERSION ?=  5.12
 
 PERL_VERSIONS = 5.8.4 5.12
 
-PERL.5.8.4 =    /usr/perl5/5.8.4/bin/perl
+PERL.5.8.4 =	/usr/perl5/5.8.4/bin/perl
 PERL.5.12 =     /usr/perl5/5.12/bin/perl
 PERL.5.12-mt =	/usr/perl5/5.12/bin/perl-threaded
 
 PERL =          $(PERL.$(PERL_VERSION))
 
-PERL_ARCH :=     $(shell $(PERL) -e 'use Config; print $$Config{archname}')
+PERL_ARCH :=	$(shell $(PERL) -e 'use Config; print $$Config{archname}')
 PERL_ARCH_FUNC=	$(shell $(1) -e 'use Config; print $$Config{archname}')
 # Optimally we should ask perl which C compiler was used but it doesn't
 # result in a full path name.  Only "c" is being recorded
 # inside perl builds while we actually need a full path to
 # the studio compiler.
-#PERL_CC :=      $(shell $(PERL) -e 'use Config; print $$Config{cc}')
-PERL_OPTIMIZE := $(shell $(PERL) -e 'use Config; print $$Config{optimize}')
+#PERL_CC :=	$(shell $(PERL) -e 'use Config; print $$Config{cc}')
+PERL_OPTIMIZE :=$(shell $(PERL) -e 'use Config; print $$Config{optimize}')
 
 PKG_MACROS +=   PERL_ARCH=$(PERL_ARCH)
 PKG_MACROS +=   PERL_VERSION=$(PERL_VERSION)
@@ -389,13 +398,15 @@
 GPATCH_BACKUP =	--backup --version-control=numbered
 GPATCH_FLAGS =	-p$(PATCH_LEVEL) $(GPATCH_BACKUP)
 GSED =		/usr/gnu/bin/sed
+GDIFF =		/usr/gnu/bin/diff
+GSORT =		/usr/gnu/bin/sort
 
 PKGREPO =	/usr/bin/pkgrepo
 PKGSEND =	/usr/bin/pkgsend
 ifeq   ($(strip $(PKGLINT_COMPONENT)),)
-PKGLINT =       /usr/bin/pkglint
+PKGLINT =	/usr/bin/pkglint
 else
-PKGLINT =       ${WS_TOOLS}/pkglint
+PKGLINT =	${WS_TOOLS}/pkglint
 endif
 
 ACLOCAL =	/usr/bin/aclocal-1.10
@@ -409,9 +420,11 @@
 CP =		/bin/cp -f
 MV =		/bin/mv -f
 LN =		/bin/ln
+CAT =		/bin/cat
 SYMLINK =	/bin/ln -s
 ENV =		/usr/bin/env
 INSTALL =	/usr/bin/ginstall
+GNU_GREP =	/usr/gnu/bin/grep
 CHMOD =		/usr/bin/chmod
 NAWK =		/usr/bin/nawk
 TEE =		/usr/bin/tee
@@ -594,8 +607,8 @@
 # configure environment.
 CFLAGS.gcc +=	$(gcc_OPT)
 CFLAGS.gcc +=	$(gcc_XREGS)
-CFLAGS.gcc3 +=  $(gcc_OPT)
-CFLAGS.gcc3 +=  $(gcc_XREGS)
+CFLAGS.gcc3 +=	$(gcc_OPT)
+CFLAGS.gcc3 +=	$(gcc_XREGS)
 
 
 # Build 32 or 64 bit objects.
@@ -665,7 +678,7 @@
 LD_Z_IGNORE =		-z ignore
 
 # eliminate comments
-LD_Z_STRIP_CLASS =      -z strip-class=comment
+LD_Z_STRIP_CLASS =	-z strip-class=comment
 
 # use direct binding
 LD_B_DIRECT =		-Bdirect
@@ -747,3 +760,36 @@
 
 component-hook:
 	@$(COMPONENT_HOOK)
+
+#
+# Packages with tools that are required to build Userland components
+#
+REQUIRED_PACKAGES += developer/build/gnu-make
+REQUIRED_PACKAGES += developer/build/make
+ifeq ($(COMPILER),gcc3)
+REQUIRED_PACKAGES += developer/gcc-3
+endif
+ifeq ($(COMPILER),gcc)
+REQUIRED_PACKAGES += developer/gcc-47
+endif
+ifeq ($(COMPILER),studio)
+# uncomment this line if you need to install Studio
+#REQUIRED_PACKAGES += developer/solarisstudio-123
+endif
+ifeq ($(PARFAIT_BUILD),yes)
+# uncomment this line if you need to install Parfait
+#REQUIRED_PACKAGES += developer/parfait/parfait-tools-151
+endif
+REQUIRED_PACKAGES += developer/versioning/mercurial
+REQUIRED_PACKAGES += file/gnu-findutils
+REQUIRED_PACKAGES += package/pkg
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += shell/bash
+REQUIRED_PACKAGES += shell/ksh93
+REQUIRED_PACKAGES += text/gawk
+REQUIRED_PACKAGES += text/gnu-grep
+REQUIRED_PACKAGES += text/gnu-sed
+REQUIRED_PACKAGES += developer/java/jdk-7
+REQUIRED_PACKAGES += security/sudo
+
+include $(WS_MAKE_RULES)/environment.mk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/sc_profile.xml	Thu Mar 19 20:44:31 2015 -0700
@@ -0,0 +1,69 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!--
+
+ Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+  
+--> 
+
+<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
+<!-- Auto-generated by sysconfig -->
+<service_bundle type="profile" name="sysconfig">
+  <service version="1" type="service" name="system/identity">
+    <instance enabled="true" name="node">
+      <property_group type="application" name="config">
+        <propval type="astring" name="nodename" value="build-zone"/>
+      </property_group>
+    </instance>
+  </service>
+  <service version="1" type="service" name="network/physical">
+    <instance enabled="true" name="default">
+      <property_group type="application" name="netcfg">
+        <propval type="astring" name="active_ncp" value="Automatic"/>
+      </property_group>
+    </instance>
+  </service>
+  <service version="1" type="service" name="system/name-service/switch">
+    <property_group type="application" name="config">
+      <propval type="astring" name="default" value="files"/>
+    </property_group>
+    <instance enabled="true" name="default"/>
+  </service>
+  <service version="1" type="service" name="system/name-service/cache">
+    <instance enabled="true" name="default"/>
+  </service>
+  <service version="1" type="service" name="system/environment">
+    <instance enabled="true" name="init">
+      <property_group type="application" name="environment">
+        <propval type="astring" name="LANG" value="C"/>
+      </property_group>
+    </instance>
+  </service>
+  <service version="1" type="service" name="system/timezone">
+    <instance enabled="true" name="default">
+      <property_group type="application" name="timezone">
+        <propval type="astring" name="localtime" value="US/Central"/>
+      </property_group>
+    </instance>
+  </service>
+  <service version="1" type="service" name="system/config-user">
+    <instance enabled="true" name="default">
+      <property_group type="application" name="root_account">
+        <propval type="astring" name="type" value="role"/>
+        <propval type="astring" name="login" value="root"/>
+        <propval type="astring" name="password" value="$5$DhAL3Jz9$tCIL0yJv.8uI1uAfn2bG3DikVuhJTukkxoThIaZ6aCC"/>
+      </property_group>
+      <property_group type="application" name="user_account">
+        <propval type="astring" name="roles" value="root"/>
+        <propval type="astring" name="shell" value="/usr/bin/bash"/>
+        <propval type="astring" name="login" value="XXX_USER_XXX"/>
+        <propval type="astring" name="password" value="$5$DhAL3Jz9$tCIL0yJv.8uI1uAfn2bG3DikVuhJTukkxoThIaZ6aCC"/>
+        <propval type="astring" name="type" value="normal"/>
+        <propval type="astring" name="sudoers" value="ALL=(ALL) ALL"/>
+        <propval type="count" name="uid" value="XXX_UID_XXX"/>
+        <propval type="count" name="gid" value="10"/>
+        <propval type="astring" name="description" value="XXX_USER_XXX"/>
+        <propval type="astring" name="profiles" value="System Administrator"/>
+      </property_group>
+    </instance>
+  </service>
+</service_bundle>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/zone_default.xml	Thu Mar 19 20:44:31 2015 -0700
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+
+-->
+<!DOCTYPE auto_install SYSTEM "file:///usr/share/install/ai.dtd.1" [
+<!ENTITY REQUIRED_PACKAGES SYSTEM "packages.xml">
+]>
+
+<auto_install>
+    <ai_instance name="zone_default">
+        <target>
+            <logical>
+                <zpool name="rpool">
+                    <!--
+                      Subsequent <filesystem> entries instruct an installer
+                      to create the following ZFS datasets:
+
+                          <root_pool>/export         (mounted on /export)
+                          <root_pool>/export/home    (mounted on /export/home)
+
+                      Those datasets are part of standard environment
+                      and should always be created.
+
+                      In rare cases, if there is a need to deploy a zone
+                      without these datasets, either comment out or remove
+                      <filesystem> entries. In such scenario, it has to be also
+                      assured that in case of non-interactive post-install
+                      configuration, creation of initial user account is
+                      disabled in related system configuration profile.
+                      Otherwise the installed zone would fail to boot.
+                    -->
+                    <filesystem name="export" mountpoint="/export"/>
+                    <filesystem name="export/home"/>
+                    <be name="solaris">
+                        <options>
+                            <option name="compression" value="on"/>
+                        </options>
+                    </be>
+                </zpool>
+            </logical>
+        </target>
+
+        <software type="IPS">
+            <destination>
+                <image>
+                    <!-- Specify locales to install -->
+                    <facet set="false">facet.locale.*</facet>
+                    <facet set="true">facet.locale.de</facet>
+                    <facet set="true">facet.locale.de_DE</facet>
+                    <facet set="true">facet.locale.en</facet>
+                    <facet set="true">facet.locale.en_US</facet>
+                    <facet set="true">facet.locale.es</facet>
+                    <facet set="true">facet.locale.es_ES</facet>
+                    <facet set="true">facet.locale.fr</facet>
+                    <facet set="true">facet.locale.fr_FR</facet>
+                    <facet set="true">facet.locale.it</facet>
+                    <facet set="true">facet.locale.it_IT</facet>
+                    <facet set="true">facet.locale.ja</facet>
+                    <facet set="true">facet.locale.ja_*</facet>
+                    <facet set="true">facet.locale.ko</facet>
+                    <facet set="true">facet.locale.ko_*</facet>
+                    <facet set="true">facet.locale.pt</facet>
+                    <facet set="true">facet.locale.pt_BR</facet>
+                    <facet set="true">facet.locale.zh</facet>
+                    <facet set="true">facet.locale.zh_CN</facet>
+                    <facet set="true">facet.locale.zh_TW</facet>
+                </image>
+            </destination>
+            <software_data action="install">
+                <name>pkg:/group/system/solaris-small-server</name>
+                &REQUIRED_PACKAGES;
+            </software_data>
+        </software>
+    </ai_instance>
+</auto_install>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/transforms/REQUIRED_PACKAGES	Thu Mar 19 20:44:31 2015 -0700
@@ -0,0 +1,4 @@
+# print a line "REQUIRED_PACKAGES += {pkg-short-name}"
+<transform depend fmri=pkg:/(.+)@.+ -> print REQUIRED_PACKAGES += %<1> >
+# drop all actions
+<transform -> drop >