Ravenports generated: 22 Nov 2023 22:51
[ravenports.git] / bucket_AE / php81-odbc
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               php81-odbc
4 VERSION=                8.1.26
5 KEYWORDS=               lang www php databases
6 VARIANTS=               standard
7 SDESC[standard]=        PHP 8.1 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.1.26.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILD_DEPENDS=          unixODBC:dev:standard
21 BUILDRUN_DEPENDS=       unixODBC:primary:standard
22
23 USES=                   php:ext,81 cpe
24
25 DISTNAME=               php-8.1.26/ext/{{PHP_MODNAME}}
26 EXTRACT_HEAD[1]=        {{TAR}} -xf
27 EXTRACT_TAIL[1]=        php-8.1.26/ext/{{PHP_MODNAME}}
28
29 CPE_PRODUCT=            php
30 CPE_VENDOR=             php
31 FPC_EQUIVALENT=         databases/php81-odbc
32
33 CONFIGURE_ARGS=         --enable-odbc
34                         --with-unixODBC={{LOCALBASE}}
35
36 [FILE:54:descriptions/desc.single]
37 This package contains the odbc extension for PHP 8.1.
38
39
40 [FILE:96:distinfo]
41 17f87133596449327451ad4b8d9911bfaea59ff5109f3a6f2bb679f967a8ea0f     11809448 php-8.1.26.tar.xz
42
43
44 [FILE:3987:patches/patch-config.m4]
45 --- config.m4.orig      2023-01-31 15:13:17 UTC
46 +++ config.m4
47 @@ -91,6 +91,9 @@ AC_DEFUN([PHP_ODBC_FIND_EMPRESS_BCS_LIBS
48  dnl
49  dnl configure options
50  dnl
51 +PHP_ARG_ENABLE(odbc,,
52 +[  --enable-odbc             Enable ODBC support with selected driver])
53 +
54  
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])
63  
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])
72  
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])
81  
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])
90  
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
97 -    required)])])
98 +    required)])], [no], [no])
99  
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 >=
106 -    8.60 required)])])
107 +    8.60 required)])], [no], [no])
108  
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])
117  
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])
126  
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])
135  
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])
144  
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])
153  
154    AC_MSG_CHECKING(for DBMaker support)
155    if test "$PHP_DBMAKER" != "no"; then
156