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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Fri Jun 24 19:33:03 CEST 2011


Revision: 14881
          http://gar.svn.sourceforge.net/gar/?rev=14881&view=rev
Author:   bdwalton
Date:     2011-06-24 17:33:03 +0000 (Fri, 24 Jun 2011)

Log Message:
-----------
php5/trunk: include symlinks for binaries in top-level bin dir

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

Modified: csw/mgar/pkg/php5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile	2011-06-24 16:32:16 UTC (rev 14880)
+++ csw/mgar/pkg/php5/trunk/Makefile	2011-06-24 17:33:03 UTC (rev 14881)
@@ -345,6 +345,11 @@
 	@perl -pi -e 's/^;extension=php_(.*).dll/;extension=$$1.so/' $(INIDEST)
 	@rm -rf $(DESTDIR)/.cha* $(DESTDIR)/.dep* $(DESTDIR)/.reg* $(DESTDIR)/.l* $(DESTDIR)/.f*
 	@perl -pi -e 's!s:17:"http://proxy:3128!s:0:"!' $(DESTDIR)$(sysconfdir)/pear.conf*
+	@mkdir -p $(DESTDIR)/opt/csw/bin
+	@( cd $(DESTDIR)/opt/csw/bin; \
+	   for f in pear peardev pecl phar php php-config; do \
+		ln -s ../php5/bin/$$f $$f; \
+	   done )
 	@$(MAKECOOKIE)
 
 post-merge:


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