1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00
freebsd-ports/lang/php5/files/patch-pear::Makefile.frag
Alex Dupre 0fbe9133fd - Add support for PTHREAD_{LIBS/CFLAGS} [1]
- Add support for FastCGI [2]
- Fix PEAR installation in a particular scenario [3]

PR:		ports/61790 [2]
Submitted by:	clement [1],
		Xavier Beaudouin <kiwi@oav.net> [2],
		Balazs Nagy <js@iksz.hu> [3]
Approved by:	nork (mentor/implicitly)
2004-01-26 12:58:14 +00:00

23 lines
901 B
JavaScript

--- pear/Makefile.frag.orig Sat Apr 12 01:48:37 2003
+++ pear/Makefile.frag Sat May 17 10:08:54 2003
@@ -13,10 +13,13 @@
install-pear:
@echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/"
- @if $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
- $(MAKE) -s install-pear-installer install-pear-packages; \
- else \
- cat $(srcdir)/install-pear.txt; \
- exit 5; \
- fi
+ @$(mkinstalldirs) $(INSTALL_ROOT)$(peardir)/bootstrap \
+ $(INSTALL_ROOT)$(peardir)/bootstrap/Archive \
+ $(INSTALL_ROOT)$(peardir)/bootstrap/Console
+ @cp $(srcdir)/PEAR.php $(srcdir)/System.php \
+ $(INSTALL_ROOT)$(peardir)/bootstrap
+ @cp $(srcdir)/Archive/*.php $(INSTALL_ROOT)$(peardir)/bootstrap/Archive
+ @cp $(srcdir)/Console/*.php $(INSTALL_ROOT)$(peardir)/bootstrap/Console
+ @cp -R $(srcdir)/OS $(INSTALL_ROOT)$(peardir)/bootstrap
+ @cp -R $(srcdir)/PEAR $(INSTALL_ROOT)$(peardir)/bootstrap