opnsense-ports/devel/ice/files/patch-php-lib-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
434 B
Text

--- php/lib/Makefile.orig 2013-06-02 12:11:06.451195440 +0000
+++ php/lib/Makefile 2013-06-02 12:16:29.249191742 +0000
@@ -167,7 +167,8 @@
@echo "Installing generated code"
@for i in $(MODULES) ; \
do \
- $(INSTALL_DATA) -r $$i $(DESTDIR)$(install_phpdir) ; \
+ mkdir -p $(DESTDIR)$(install_phpdir)/$$i ; \
+ $(INSTALL_DATA) $$i/*.php $(DESTDIR)$(install_phpdir)/$$i ; \
done
@for i in $(MODULE_SRCS) ; \
do \