Ravenports generated: 05 May 2020 15:14
[ravenports.git] / bucket_67 / php72-xml
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               php72-xml
4 VERSION=                7.2.30
5 KEYWORDS=               lang www php textproc
6 VARIANTS=               standard
7 SDESC[standard]=        PHP 7.2 extension: xml (libxml interface)
8 HOMEPAGE=               https://php.net/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            PHP/distributions
13 DISTFILE[1]=            php-7.2.30.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.30/ext/{{PHP_MODNAME}}
24 EXTRACT_HEAD[1]=        {{TAR}} -xf
25 EXTRACT_TAIL[1]=        php-7.2.30/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:53:descriptions/desc.single]
37 This package contains the xml extension for PHP 7.2.
38
39
40 [FILE:96:distinfo]
41 aa93df27b58a45d6c9800ac813245dfdca03490a918ebe515b3a70189b1bf8c3     12283804 php-7.2.30.tar.xz
42
43
44 [FILE:356:patches/patch-compat.c]
45 --- compat.c.orig       Tue Jul 20 10:55:02 2004
46 +++ compat.c    Tue Jul 20 10:55:55 2004
47 @@ -16,6 +16,10 @@
48     +----------------------------------------------------------------------+
49   */
50  
51 +#ifdef HAVE_CONFIG_H
52 +#include "config.h"
53 +#endif
54 +
55  #include "php.h"
56  #if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT)
57  #include "expat_compat.h"
58