1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= php73-simplexml
5 KEYWORDS= lang www php textproc
7 SDESC[standard]= PHP 7.3 extension: simplexml XML->object converter
8 HOMEPAGE= https://php.net/
12 SITES[main]= PHP/distributions
13 DISTFILE[1]= php-7.3.4.tar.xz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= pcre:static:standard
22 USES= php:ext,73 pkgconfig
23 GNOME_COMPONENTS= libxml2
25 DISTNAME= php-7.3.4/ext/{{PHP_MODNAME}}
26 EXTRACT_HEAD[1]= {{TAR}} -xf
27 EXTRACT_TAIL[1]= php-7.3.4/ext/{{PHP_MODNAME}}
29 FPC_EQUIVALENT= textproc/php73-simplexml
31 CONFIGURE_ARGS= --enable-simplexml
32 --with-pcre-dir={{LOCALBASE}}
33 --with-libxml-dir={{LOCALBASE}}
35 [FILE:59:descriptions/desc.single]
36 This package contains the simplexml extension for PHP 7.3.
40 6fe79fa1f8655f98ef6708cde8751299796d6c1e225081011f4104625b923b83 11977004 php-7.3.4.tar.xz
43 [FILE:1242:patches/patch-config.m4]
44 --- config.m4.orig 2018-11-06 10:48:36 UTC
46 @@ -4,6 +4,9 @@ dnl config.m4 for extension simplexml
47 PHP_ARG_ENABLE(simplexml, whether to enable SimpleXML support,
48 [ --disable-simplexml Disable SimpleXML support], yes)
50 +PHP_ARG_WITH(pcre-dir, pcre install prefix,
51 +[ --with-pcre-dir SimpleXML: pcre install prefix], no, no)
53 if test -z "$PHP_LIBXML_DIR"; then
54 PHP_ARG_WITH(libxml-dir, libxml2 install dir,
55 [ --with-libxml-dir=DIR SimpleXML: libxml2 install prefix], no, no)
58 if test "$PHP_SIMPLEXML" != "no"; then
60 + dnl This is PECL build, check if bundled PCRE library is used
61 + old_CPPFLAGS=$CPPFLAGS
64 +#include <main/php_config.h>
65 +#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
72 +#include <main/php_config.h>
73 +#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
78 + PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
84 if test "$PHP_LIBXML" = "no"; then
85 AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --enable-libxml])