--- a/components/gdbm/Makefile Wed Mar 30 10:16:56 2016 -0700
+++ b/components/gdbm/Makefile Wed Mar 30 13:33:31 2016 -0700
@@ -18,50 +18,32 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+
#
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
+#
+BUILD_BITS= 64_and_32
include ../../make-rules/shared-macros.mk
COMPONENT_NAME= gdbm
COMPONENT_VERSION= 1.8.3
-COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
-COMPONENT_PROJECT_URL= http://www.gnu.org/software/gdbm/
-COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= \
sha256:cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9
-COMPONENT_ARCHIVE_URL= ftp://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB= library/libgdbm
TPNO= 8440
-include $(WS_MAKE_RULES)/prep.mk
-include $(WS_MAKE_RULES)/configure.mk
-include $(WS_MAKE_RULES)/ips.mk
+include $(WS_MAKE_RULES)/gnu-component.mk
CONFIGURE_OPTIONS += --disable-static
CONFIGURE_OPTIONS += --enable-shared
-CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
COMPONENT_INSTALL_ENV += INSTALL_ROOT="$(PROTO_DIR)"
-ASLR_MODE = $(ASLR_NOT_APPLICABLE)
-
$(SKIP_TEST_AT_TOP_LEVEL)
# common targets
-configure: $(CONFIGURE_32_and_64)
-
-build: $(BUILD_32_and_64)
-
-install: $(INSTALL_32_and_64)
-
# The tests build but they are not run automatically. You have to
# manually run the tests (testdbm, testgdbm, etc) by hand and verify
# the DB operations. (No master test files).
COMPONENT_TEST_TARGETS = progs
-test: $(TEST_32_and_64)
-
-system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
-
-
-REQUIRED_PACKAGES += system/library