1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= php82-enchant
5 KEYWORDS= lang www php textproc
7 SDESC[standard]= PHP 8.2 extension: enchant spell checking
8 HOMEPAGE= https://php.net/
12 SITES[main]= PHP/distributions
13 DISTFILE[1]= php-8.2.13.tar.xz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= glib:dev:standard
22 BUILDRUN_DEPENDS= enchant:primary:standard
24 USES= php:ext,82 pkgconfig cpe
26 DISTNAME= php-8.2.13/ext/{{PHP_MODNAME}}
27 EXTRACT_HEAD[1]= env LANG=en_US.UTF-8 {{TAR}} -xf
28 EXTRACT_TAIL[1]= php-8.2.13/ext/{{PHP_MODNAME}}
32 FPC_EQUIVALENT= textproc/php82-enchant
34 CONFIGURE_ARGS= --with-enchant={{LOCALBASE}}
37 ${REINPLACE_CMD} -e 's|/include/enchant|/include/enchant-2|' \
38 -e '/PKG_CHECK_MODULES/ s|enchant|enchant-2|' \
41 [FILE:57:descriptions/desc.single]
42 This package contains the enchant extension for PHP 8.2.
46 2629bba10117bf78912068a230c68a8fd09b7740267bd8ebd3cfce91515d454b 12069092 php-8.2.13.tar.xz
49 [FILE:287:patches/patch-enchant.c]
50 --- enchant.c.orig 2023-01-31 13:31:55 UTC
54 #include "ext/standard/info.h"
55 #include "Zend/zend_exceptions.h"
56 -#include "../spl/spl_exceptions.h"
57 +#include "ext/spl/spl_exceptions.h"
59 #include "php_enchant.h"