# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= php83-readline VERSION= 8.3.7 KEYWORDS= lang www php devel VARIANTS= standard SDESC[standard]= PHP 8.3 extension: readline library interface HOMEPAGE= https://php.net/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= PHP/distributions DISTFILE[1]= php-8.3.7.tar.xz:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none USES= php:ext,83 readline cpe DISTNAME= php-8.3.7/ext/{{PHP_MODNAME}} EXTRACT_HEAD[1]= {{TAR}} -xf EXTRACT_TAIL[1]= php-8.3.7/ext/{{PHP_MODNAME}} CPE_PRODUCT= php CPE_VENDOR= php FPC_EQUIVALENT= devel/php83-readline CONFIGURE_ARGS= --with-readline={{LOCALBASE}} [FILE:58:descriptions/desc.single] This package contains the readline extension for PHP 8.3. [FILE:95:distinfo] d53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a 12456020 php-8.3.7.tar.xz [FILE:1113:patches/patch-config.m4] --- config.m4.orig 2023-11-21 14:40:35 UTC +++ config.m4 @@ -3,16 +3,10 @@ PHP_ARG_WITH([libedit], [AS_HELP_STRING([--with-libedit], [Include libedit readline replacement (CLI/CGI only)])]) -if test "$PHP_LIBEDIT" = "no"; then PHP_ARG_WITH([readline], [for readline support], [AS_HELP_STRING([[--with-readline[=DIR]]], [Include readline support (CLI/CGI only)])]) -else - dnl "register" the --with-readline option to prevent invalid "unknown - dnl 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 @@ -78,6 +72,13 @@ if test "$PHP_READLINE" && test "$PHP_RE AC_DEFINE(HAVE_HISTORY_LIST, 1, [ ]) AC_DEFINE(HAVE_LIBREADLINE, 1, [ ]) + PHP_CHECK_LIBRARY(readline, rl_completion_matches, + [ + AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, [ ]) + ],[],[ + -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS + ]) + elif test "$PHP_LIBEDIT" != "no"; then if test "$PHP_LIBEDIT" != "yes"; then AC_MSG_WARN([libedit directory ignored, rely on pkg-config]) [FILE:226:patches/patch-readline_cli.c] --- readline_cli.c.orig 2023-11-21 14:40:35 UTC +++ readline_cli.c @@ -19,6 +19,10 @@ #include "config.h" #endif +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "php.h" #ifndef HAVE_RL_COMPLETION_MATCHES