components/patch/Makefile
branchs11-update
changeset 3410 840954262ba5
parent 2434 6c9bb5cf5610
child 3661 47545fb8aed4
child 4672 b5cd74af63e5
equal deleted inserted replaced
3409:53d60770c45d 3410:840954262ba5
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    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.5.9
    27 COMPONENT_VERSION=	2.7.1
    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:ecb5c6469d732bcf01d6ec1afe9e64f1668caba5bfdb103c28d7f537ba3cdb8a
    32     sha256:c05f28668c3474bc63adcd48abae921d15e71c254fbebdbaeda40456d64039d5
    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 include ../../make-rules/prep.mk
    36 include ../../make-rules/prep.mk
    37 include ../../make-rules/configure.mk
    37 include ../../make-rules/configure.mk
    38 include ../../make-rules/ips.mk
    38 include ../../make-rules/ips.mk
    39 
    39 
    40 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    40 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    41 
    41 
       
    42 COMPONENT_INSTALL_ARGS += bindir=$(USRBINDIR)
       
    43 
       
    44 ASLR_MODE = $(ASLR_ENABLE)
       
    45 
    42 # common targets
    46 # common targets
    43 build:		$(BUILD_32)
    47 build:		$(BUILD_64)
    44 
    48 
    45 install:	$(INSTALL_32)
    49 install:	$(INSTALL_64)
    46 
    50 
    47 test:		$(NO_TESTS)
    51 test:		$(TEST_64)
    48 
    52 
    49 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    53 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
    50 
    54 
    51 include ../../make-rules/depend.mk
    55 include ../../make-rules/depend.mk