components/php-5_2/php-sapi/php.mk
branchs11-update
changeset 3477 3d935de46ca9
parent 461 edabdd6aff23
child 3797 b4272e89e9f2
child 4534 058d7630f55f
equal deleted inserted replaced
3476:c35c8f1a6df1 3477:3d935de46ca9
    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, 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 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 COMPONENT_POST_UNPACK_ACTION += ( \
    28 COMPONENT_POST_UNPACK_ACTION += ( \
       
    29 	set -e; \
    28 	echo $(PATH); \
    30 	echo $(PATH); \
    29 	cp /usr/include/zlib.h $(COMPONENT_SRC)/ext/zlib/my_zlib.h )
    31 	cp /usr/include/zlib.h $(COMPONENT_SRC)/ext/zlib/my_zlib.h )
    30 
    32 
    31 COMPONENT_PRE_CONFIGURE_ACTION = ( \
    33 COMPONENT_PRE_CONFIGURE_ACTION = ( \
       
    34 	set -e; \
    32 	cd $(COMPONENT_SRC); $(ENV) -i PATH=/usr/gnu/bin:$(PATH) \
    35 	cd $(COMPONENT_SRC); $(ENV) -i PATH=/usr/gnu/bin:$(PATH) \
    33 		MAKE="$(GMAKE)" \
    36 		MAKE="$(GMAKE)" \
    34 		$(CONFIG_SHELL) ./buildconf --force ; \
    37 		$(CONFIG_SHELL) ./buildconf --force ; \
    35 	$(MV) configure configure.orig; \
    38 	$(MV) configure configure.orig; \
    36 	$(GSED) -e "s\#-i -a -n php5\#-i -n php5\#" \
    39 	$(GSED) -e "s\#-i -a -n php5\#-i -n php5\#" \