summaryrefslogtreecommitdiff
blob: 01a64c83f797ee4c787ae96595b09f7fe6f98446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Source: Gentoo

diff -urN cups-1.4.4/scripting/php/Makefile cups-1.4.4.new//scripting/php/Makefile
--- cups-1.4.4/scripting/php/Makefile	2008-08-27 23:12:43.000000000 +0200
+++ cups-1.4.4.new//scripting/php/Makefile	2010-08-13 10:32:35.764063909 +0200
@@ -95,11 +95,11 @@
 
 install-exec:
 	echo Installing $(PHPCUPS) in $(PHPDIR)
-	$(INSTALL_DIR) $(PHPDIR)
-	$(INSTALL_LIB) $(PHPCUPS) $(PHPDIR)
+	$(INSTALL_DIR) $(DESTDIR)/$(PHPDIR)
+	$(INSTALL_LIB) $(PHPCUPS) $(DESTDIR)/$(PHPDIR)
 	if test "x$(SYMROOT)" != x; then \
-		$(INSTALL_DIR) $(SYMROOT); \
-		cp $(PHPCUPS) $(SYMROOT); \
+		$(INSTALL_DIR) $(DESTDIR)/$(SYMROOT); \
+		cp $(PHPCUPS) $(DESTDIR)/$(SYMROOT); \
 	fi