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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat Apr 16 17:33:17 CEST 2011


Revision: 14232
          http://gar.svn.sourceforge.net/gar/?rev=14232&view=rev
Author:   bdwalton
Date:     2011-04-16 15:33:17 +0000 (Sat, 16 Apr 2011)

Log Message:
-----------
php5/trunk: ensure we install phpext for toggling extensions in php.ini; hardcode ini path in phpext

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

Modified: csw/mgar/pkg/php5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile	2011-04-16 03:19:36 UTC (rev 14231)
+++ csw/mgar/pkg/php5/trunk/Makefile	2011-04-16 15:33:17 UTC (rev 14232)
@@ -746,6 +746,7 @@
 post-install-modulated:
 	@rm -f $(DESTDIR)$(AP2SYSCONF)
 	@cp $(WORKSRC)/php.ini-production $(INIDEST)
+	@ginstall -m 0755 $(DOWNLOADDIR)/phpext $(DESTDIR)$(prefix)/php5/bin/
 	@perl -pi -e 's/^;extension=php_(.*).dll/;extension=$$1.so/' $(INIDEST)
 	@$(MAKECOOKIE)
 

Modified: csw/mgar/pkg/php5/trunk/files/phpext
===================================================================
--- csw/mgar/pkg/php5/trunk/files/phpext	2011-04-16 03:19:36 UTC (rev 14231)
+++ csw/mgar/pkg/php5/trunk/files/phpext	2011-04-16 15:33:17 UTC (rev 14232)
@@ -6,7 +6,7 @@
 program=${0##*/}
 
 # Default path to php.ini
-php_ini=_PHPINIFILE_
+php_ini=/opt/csw/php5/lib/php.ini
 
 # Usage printer
 function do_usage {


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