[csw-devel] SF.net SVN: gar:[4780] csw/mgar/pkg/php5/trunk/Makefile

valholla at users.sourceforge.net valholla at users.sourceforge.net
Sat May 9 04:16:13 CEST 2009


Revision: 4780
          http://gar.svn.sourceforge.net/gar/?rev=4780&view=rev
Author:   valholla
Date:     2009-05-09 02:16:13 +0000 (Sat, 09 May 2009)

Log Message:
-----------
fix fast-cgi

Modified Paths:
--------------
    csw/mgar/pkg/php5/trunk/Makefile

Modified: csw/mgar/pkg/php5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile	2009-05-09 00:30:13 UTC (rev 4779)
+++ csw/mgar/pkg/php5/trunk/Makefile	2009-05-09 02:16:13 UTC (rev 4780)
@@ -73,6 +73,7 @@
 CONFIGURE_ARGS += --with-exec-dir=$(prefix)/php5/bin
 CONFIGURE_ARGS += --enable-cli
 CONFIGURE_ARGS += --enable-fastcgi
+CONFIGURE_ARGS += --enable-force-cgi-redirect
 CONFIGURE_ARGS += --enable-pcntl=shared
 CONFIGURE_ARGS += --enable-pdo=shared
 CONFIGURE_ARGS += --with-mm=$(prefix)
@@ -92,7 +93,6 @@
 # Copy over template config files and utility scripts
 
 PI_SCRIPTS  = install-extras
-PI_SCRIPTS += install-sapi-cgi
 PI_SCRIPTS += install-ap2modphp5
 PI_SCRIPTS += install-modphp5
 
@@ -139,17 +139,6 @@
 		-mindepth 1 -type d | egrep -v "etc|libexec" | xargs grm -fr )
 	@$(MAKECOOKIE)
 
-install-sapi-cgi:
-	@( echo "  ==> Now Building php-cgi <==" )
-	@( if [ -f $(WORKSRC)/Makefile ]; then \
-		$(BUILD_ENV) gmake -C $(WORKSRC) distclean; fi )
-	@( cd $(WORKSRC) && $(BUILD_ENV) \
-		./configure $(CONFIGURE_ARGS) --enable-force-cgi-redirect)
-	@( $(GARBIN)/fixlibtool $(WORKSRC) )
-	@( $(BUILD_ENV) $(INSTALL_ENV) gmake -C $(WORKSRC) install-sapi )
-	@( strip $(DESTDIR)$(prefix)/php5/bin/php-cgi )
-	@$(MAKECOOKIE)
-
 EXTFILES = $(shell find extensions/*/files/* -prune -type f)
 pre-fetch:
 	$(foreach F,$(EXTFILES),$(shell cp $(F) $(DOWNLOADDIR)))


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list