SOURCES: flixengine-libdir.patch - add $DESTDIR to php install

glen glen at pld-linux.org
Thu Dec 28 18:53:05 CET 2006


Author: glen                         Date: Thu Dec 28 17:53:05 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add $DESTDIR to php install

---- Files affected:
SOURCES:
   flixengine-libdir.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/flixengine-libdir.patch
diff -u SOURCES/flixengine-libdir.patch:1.1 SOURCES/flixengine-libdir.patch:1.2
--- SOURCES/flixengine-libdir.patch:1.1	Thu Dec 28 18:38:54 2006
+++ SOURCES/flixengine-libdir.patch	Thu Dec 28 18:53:00 2006
@@ -1,6 +1,6 @@
---- flix-engine-installer-linux-8.0.7.1_DEMO/.flix-engine-installation-files/flixphp/target.mk~	2006-11-21 23:21:02.000000000 +0200
-+++ flix-engine-installer-linux-8.0.7.1_DEMO/.flix-engine-installation-files/flixphp/target.mk	2006-12-28 19:21:30.369596285 +0200
-@@ -25,7 +25,7 @@
+--- flix-engine-installer-linux-8.0.7.1_DEMO/.flix-engine-installation-files/flixphp/target.mk	2006-12-28 19:46:51.078812726 +0200
++++ flix-engine-installer-linux-8.0.7.1_DEMO/.flix-engine-installation-files/flixphp/target.mk	2006-12-28 19:47:59.117480649 +0200
+@@ -25,12 +25,12 @@
  PHPINST := $(shell php-config --extension-dir)
  $(PHPWRAP_SO): $(PHPWRAP_C)
  	$(CC) $(CFLAGS) $(PHPINCS) -shared $(PHPWRAP_C) \
@@ -8,4 +8,12 @@
 +             -L$(LIBDIR) -lflixengine2 -o $(PHPWRAP_SO) 
  
  install:
- 	mkdir -p $(PHPINST)
+-	mkdir -p $(PHPINST)
+-	install -p $(PHPWRAP_SO) $(PHPINST)
+-	install -p $(PHPWRAP_PHP) $(PHPINST)/..
++	mkdir -p $(DESTDIR)$(PHPINST)
++	install -p $(PHPWRAP_SO) $(DESTDIR)$(PHPINST)
++	install -p $(PHPWRAP_PHP) $(DESTDIR)/usr/lib
+     
+ clean:
+ 	$(RM) -f $(PHPWRAP_SO)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/flixengine-libdir.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list