aboutsummaryrefslogtreecommitdiff
path: root/devel/ice37/files/patch-php-Makefile
blob: fd5028b54af0b71844335ee34d670c0f58004482 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- php/Makefile.orig	2021-06-21 14:44:58 UTC
+++ php/Makefile
@@ -10,8 +10,8 @@ include $(top_srcdir)/config/Make.rules
 #
 # Load C++ dependencies
 #
-$(eval $(call load-translator-dependencies,$(top_srcdir)/cpp/src/slice2php))
-$(eval $(call load-dependencies,$(addprefix $(top_srcdir)/cpp/src/,Ice IceSSL IceDiscovery IceLocatorDiscovery)))
+#$(eval $(call load-translator-dependencies,$(top_srcdir)/cpp/src/slice2php))
+#$(eval $(call load-dependencies,$(addprefix $(top_srcdir)/cpp/src/,Ice IceSSL IceDiscovery IceLocatorDiscovery)))
 
 #
 # Load php rules after loading C++ dependencies
@@ -39,11 +39,11 @@ $(call make-projects,$(projects))
 
 install:: | $(DESTDIR)$(install_phpdir)
 	$(E) "Installing generated code"
-	$(Q)$(INSTALL) -m 644 lib/Glacier2.php  lib/IceBox.php  lib/IceGrid.php lib/IcePatch2.php lib/IceStorm.php $(DESTDIR)$(install_phpdir)
+	$(Q)%%INSTALL_DATA%% lib/Glacier2.php  lib/IceBox.php  lib/IceGrid.php lib/IcePatch2.php lib/IceStorm.php $(DESTDIR)$(install_phpdir)
 ifeq ($(USE_NAMESPACES),no)
-	$(Q)$(INSTALL) -m 644 lib/Ice_no_ns.php $(DESTDIR)$(install_phpdir)/Ice.php
+	$(Q)%%INSTALL_DATA%% lib/Ice_no_ns.php $(DESTDIR)$(install_phpdir)/Ice.php
 else
-	$(Q)$(INSTALL) -m 644 lib/Ice_ns.php $(DESTDIR)$(install_phpdir)/Ice.php
+	$(Q)%%INSTALL_DATA%% lib/Ice_ns.php $(DESTDIR)$(install_phpdir)/Ice.php
 endif
 
 $(eval $(call make-php-package,$(slicedir),lib,Ice))