--- a/components/patch/Makefile Mon Oct 27 07:23:02 2014 -0700
+++ b/components/patch/Makefile Mon Oct 27 11:13:04 2014 -0700
@@ -18,18 +18,18 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
#
include ../../make-rules/shared-macros.mk
COMPONENT_NAME= patch
-COMPONENT_VERSION= 2.5.9
+COMPONENT_VERSION= 2.7.1
COMPONENT_PROJECT_URL= http://www.gnu.org/software/patch/
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= \
- sha256:ecb5c6469d732bcf01d6ec1afe9e64f1668caba5bfdb103c28d7f537ba3cdb8a
+ sha256:c05f28668c3474bc63adcd48abae921d15e71c254fbebdbaeda40456d64039d5
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/patch/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB= utility/gpatch
@@ -39,12 +39,16 @@
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
-# common targets
-build: $(BUILD_32)
+COMPONENT_INSTALL_ARGS += bindir=$(USRBINDIR)
+
+ASLR_MODE = $(ASLR_ENABLE)
-install: $(INSTALL_32)
+# common targets
+build: $(BUILD_64)
-test: $(NO_TESTS)
+install: $(INSTALL_64)
+
+test: $(TEST_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)