components/php-5_3/php-sapi/php.mk
changeset 2211 a99bbd5139c0
parent 1984 00f4f2142725
child 4196 d697072a92f5
equal deleted inserted replaced
2210:96a1346fe8ad 2211:a99bbd5139c0
    20 #
    20 #
    21 # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 COMPONENT_PRE_INSTALL_ACTION += ( \
    24 COMPONENT_PRE_INSTALL_ACTION += ( \
       
    25 	set -e; \
    25 	$(MKDIR) $(INSTALL_ROOT)/$(PHP_PEAR_CACHE_DIR) )
    26 	$(MKDIR) $(INSTALL_ROOT)/$(PHP_PEAR_CACHE_DIR) )
    26 
    27 
    27 #
    28 #
    28 # Removing Zend/*parser.[ch] forces regeneration by native bison
    29 # Removing Zend/*parser.[ch] forces regeneration by native bison
    29 #
    30 #
    30 COMPONENT_POST_UNPACK_ACTION += ( \
    31 COMPONENT_POST_UNPACK_ACTION += ( \
       
    32 	set -e; \
    31 	echo $(PATH); \
    33 	echo $(PATH); \
    32 	$(RM) $(COMPONENT_SRC)/Zend/zend_ini_parser.c \
    34 	$(RM) $(COMPONENT_SRC)/Zend/zend_ini_parser.c \
    33 	      $(COMPONENT_SRC)/Zend/zend_ini_parser.h \
    35 	      $(COMPONENT_SRC)/Zend/zend_ini_parser.h \
    34 	      $(COMPONENT_SRC)/Zend/zend_ini_parser.output \
    36 	      $(COMPONENT_SRC)/Zend/zend_ini_parser.output \
    35 	      $(COMPONENT_SRC)/Zend/zend_language_parser.c \
    37 	      $(COMPONENT_SRC)/Zend/zend_language_parser.c \
    37 	      $(COMPONENT_SRC)/Zend/zend_language_parser.output )
    39 	      $(COMPONENT_SRC)/Zend/zend_language_parser.output )
    38 
    40 
    39 PATCHES = $(shell cd $(PATCH_DIR); echo [0-9]* $$(MACH)* )
    41 PATCHES = $(shell cd $(PATCH_DIR); echo [0-9]* $$(MACH)* )
    40 
    42 
    41 COMPONENT_PRE_CONFIGURE_ACTION = ( \
    43 COMPONENT_PRE_CONFIGURE_ACTION = ( \
       
    44 	set -e; \
    42 	cd $(COMPONENT_SRC); $(ENV) -i PATH=/usr/gnu/bin:$(PATH) \
    45 	cd $(COMPONENT_SRC); $(ENV) -i PATH=/usr/gnu/bin:$(PATH) \
    43 		MAKE="$(GMAKE)" \
    46 		MAKE="$(GMAKE)" \
    44 		$(CONFIG_SHELL) ./buildconf --force ; \
    47 		$(CONFIG_SHELL) ./buildconf --force ; \
    45 	$(MV) configure configure_orig; \
    48 	$(MV) configure configure_orig; \
    46 	$(GSED) -e "s\#-i -a -n php5\#-i -n php5\#" \
    49 	$(GSED) -e "s\#-i -a -n php5\#-i -n php5\#" \