components/php-5_3/php-sapi/php.mk
changeset 1654 6f9989ec7bd5
parent 846 fe258446a1ae
child 1984 00f4f2142725
child 3477 3d935de46ca9
equal deleted inserted replaced
1653:4cb88404a32d 1654:6f9989ec7bd5
    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) 2012, 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 	$(MKDIR) $(INSTALL_ROOT)/$(PHP_PEAR_CACHE_DIR) )
    25 	$(MKDIR) $(INSTALL_ROOT)/$(PHP_PEAR_CACHE_DIR) )
    26 
    26 
    35 	      $(COMPONENT_SRC)/Zend/zend_ini_parser.output \
    35 	      $(COMPONENT_SRC)/Zend/zend_ini_parser.output \
    36 	      $(COMPONENT_SRC)/Zend/zend_language_parser.c \
    36 	      $(COMPONENT_SRC)/Zend/zend_language_parser.c \
    37 	      $(COMPONENT_SRC)/Zend/zend_language_parser.h \
    37 	      $(COMPONENT_SRC)/Zend/zend_language_parser.h \
    38 	      $(COMPONENT_SRC)/Zend/zend_language_parser.output )
    38 	      $(COMPONENT_SRC)/Zend/zend_language_parser.output )
    39 
    39 
       
    40 PATCHES = $(shell cd $(PATCH_DIR); echo [0-9]* $$(MACH)* )
       
    41 
    40 COMPONENT_PRE_CONFIGURE_ACTION = ( \
    42 COMPONENT_PRE_CONFIGURE_ACTION = ( \
    41 	cd $(COMPONENT_SRC); $(ENV) -i PATH=/usr/gnu/bin:$(PATH) \
    43 	cd $(COMPONENT_SRC); $(ENV) -i PATH=/usr/gnu/bin:$(PATH) \
    42 		MAKE="$(GMAKE)" \
    44 		MAKE="$(GMAKE)" \
    43 		$(CONFIG_SHELL) ./buildconf --force ; \
    45 		$(CONFIG_SHELL) ./buildconf --force ; \
    44 	$(MV) configure configure.orig; \
    46 	$(MV) configure configure_orig; \
    45 	$(GSED) -e "s\#-i -a -n php5\#-i -n php5\#" \
    47 	$(GSED) -e "s\#-i -a -n php5\#-i -n php5\#" \
    46 		< configure.orig > configure; \
    48 		< configure_orig > configure; \
    47 	$(CHMOD) 755 configure; \
    49 	$(CHMOD) 755 configure; \
    48 	$(CLONEY) $(SOURCE_DIR) $(@D) )
    50 	$(CLONEY) $(SOURCE_DIR) $(@D) )