[csw-devel] SF.net SVN: gar:[4889] csw/mgar/pkg/php5/trunk/Makefile
valholla at users.sourceforge.net
valholla at users.sourceforge.net
Sat May 16 04:11:27 CEST 2009
Revision: 4889
http://gar.svn.sourceforge.net/gar/?rev=4889&view=rev
Author: valholla
Date: 2009-05-16 02:11:27 +0000 (Sat, 16 May 2009)
Log Message:
-----------
typo in fixadmin
Modified Paths:
--------------
csw/mgar/pkg/php5/trunk/Makefile
Modified: csw/mgar/pkg/php5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile 2009-05-16 01:34:55 UTC (rev 4888)
+++ csw/mgar/pkg/php5/trunk/Makefile 2009-05-16 02:11:27 UTC (rev 4889)
@@ -94,7 +94,7 @@
install-extras:
@echo "[====> Fixing Admin Scripts <====]"
- PHP_INI_FILE=`$(PKGROOT)$(bindir)/php -i |
+ PHP_INI_FILE=`$(DESTDIR)$(bindir)/php -i | \
grep "Configuration File .* Path" | awk '{print $$NF}'`; \
perl -i -pne "s|_PHPINIFILE_|$${PHP_INI_FILE}/php.ini|" \
`gfind $(DOWNLOADDIR) -type f -print`
@@ -102,6 +102,7 @@
`gfind $(DOWNLOADDIR) -type f -print`
perl -i -pne "s|_PHPBINDIR_|$(bindir)|" \
`gfind $(DOWNLOADDIR) -type f -print`
+ @echo "[====> Installing Extra Files <====]"
ginstall -m 0755 $(DOWNLOADDIR)/phpext $(DESTDIR)$(bindir)
gsed -i -e s,PHPEXTDIR,`$(DESTDIR)$(bindir)/php-config --extension-dir`,\
$(DOWNLOADDIR)/php.ini.CSW
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