[packages/php/PHP_5_6] hack readline for phpdbg

glen glen at pld-linux.org
Fri May 23 11:31:33 CEST 2014


commit f15701765ab54defd583b141f8798e6a7532b22d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri May 23 12:31:14 2014 +0300

    hack readline for phpdbg

 php.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 7a4ded8..0510a03 100644
--- a/php.spec
+++ b/php.spec
@@ -2362,7 +2362,9 @@ cp -af Makefile.cli Makefile
 %endif
 
 %if %{with phpdbg}
-%{__make} -f Makefile.phpdbg phpdbg
+# PHP_READLINE_LIBS is empty, so force readline here
+%{__make} -f Makefile.phpdbg phpdbg \
+	PHPDBG_EXTRA_LIBS=-lreadline
 %endif
 
 # CGI/FCGI
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/251ab7d101635397784fe19b9f92902f2cad0b55



More information about the pld-cvs-commit mailing list