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