Ravenports generated: 15 Feb 2023 23:13
[ravenports.git] / bucket_E8 / php82-odbc
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               php82-odbc
4 VERSION=                8.2.3
5 KEYWORDS=               lang www php databases
6 VARIANTS=               standard
7 SDESC[standard]=        PHP 8.2 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-8.2.3.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,82 cpe
23
24 DISTNAME=               php-8.2.3/ext/{{PHP_MODNAME}}
25 EXTRACT_HEAD[1]=        env LANG=en_US.UTF-8 {{TAR}} -xf
26 EXTRACT_TAIL[1]=        php-8.2.3/ext/{{PHP_MODNAME}}
27
28 CPE_PRODUCT=            php
29 CPE_VENDOR=             php
30 FPC_EQUIVALENT=         databases/php82-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 8.2.
37
38
39 [FILE:95:distinfo]
40 b9b566686e351125d67568a33291650eb8dfa26614d205d70d82e6e92613d457     12038240 php-8.2.3.tar.xz
41
42
43 [FILE:3987:patches/patch-config.m4]
44 --- config.m4.orig      2023-01-31 13:31:55 UTC
45 +++ config.m4
46 @@ -91,6 +91,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    [AS_HELP_STRING([[--with-odbcver[=HEX]]],
56 @@ -102,7 +105,7 @@ PHP_ARG_WITH([odbcver],,
57  if test -z "$ODBC_TYPE"; then
58  PHP_ARG_WITH([adabas],,
59    [AS_HELP_STRING([[--with-adabas[=DIR]]],
60 -    [Include Adabas D support [/usr/local]])])
61 +    [Include Adabas D support [/usr/local]])], [no], [no])
62  
63    AC_MSG_CHECKING([for Adabas support])
64    if test "$PHP_ADABAS" != "no"; then
65 @@ -132,7 +135,7 @@ fi
66  if test -z "$ODBC_TYPE"; then
67  PHP_ARG_WITH([sapdb],,
68    [AS_HELP_STRING([[--with-sapdb[=DIR]]],
69 -    [Include SAP DB support [/usr/local]])])
70 +    [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  if test -z "$ODBC_TYPE"; then
76  PHP_ARG_WITH([solid],,
77    [AS_HELP_STRING([[--with-solid[=DIR]]],
78 -    [Include Solid support [/usr/local/solid]])])
79 +    [Include Solid support [/usr/local/solid]])], [no], [no])
80  
81    AC_MSG_CHECKING(for Solid support)
82    if test "$PHP_SOLID" != "no"; then
83 @@ -181,7 +184,7 @@ fi
84  if test -z "$ODBC_TYPE"; then
85  PHP_ARG_WITH([ibm-db2],,
86    [AS_HELP_STRING([[--with-ibm-db2[=DIR]]],
87 -    [Include IBM DB2 support [/home/db2inst1/sqllib]])])
88 +    [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 @@ -222,7 +225,7 @@ if test -z "$ODBC_TYPE"; then
93  PHP_ARG_WITH([empress],,
94    [AS_HELP_STRING([[--with-empress[=DIR]]],
95      [Include Empress support $EMPRESSPATH (Empress Version >= 8.60
96 -    required)])])
97 +    required)])], [no], [no])
98  
99    AC_MSG_CHECKING(for Empress support)
100    if test "$PHP_EMPRESS" != "no"; then
101 @@ -248,7 +251,7 @@ if test -z "$ODBC_TYPE"; then
102  PHP_ARG_WITH([empress-bcs],,
103    [AS_HELP_STRING([[--with-empress-bcs[=DIR]]],
104      [Include Empress Local Access support $EMPRESSPATH (Empress Version >=
105 -    8.60 required)])])
106 +    8.60 required)])], [no], [no])
107  
108    AC_MSG_CHECKING(for Empress local access support)
109    if test "$PHP_EMPRESS_BCS" != "no"; then
110 @@ -294,7 +297,7 @@ PHP_ARG_WITH([custom-odbc],,
111      your include dirs. For example, you should define following for Sybase SQL
112      Anywhere 5.5.00 on QNX, prior to running this configure script:
113      CPPFLAGS="-DODBC_QNX -DSQLANY_BUG" 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 @@ -317,7 +320,7 @@ fi
120  if test -z "$ODBC_TYPE"; then
121  PHP_ARG_WITH([iodbc],,
122    [AS_HELP_STRING([--with-iodbc],
123 -    [Include iODBC support])])
124 +    [Include iODBC support])], [no], [no])
125  
126    AC_MSG_CHECKING(whether to build with iODBC support)
127    if test "$PHP_IODBC" != "no"; then
128 @@ -335,7 +338,7 @@ fi
129  if test -z "$ODBC_TYPE"; then
130  PHP_ARG_WITH([esoob],,
131    [AS_HELP_STRING([[--with-esoob[=DIR]]],
132 -    [Include Easysoft OOB support [/usr/local/easysoft/oob/client]])])
133 +    [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 @@ -358,7 +361,7 @@ fi
138  if test -z "$ODBC_TYPE"; then
139  PHP_ARG_WITH([unixODBC],,
140    [AS_HELP_STRING([--with-unixODBC],
141 -    [Include unixODBC support])])
142 +    [Include unixODBC support])], [no], [no])
143  
144    AC_MSG_CHECKING(whether to build with unixODBC support)
145    if test "$PHP_UNIXODBC" != "no"; then
146 @@ -386,7 +389,7 @@ fi
147  if test -z "$ODBC_TYPE"; then
148  PHP_ARG_WITH([dbmaker],,
149    [AS_HELP_STRING([[--with-dbmaker[=DIR]]],
150 -    [Include DBMaker support])])
151 +    [Include DBMaker support])], [no], [no])
152  
153    AC_MSG_CHECKING(for DBMaker support)
154    if test "$PHP_DBMAKER" != "no"; then
155