# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= php73-readline VERSION= 7.3.4 KEYWORDS= lang www php devel VARIANTS= standard SDESC[standard]= PHP 7.3 extension: readline library interface HOMEPAGE= http://php.net/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= PHP/distributions DISTFILE[1]= php-7.3.4.tar.xz:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none USES= php:ext,73 readline DISTNAME= php-7.3.4/ext/{{PHP_MODNAME}} EXTRACT_HEAD[1]= {{TAR}} -xf EXTRACT_TAIL[1]= php-7.3.4/ext/{{PHP_MODNAME}} FPC_EQUIVALENT= devel/php73-readline CONFIGURE_ARGS= --with-readline={{LOCALBASE}} [FILE:58:descriptions/desc.single] This package contains the readline extension for PHP 7.3. [FILE:95:distinfo] 6fe79fa1f8655f98ef6708cde8751299796d6c1e225081011f4104625b923b83 11977004 php-7.3.4.tar.xz [FILE:1023:patches/patch-config.m4] --- config.m4.orig 2019-02-05 13:10:04 UTC +++ config.m4 @@ -3,13 +3,8 @@ dnl config.m4 for extension readline PHP_ARG_WITH(libedit,for libedit readline replacement, [ --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)]) -if test "$PHP_LIBEDIT" = "no"; then PHP_ARG_WITH(readline,for readline support, [ --with-readline[=DIR] Include readline support (CLI/CGI only)]) -else - dnl "register" the --with-readline option to preven invalid "unknown configure option" warning - php_with_readline=no -fi if test "$PHP_READLINE" && test "$PHP_READLINE" != "no"; then for i in $PHP_READLINE /usr/local /usr; do @@ -64,6 +59,13 @@ if test "$PHP_READLINE" && test "$PHP_RE ],[],[ -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS ]) + + PHP_CHECK_LIBRARY(readline, rl_completion_matches, + [ + AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, [ ]) + ],[],[ + -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS + ]) PHP_CHECK_LIBRARY(readline, rl_completion_matches, [ [FILE:226:patches/patch-readline_cli.c] --- readline_cli.c.orig 2019-02-05 13:10:04 UTC +++ readline_cli.c @@ -21,6 +21,10 @@ #include "config.h" #endif +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "php.h" #ifndef HAVE_RL_COMPLETION_MATCHES