components/antlr/Makefile
changeset 7135 baa9bef19b29
parent 5682 94c0ca64c022
child 7687 1093e2a9adbd
equal deleted inserted replaced
7134:d5df481424be 7135:baa9bef19b29
    42 
    42 
    43 PATCH_LEVEL =		0
    43 PATCH_LEVEL =		0
    44 
    44 
    45 CONFIGURE_OPTIONS +=	--without-examples
    45 CONFIGURE_OPTIONS +=	--without-examples
    46 
    46 
       
    47 CXXFLAGS += -std=sun03
       
    48 
    47 # pkgdepend doesn't like the first line of a Python script to be:
    49 # pkgdepend doesn't like the first line of a Python script to be:
    48 # '#!/usr/bin/env python' so turn it into '#!/usr/bin/python2.7'
    50 # '#!/usr/bin/env python' so turn it into '#!/usr/bin/python2.7'
    49 COMPONENT_POST_CONFIGURE_ACTION = \
    51 COMPONENT_POST_CONFIGURE_ACTION = \
    50 	$(GSED) -i -e 's/env python/python2.7/' \
    52 	$(GSED) -i -e 's/env python/python2.7/' \
    51 		$(BUILD_DIR_32)/scripts/pyantlr.sh
    53 		$(BUILD_DIR_32)/scripts/pyantlr.sh
    57 
    59 
    58 # Delete references to the version of java been used and a build date.
    60 # Delete references to the version of java been used and a build date.
    59 COMPONENT_TEST_TRANSFORMS += \
    61 COMPONENT_TEST_TRANSFORMS += \
    60 	'-e "s|^.*$(JAVA_HOME).*$$|XXX_JAVA_XXX|g" ' \
    62 	'-e "s|^.*$(JAVA_HOME).*$$|XXX_JAVA_XXX|g" ' \
    61 	'-e "/^ANTLR Parser Generator.*$$/d"' \
    63 	'-e "/^ANTLR Parser Generator.*$$/d"' \
       
    64 	'-e "/Nothing to be done/d"' \
       
    65 	'-e "/Leaving directory/d"' \
       
    66 	'-e "/Entering directory/d"' \
    62 	'-e "/^XXX_JAVA_XXX$$/d" '
    67 	'-e "/^XXX_JAVA_XXX$$/d" '
    63 
    68 
    64 COMPONENT_TEST_TARGETS = test
    69 COMPONENT_TEST_TARGETS = test
    65 
    70 
    66 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    71 ASLR_MODE = $(ASLR_NOT_APPLICABLE)