packages: xut/xut-makefile.patch (NEW) - add DESTDIR before install paths

lisu lisu at pld-linux.org
Thu Nov 5 13:12:16 CET 2009


Author: lisu                         Date: Thu Nov  5 12:12:16 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add DESTDIR before install paths

---- Files affected:
packages/xut:
   xut-makefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/xut/xut-makefile.patch
diff -u /dev/null packages/xut/xut-makefile.patch:1.1
--- /dev/null	Thu Nov  5 13:12:16 2009
+++ packages/xut/xut-makefile.patch	Thu Nov  5 13:12:10 2009
@@ -0,0 +1,15 @@
+--- xut/Makefile.in~	2009-10-10 17:48:37.000000000 +0200
++++ xut/Makefile.in	2009-11-05 15:06:04.000000000 +0100
+@@ -64,10 +64,10 @@
+ install: $(BIN)xut
+ 	@printf "Installing XUT bin files... "
+ 	@mkdir -p $(bindir)/
+-	@$(INSTALL) -c -m 755 $(BIN)xut $(bindir)/
++	@$(INSTALL) -c -m 755 $(BIN)xut $(DESTDIR)$(bindir)/
+ 	@printf "\e[0;32mDone.\e[0;0m\n"
+ 	@printf "Installing XUT data files... "
+-	@sh install.sh $(datadir) $(PACKAGE) $(INSTALL)
++	@sh install.sh $(DESTDIR)$(datadir) $(PACKAGE) $(INSTALL)
+ 	@printf "\e[0;32mDone.\e[0;0m\n"
+ 	@printf "Installing XUT Language files... "
+ 	@cd ./po && ${MAKE} install > /dev/null ;
================================================================


More information about the pld-cvs-commit mailing list