components/patch/Makefile
changeset 2141 3b99626d1270
parent 1948 2d1537e7942d
child 2225 f064d3d3190d
--- a/components/patch/Makefile	Tue Oct 07 14:20:21 2014 -0700
+++ b/components/patch/Makefile	Wed Oct 08 09:18:56 2014 -0700
@@ -24,16 +24,16 @@
 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
 
-TPNO=			8588
+TPNO=			18936
 
 include ../../make-rules/prep.mk
 include ../../make-rules/configure.mk
@@ -41,6 +41,8 @@
 
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 
+COMPONENT_INSTALL_ARGS += bindir=$(USRBINDIR)
+
 ASLR_MODE = $(ASLR_ENABLE)
 
 # common targets
@@ -48,7 +50,7 @@
 
 install:	$(INSTALL_64)
 
-test:		$(NO_TESTS)
+test:		$(TEST_64)
 
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)