Ravenports generated: 25 Oct 2017 09:44
[ravenports.git] / bucket_45 / php71-soap
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               php71-soap
4 VERSION=                7.1.11
5 KEYWORDS=               lang www php net
6 VARIANTS=               standard
7 SDESC[standard]=        PHP 7.1 extension: soap web services
8 HOMEPAGE=               http://php.net/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            PHP/distributions
13 DISTFILE[1]=            php-7.1.11.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 USES=                   php:ext,71
21 GNOME_COMPONENTS=       libxml2
22
23 DISTNAME=               php-7.1.11/ext/{{PHP_MODNAME}}
24 EXTRACT_HEAD[1]=        {{TAR}} -xf
25 EXTRACT_TAIL[1]=        php-7.1.11/ext/{{PHP_MODNAME}}
26
27 FPC_EQUIVALENT=         net/php71-soap
28
29 CONFIGURE_ARGS=         --enable-soap
30                         --with-libxml-dir={{LOCALBASE}}
31
32 [FILE:96:distinfo]
33 074093e9d7d21afedc5106904218a80a47b854abe368d2728ed22184c884893e     12169884 php-7.1.11.tar.xz
34
35
36 [FILE:1270:patches/patch-config.m4]
37 --- config.m4.orig      2014-05-14 10:14:22.929420181 +0000
38 +++ config.m4   2014-05-14 10:15:36.967414693 +0000
39 @@ -4,6 +4,9 @@
40  PHP_ARG_ENABLE(simplexml, whether to enable SimpleXML support,
41  [  --disable-simplexml     Disable SimpleXML support], yes)
42  
43 +PHP_ARG_WITH(pcre-dir, pcre install prefix,
44 +[  --with-pcre-dir           SimpleXML: pcre install prefix], no, no)
45 +
46  if test -z "$PHP_LIBXML_DIR"; then
47    PHP_ARG_WITH(libxml-dir, libxml2 install dir,
48    [  --with-libxml-dir=DIR     SimpleXML: libxml2 install prefix], no, no)
49 @@ -11,6 +14,30 @@
50  
51  if test "$PHP_SIMPLEXML" != "no"; then
52  
53 +  dnl This is PECL build, check if bundled PCRE library is used
54 +  old_CPPFLAGS=$CPPFLAGS
55 +  CPPFLAGS=$INCLUDES
56 +  AC_EGREP_CPP(yes,[
57 +#include <main/php_config.h>
58 +#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
59 +yes
60 +#endif
61 +  ],[
62 +    PHP_PCRE_REGEX=yes
63 +  ],[
64 +    AC_EGREP_CPP(yes,[
65 +#include <main/php_config.h>
66 +#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
67 +yes
68 +#endif
69 +    ],[
70 +      PHP_PCRE_REGEX=pecl
71 +      PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
72 +    ],[
73 +      PHP_PCRE_REGEX=no
74 +    ])
75 +  ])
76 +
77    if test "$PHP_LIBXML" = "no"; then   
78      AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --enable-libxml])                
79    fi
80