components/php-5_3/php-sapi/php.mk
branchs11-update
changeset 4499 4e8085696007
parent 3797 b4272e89e9f2
equal deleted inserted replaced
4497:7665830787a5 4499:4e8085696007
    36 	      $(COMPONENT_SRC)/Zend/zend_ini_parser.output \
    36 	      $(COMPONENT_SRC)/Zend/zend_ini_parser.output \
    37 	      $(COMPONENT_SRC)/Zend/zend_language_parser.c \
    37 	      $(COMPONENT_SRC)/Zend/zend_language_parser.c \
    38 	      $(COMPONENT_SRC)/Zend/zend_language_parser.h \
    38 	      $(COMPONENT_SRC)/Zend/zend_language_parser.h \
    39 	      $(COMPONENT_SRC)/Zend/zend_language_parser.output )
    39 	      $(COMPONENT_SRC)/Zend/zend_language_parser.output )
    40 
    40 
    41 PATCHES = $(shell cd $(PATCH_DIR); echo [0-9]* $$(MACH)* )
       
    42 
       
    43 COMPONENT_PRE_CONFIGURE_ACTION = ( \
    41 COMPONENT_PRE_CONFIGURE_ACTION = ( \
    44 	set -e; \
    42 	set -e; \
    45 	cd $(COMPONENT_SRC); $(ENV) -i PATH=/usr/gnu/bin:$(PATH) \
    43 	cd $(COMPONENT_SRC); $(ENV) -i PATH=/usr/gnu/bin:$(PATH) \
    46 		MAKE="$(GMAKE)" \
    44 		MAKE="$(GMAKE)" \
    47 		$(CONFIG_SHELL) ./buildconf --force ; \
    45 		$(CONFIG_SHELL) ./buildconf --force ; \
    48 	$(MV) configure configure_orig; \
    46 	$(MV) configure configure_orig; \
    49 	$(GSED) -e "s\#-i -a -n php5\#-i -n php5\#" \
    47 	$(GSED) -e "s\#-i -a -n php5\#-i -n php5\#" \
    50 		< configure_orig > configure; \
    48 		< configure_orig > configure; \
    51 	$(CHMOD) 755 configure; \
    49 	$(CHMOD) 755 configure; \
    52 	$(CLONEY) $(SOURCE_DIR) $(@D) )
    50 	$(CLONEY) $(SOURCE_DIR) $(@D) )
       
    51 
       
    52 # Disable SSLv2 and SSLv3 for security reasons
       
    53 CFLAGS += -DOPENSSL_NO_SSL2
       
    54 CFLAGS += -DOPENSSL_NO_SSL3