Ravenports generated: 26 Dec 2017 14:51
[ravenports.git] / bucket_67 / php72-xml
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               php72-xml
4 VERSION=                7.2.0
5 KEYWORDS=               lang www php textproc
6 VARIANTS=               standard
7 SDESC[standard]=        PHP 7.2 extension: xml (libxml interface)
8 HOMEPAGE=               http://php.net/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            PHP/distributions
13 DISTFILE[1]=            php-7.2.0.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,72
21 GNOME_COMPONENTS=       libxml2
22
23 DISTNAME=               php-7.2.0/ext/{{PHP_MODNAME}}
24 EXTRACT_HEAD[1]=        {{TAR}} -xf
25 EXTRACT_TAIL[1]=        php-7.2.0/ext/{{PHP_MODNAME}}
26
27 FPC_EQUIVALENT=         textproc/php72-xml
28
29 CONFIGURE_ARGS=         --enable-xml
30                         --with-libxml-dir={{LOCALBASE}}
31
32 post-extract:
33         @${MKDIR} ${WRKSRC}/ext/xml
34         ${CP} ${WRKSRC}/expat_compat.h ${WRKSRC}/ext/xml
35
36 [FILE:95:distinfo]
37 87572a6b924670a5d4aac276aaa4a94321936283df391d702c845ffc112db095     12014940 php-7.2.0.tar.xz
38
39
40 [FILE:356:patches/patch-compat.c]
41 --- compat.c.orig       Tue Jul 20 10:55:02 2004
42 +++ compat.c    Tue Jul 20 10:55:55 2004
43 @@ -16,6 +16,10 @@
44     +----------------------------------------------------------------------+
45   */
46  
47 +#ifdef HAVE_CONFIG_H
48 +#include "config.h"
49 +#endif
50 +
51  #include "php.h"
52  #if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT)
53  #include "expat_compat.h"
54