components/git/Makefile
branchs11u2-sru
changeset 4270 279415c50b97
parent 2434 6c9bb5cf5610
equal deleted inserted replaced
4269:17ea514d2fe0 4270:279415c50b97
    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, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		git
    25 COMPONENT_NAME=		git
    26 COMPONENT_VERSION=	1.7.9.2
    26 COMPONENT_VERSION=	1.7.9.2
    53 
    53 
    54 COMPONENT_BUILD_ENV+=	NO_PERL_MAKEMAKER=1
    54 COMPONENT_BUILD_ENV+=	NO_PERL_MAKEMAKER=1
    55 COMPONENT_INSTALL_ENV+=	PERL_LIB=$(shell $(PERL) -MConfig -e 'print "$$Config{installvendorarch}"')
    55 COMPONENT_INSTALL_ENV+=	PERL_LIB=$(shell $(PERL) -MConfig -e 'print "$$Config{installvendorarch}"')
    56 COMPONENT_INSTALL_ARGS+=	INSTALL="$(INSTALL)"
    56 COMPONENT_INSTALL_ARGS+=	INSTALL="$(INSTALL)"
    57 
    57 
       
    58 # get rid of terminal escape codes in test output
       
    59 COMPONENT_TEST_ENV = TERM=dumb
       
    60 # many failures; keep going; later versions of git are much cleaner
       
    61 COMPONENT_TEST_ARGS += -k -i
    58 COMPONENT_TEST_TARGETS = test
    62 COMPONENT_TEST_TARGETS = test
    59 
    63 
    60 # This runs configure but configure doesn't generate a Makefile.
    64 # This runs configure but configure doesn't generate a Makefile.
    61 # Instead a Makefile comes with git.
    65 # Instead a Makefile comes with git.
    62 # Anyways viewpathing doesn't work.
    66 # Anyways viewpathing doesn't work.
    63 # Therefore we need cloney to copy a set of files to build.
    67 # Therefore we need cloney to copy a set of files to build.
    64 
    68 
    65 COMPONENT_PRE_CONFIGURE_ACTION = \
    69 COMPONENT_PRE_CONFIGURE_ACTION = \
    66 	($(CLONEY) $(SOURCE_DIR) $(@D))
    70 	($(CLONEY) $(SOURCE_DIR) $(@D))
       
    71 
       
    72 ASLR_MODE = $(ASLR_ENABLE)
    67 
    73 
    68 build:		$(BUILD_32)
    74 build:		$(BUILD_32)
    69 
    75 
    70 install:	$(INSTALL_32) $(BUILD_DIR)/.manpages
    76 install:	$(INSTALL_32) $(BUILD_DIR)/.manpages
    71 
    77