1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= php71-simplexml
5 KEYWORDS= lang www php textproc
7 SDESC[standard]= PHP 7.1 extension: simplexml XML->object converter
8 HOMEPAGE= http://php.net/
12 SITES[main]= PHP/distributions
13 DISTFILE[1]= php-7.1.10.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,71 pkgconfig
23 GNOME_COMPONENTS= libxml2
25 DISTNAME= php-7.1.10/ext/{{PHP_MODNAME}}
26 EXTRACT_HEAD[1]= {{TAR}} -xf
27 EXTRACT_TAIL[1]= php-7.1.10/ext/{{PHP_MODNAME}}
29 FPC_EQUIVALENT= textproc/php71-simplexml
31 CONFIGURE_ARGS= --enable-simplexml
32 --with-pcre-dir={{LOCALBASE}}
33 --with-libxml-dir={{LOCALBASE}}
36 2b8efa771a2ead0bb3ae67b530ca505b5b286adc873cca9ce97a6e1d6815c50b 12166036 php-7.1.10.tar.xz
39 [FILE:1270:patches/patch-config.m4]
40 --- config.m4.orig 2014-05-14 10:14:22.929420181 +0000
41 +++ config.m4 2014-05-14 10:15:36.967414693 +0000
43 PHP_ARG_ENABLE(simplexml, whether to enable SimpleXML support,
44 [ --disable-simplexml Disable SimpleXML support], yes)
46 +PHP_ARG_WITH(pcre-dir, pcre install prefix,
47 +[ --with-pcre-dir SimpleXML: pcre install prefix], no, no)
49 if test -z "$PHP_LIBXML_DIR"; then
50 PHP_ARG_WITH(libxml-dir, libxml2 install dir,
51 [ --with-libxml-dir=DIR SimpleXML: libxml2 install prefix], no, no)
54 if test "$PHP_SIMPLEXML" != "no"; then
56 + dnl This is PECL build, check if bundled PCRE library is used
57 + old_CPPFLAGS=$CPPFLAGS
60 +#include <main/php_config.h>
61 +#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
68 +#include <main/php_config.h>
69 +#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
74 + PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
80 if test "$PHP_LIBXML" = "no"; then
81 AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --enable-libxml])