Ravenports generated: 27 Aug 2021 01:57
[ravenports.git] / bucket_2E / php73-odbc
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               php73-odbc
4 VERSION=                7.3.30
5 KEYWORDS=               lang www php databases
6 VARIANTS=               standard
7 SDESC[standard]=        PHP 7.3 extension: odbc database driver
8 HOMEPAGE=               https://php.net/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            PHP/distributions
13 DISTFILE[1]=            php-7.3.30.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILDRUN_DEPENDS=       unixODBC:primary:standard
21
22 USES=                   php:ext,73 cpe
23
24 DISTNAME=               php-7.3.30/ext/{{PHP_MODNAME}}
25 EXTRACT_HEAD[1]=        {{TAR}} -xf
26 EXTRACT_TAIL[1]=        php-7.3.30/ext/{{PHP_MODNAME}}
27
28 CPE_PRODUCT=            php
29 CPE_VENDOR=             php
30 FPC_EQUIVALENT=         databases/php73-odbc
31
32 CONFIGURE_ARGS=         --enable-odbc
33                         --with-unixODBC={{LOCALBASE}}
34
35 [FILE:54:descriptions/desc.single]
36 This package contains the odbc extension for PHP 7.3.
37
38
39 [FILE:96:distinfo]
40 0ebfd656df0f3b1ea37ff2887f8f2d1a71cd160fb0292547c0ee0a99e58ffd1b     12142596 php-7.3.30.tar.xz
41
42
43 [FILE:4140:patches/patch-config.m4]
44 --- config.m4.orig      2018-12-04 16:12:22 UTC
45 +++ config.m4
46 @@ -97,6 +97,9 @@ AC_DEFUN([PHP_ODBC_FIND_EMPRESS_BCS_LIBS
47  dnl
48  dnl configure options
49  dnl
50 +PHP_ARG_ENABLE(odbc,,
51 +[  --enable-odbc             Enable ODBC support with selected driver])
52 +
53  
54  PHP_ARG_WITH(odbcver,,
55  [  --with-odbcver[=HEX]      Force support for the passed ODBC version. A hex number is expected, default 0x0350.
56 @@ -104,7 +107,7 @@ PHP_ARG_WITH(odbcver,,
57  
58  if test -z "$ODBC_TYPE"; then
59  PHP_ARG_WITH(adabas,,
60 -[  --with-adabas[=DIR]       Include Adabas D support [/usr/local]])
61 +[  --with-adabas[=DIR]       Include Adabas D support [/usr/local]], no, no)
62  
63    AC_MSG_CHECKING([for Adabas support])
64    if test "$PHP_ADABAS" != "no"; then
65 @@ -133,7 +136,7 @@ fi
66  
67  if test -z "$ODBC_TYPE"; then
68  PHP_ARG_WITH(sapdb,,
69 -[  --with-sapdb[=DIR]        Include SAP DB support [/usr/local]])
70 +[  --with-sapdb[=DIR]        Include SAP DB support [/usr/local]], no, no)
71  
72    AC_MSG_CHECKING([for SAP DB support])
73    if test "$PHP_SAPDB" != "no"; then
74 @@ -153,7 +156,7 @@ fi
75  
76  if test -z "$ODBC_TYPE"; then
77  PHP_ARG_WITH(solid,,
78 -[  --with-solid[=DIR]        Include Solid support [/usr/local/solid]])
79 +[  --with-solid[=DIR]        Include Solid support [/usr/local/solid]], no, no)
80  
81    AC_MSG_CHECKING(for Solid support)
82    if test "$PHP_SOLID" != "no"; then
83 @@ -180,7 +183,7 @@ fi
84  
85  if test -z "$ODBC_TYPE"; then
86  PHP_ARG_WITH(ibm-db2,,
87 -[  --with-ibm-db2[=DIR]      Include IBM DB2 support [/home/db2inst1/sqllib]])
88 +[  --with-ibm-db2[=DIR]      Include IBM DB2 support [/home/db2inst1/sqllib]], no, no)
89  
90    AC_MSG_CHECKING(for IBM DB2 support)
91    if test "$PHP_IBM_DB2" != "no"; then
92 @@ -220,7 +223,7 @@ fi
93  if test -z "$ODBC_TYPE"; then
94  PHP_ARG_WITH(empress,,
95  [  --with-empress[=DIR]      Include Empress support [\$EMPRESSPATH]
96 -                          (Empress Version >= 8.60 required)])
97 +                          (Empress Version >= 8.60 required)], no, no)
98  
99    AC_MSG_CHECKING(for Empress support)
100    if test "$PHP_EMPRESS" != "no"; then
101 @@ -245,7 +248,7 @@ fi
102  if test -z "$ODBC_TYPE"; then
103  PHP_ARG_WITH(empress-bcs,,
104  [  --with-empress-bcs[=DIR]  Include Empress Local Access support [\$EMPRESSPATH]
105 -                          (Empress Version >= 8.60 required)])
106 +                          (Empress Version >= 8.60 required)], no, no)
107  
108    AC_MSG_CHECKING(for Empress local access support)
109    if test "$PHP_EMPRESS_BCS" != "no"; then
110 @@ -292,7 +295,7 @@ PHP_ARG_WITH(custom-odbc,,
111                            running this configure script:
112                              CPPFLAGS=\"-DODBC_QNX -DSQLANY_BUG\"
113                              LDFLAGS=-lunix
114 -                            CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\"])
115 +                            CUSTOM_ODBC_LIBS=\"-ldblib -lodbc\"], no, no)
116  
117    AC_MSG_CHECKING(for a custom ODBC support)
118    if test "$PHP_CUSTOM_ODBC" != "no"; then
119 @@ -314,7 +317,7 @@ fi
120  
121  if test -z "$ODBC_TYPE"; then
122  PHP_ARG_WITH(iodbc,,
123 -[  --with-iodbc[=DIR]        Include iODBC support [/usr/local]])
124 +[  --with-iodbc[=DIR]        Include iODBC support [/usr/local]], no, no)
125  
126    AC_MSG_CHECKING(for iODBC support)
127    if test "$PHP_IODBC" != "no"; then
128 @@ -352,7 +355,7 @@ fi
129  
130  if test -z "$ODBC_TYPE"; then
131  PHP_ARG_WITH(esoob,,
132 -[  --with-esoob[=DIR]        Include Easysoft OOB support [/usr/local/easysoft/oob/client]])
133 +[  --with-esoob[=DIR]        Include Easysoft OOB support [/usr/local/easysoft/oob/client]], no, no)
134  
135    AC_MSG_CHECKING(for Easysoft ODBC-ODBC Bridge support)
136    if test "$PHP_ESOOB" != "no"; then
137 @@ -374,7 +377,7 @@ fi
138  
139  if test -z "$ODBC_TYPE"; then
140  PHP_ARG_WITH(unixODBC,,
141 -[  --with-unixODBC[=DIR]     Include unixODBC support [/usr/local]])
142 +[  --with-unixODBC[=DIR]     Include unixODBC support [/usr/local]], no, no)
143  
144    AC_MSG_CHECKING(for unixODBC support)
145    if test "$PHP_UNIXODBC" != "no"; then
146 @@ -397,7 +400,7 @@ fi
147  
148  if test -z "$ODBC_TYPE"; then
149  PHP_ARG_WITH(dbmaker,,
150 -[  --with-dbmaker[=DIR]      Include DBMaker support])
151 +[  --with-dbmaker[=DIR]      Include DBMaker support], no, no)
152  
153    AC_MSG_CHECKING(for DBMaker support)
154    if test "$PHP_DBMAKER" != "no"; then
155