components/patch/Makefile
branchs11-update
changeset 4648 a4fe937e0c9d
parent 3996 20c0f21bbe1e
equal deleted inserted replaced
4647:f1f27134bd1c 4648:a4fe937e0c9d
    22 #
    22 #
    23 
    23 
    24 include ../../make-rules/shared-macros.mk
    24 include ../../make-rules/shared-macros.mk
    25 
    25 
    26 COMPONENT_NAME=		patch
    26 COMPONENT_NAME=		patch
    27 COMPONENT_VERSION=	2.7.1
    27 COMPONENT_VERSION=	2.7.5
    28 COMPONENT_PROJECT_URL=	http://www.gnu.org/software/patch/
    28 COMPONENT_PROJECT_URL=	http://www.gnu.org/software/patch/
    29 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    29 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    30 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    30 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    31 COMPONENT_ARCHIVE_HASH=	\
    31 COMPONENT_ARCHIVE_HASH=	\
    32     sha256:c05f28668c3474bc63adcd48abae921d15e71c254fbebdbaeda40456d64039d5
    32     sha256:7436f5a19f93c3ca83153ce9c5cbe4847e97c5d956e57a220121e741f6e7968f
    33 COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/gnu/patch/$(COMPONENT_ARCHIVE)
    33 COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/gnu/patch/$(COMPONENT_ARCHIVE)
    34 COMPONENT_BUGDB=	utility/gpatch
    34 COMPONENT_BUGDB=	utility/gpatch
    35 
    35 
    36 TPNO=			18936
    36 TPNO=			22293
    37 
    37 
    38 include $(WS_MAKE_RULES)/prep.mk
    38 include $(WS_MAKE_RULES)/prep.mk
    39 include $(WS_MAKE_RULES)/configure.mk
    39 include $(WS_MAKE_RULES)/configure.mk
    40 include $(WS_MAKE_RULES)/ips.mk
    40 include $(WS_MAKE_RULES)/ips.mk
    41 
    41 
    42 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    42 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
       
    43 
       
    44 # Needed for "gmake test" to work successfully.
       
    45 # If SHELLOPTS is exported (as it is by the userland makefiles),
       
    46 # then all shell options get exported to child invocations of bash,
       
    47 # which results in test failures due to nounset being
       
    48 # set unexpectedly, and errors such as "$1: unbound variable"
       
    49 unexport SHELLOPTS
    43 
    50 
    44 COMPONENT_INSTALL_ARGS += bindir=$(USRBINDIR)
    51 COMPONENT_INSTALL_ARGS += bindir=$(USRBINDIR)
    45 
    52 
    46 ASLR_MODE = $(ASLR_ENABLE)
    53 ASLR_MODE = $(ASLR_ENABLE)
    47 
    54