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.15.tar.xz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= unixODBC:dev:standard
21 BUILDRUN_DEPENDS= unixODBC:primary:standard
25 DISTNAME= php-8.2.15/ext/{{PHP_MODNAME}}
26 EXTRACT_HEAD[1]= env LANG=en_US.UTF-8 {{TAR}} -xf
27 EXTRACT_TAIL[1]= php-8.2.15/ext/{{PHP_MODNAME}}
31 FPC_EQUIVALENT= databases/php82-odbc
33 CONFIGURE_ARGS= --enable-odbc
34 --with-unixODBC={{LOCALBASE}}
36 [FILE:54:descriptions/desc.single]
37 This package contains the odbc extension for PHP 8.2.
41 eca5deac02d77d806838275f8a3024b38b35ac0a5d9853dcc71c6cbe3f1f8765 12075384 php-8.2.15.tar.xz
44 [FILE:3987:patches/patch-config.m4]
45 --- config.m4.orig 2023-01-31 13:31:55 UTC
47 @@ -91,6 +91,9 @@ AC_DEFUN([PHP_ODBC_FIND_EMPRESS_BCS_LIBS
51 +PHP_ARG_ENABLE(odbc,,
52 +[ --enable-odbc Enable ODBC support with selected driver])
55 PHP_ARG_WITH([odbcver],,
56 [AS_HELP_STRING([[--with-odbcver[=HEX]]],
57 @@ -102,7 +105,7 @@ PHP_ARG_WITH([odbcver],,
58 if test -z "$ODBC_TYPE"; then
59 PHP_ARG_WITH([adabas],,
60 [AS_HELP_STRING([[--with-adabas[=DIR]]],
61 - [Include Adabas D support [/usr/local]])])
62 + [Include Adabas D support [/usr/local]])], [no], [no])
64 AC_MSG_CHECKING([for Adabas support])
65 if test "$PHP_ADABAS" != "no"; then
66 @@ -132,7 +135,7 @@ fi
67 if test -z "$ODBC_TYPE"; then
68 PHP_ARG_WITH([sapdb],,
69 [AS_HELP_STRING([[--with-sapdb[=DIR]]],
70 - [Include SAP DB support [/usr/local]])])
71 + [Include SAP DB support [/usr/local]])], [no], [no])
73 AC_MSG_CHECKING([for SAP DB support])
74 if test "$PHP_SAPDB" != "no"; then
75 @@ -153,7 +156,7 @@ fi
76 if test -z "$ODBC_TYPE"; then
77 PHP_ARG_WITH([solid],,
78 [AS_HELP_STRING([[--with-solid[=DIR]]],
79 - [Include Solid support [/usr/local/solid]])])
80 + [Include Solid support [/usr/local/solid]])], [no], [no])
82 AC_MSG_CHECKING(for Solid support)
83 if test "$PHP_SOLID" != "no"; then
84 @@ -181,7 +184,7 @@ fi
85 if test -z "$ODBC_TYPE"; then
86 PHP_ARG_WITH([ibm-db2],,
87 [AS_HELP_STRING([[--with-ibm-db2[=DIR]]],
88 - [Include IBM DB2 support [/home/db2inst1/sqllib]])])
89 + [Include IBM DB2 support [/home/db2inst1/sqllib]])], [no], [no])
91 AC_MSG_CHECKING(for IBM DB2 support)
92 if test "$PHP_IBM_DB2" != "no"; then
93 @@ -222,7 +225,7 @@ if test -z "$ODBC_TYPE"; then
94 PHP_ARG_WITH([empress],,
95 [AS_HELP_STRING([[--with-empress[=DIR]]],
96 [Include Empress support $EMPRESSPATH (Empress Version >= 8.60
98 + required)])], [no], [no])
100 AC_MSG_CHECKING(for Empress support)
101 if test "$PHP_EMPRESS" != "no"; then
102 @@ -248,7 +251,7 @@ if test -z "$ODBC_TYPE"; then
103 PHP_ARG_WITH([empress-bcs],,
104 [AS_HELP_STRING([[--with-empress-bcs[=DIR]]],
105 [Include Empress Local Access support $EMPRESSPATH (Empress Version >=
107 + 8.60 required)])], [no], [no])
109 AC_MSG_CHECKING(for Empress local access support)
110 if test "$PHP_EMPRESS_BCS" != "no"; then
111 @@ -294,7 +297,7 @@ PHP_ARG_WITH([custom-odbc],,
112 your include dirs. For example, you should define following for Sybase SQL
113 Anywhere 5.5.00 on QNX, prior to running this configure script:
114 CPPFLAGS="-DODBC_QNX -DSQLANY_BUG" LDFLAGS=-lunix
115 - CUSTOM_ODBC_LIBS="-ldblib -lodbc"])])
116 + CUSTOM_ODBC_LIBS="-ldblib -lodbc"])], [no], [no])
118 AC_MSG_CHECKING(for a custom ODBC support)
119 if test "$PHP_CUSTOM_ODBC" != "no"; then
120 @@ -317,7 +320,7 @@ fi
121 if test -z "$ODBC_TYPE"; then
122 PHP_ARG_WITH([iodbc],,
123 [AS_HELP_STRING([--with-iodbc],
124 - [Include iODBC support])])
125 + [Include iODBC support])], [no], [no])
127 AC_MSG_CHECKING(whether to build with iODBC support)
128 if test "$PHP_IODBC" != "no"; then
129 @@ -335,7 +338,7 @@ fi
130 if test -z "$ODBC_TYPE"; then
131 PHP_ARG_WITH([esoob],,
132 [AS_HELP_STRING([[--with-esoob[=DIR]]],
133 - [Include Easysoft OOB support [/usr/local/easysoft/oob/client]])])
134 + [Include Easysoft OOB support [/usr/local/easysoft/oob/client]])], [no], [no])
136 AC_MSG_CHECKING(for Easysoft ODBC-ODBC Bridge support)
137 if test "$PHP_ESOOB" != "no"; then
138 @@ -358,7 +361,7 @@ fi
139 if test -z "$ODBC_TYPE"; then
140 PHP_ARG_WITH([unixODBC],,
141 [AS_HELP_STRING([--with-unixODBC],
142 - [Include unixODBC support])])
143 + [Include unixODBC support])], [no], [no])
145 AC_MSG_CHECKING(whether to build with unixODBC support)
146 if test "$PHP_UNIXODBC" != "no"; then
147 @@ -386,7 +389,7 @@ fi
148 if test -z "$ODBC_TYPE"; then
149 PHP_ARG_WITH([dbmaker],,
150 [AS_HELP_STRING([[--with-dbmaker[=DIR]]],
151 - [Include DBMaker support])])
152 + [Include DBMaker support])], [no], [no])
154 AC_MSG_CHECKING(for DBMaker support)
155 if test "$PHP_DBMAKER" != "no"; then