1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
5 KEYWORDS= lang www php databases
7 SDESC[standard]= PHP 8.2 extension: odbc database driver
8 HOMEPAGE= https://php.net/
12 SITES[main]= PHP/distributions
13 DISTFILE[1]= php-8.2.3.tar.xz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILDRUN_DEPENDS= unixODBC:primary:standard
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}}
30 FPC_EQUIVALENT= databases/php82-odbc
32 CONFIGURE_ARGS= --enable-odbc
33 --with-unixODBC={{LOCALBASE}}
35 [FILE:54:descriptions/desc.single]
36 This package contains the odbc extension for PHP 8.2.
40 b9b566686e351125d67568a33291650eb8dfa26614d205d70d82e6e92613d457 12038240 php-8.2.3.tar.xz
43 [FILE:3987:patches/patch-config.m4]
44 --- config.m4.orig 2023-01-31 13:31:55 UTC
46 @@ -91,6 +91,9 @@ AC_DEFUN([PHP_ODBC_FIND_EMPRESS_BCS_LIBS
50 +PHP_ARG_ENABLE(odbc,,
51 +[ --enable-odbc Enable ODBC support with selected driver])
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])
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])
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])
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])
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
97 + required)])], [no], [no])
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 >=
106 + 8.60 required)])], [no], [no])
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])
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])
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])
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])
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])
153 AC_MSG_CHECKING(for DBMaker support)
154 if test "$PHP_DBMAKER" != "no"; then