--- 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