diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-30 20:35:59 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-08-31 10:06:32 -0700 |
commit | 1a8d4b2423fdd2269577bde8508003d5cf34e275 (patch) | |
tree | 9d58bdd8612bbdfbcf03566ba70772499feb5af7 | |
parent | f7a8fbf8f0da66d33159d8643e6393324c3df45e (diff) | |
download | meta-openembedded-1a8d4b2423fdd2269577bde8508003d5cf34e275.tar.gz |
psqlodbc: Upgrade to 13.02.0000
Forward port patches
Merged .inc into .bb for easing out devtool use
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch | 17 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-fix-for-ptest-support.patch | 51 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-remove-some-checks-for-cross-compiling.patch | 42 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/psqlodbc/psqlodbc_09.05.0300.bb | 14 | ||||
-rw-r--r-- | meta-oe/recipes-dbs/psqlodbc/psqlodbc_13.02.0000.bb (renamed from meta-oe/recipes-dbs/psqlodbc/psqlodbc.inc) | 16 |
5 files changed, 68 insertions, 72 deletions
diff --git a/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch b/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch index 7eda038756..acfaa3f6be 100644 --- a/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch +++ b/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch | |||
@@ -1,26 +1,27 @@ | |||
1 | [PATCH] do not use the hardcode libdir | 1 | From 8f3ed8df4721991958a5becf75a69493d67e7514 Mon Sep 17 00:00:00 2001 |
2 | From: "Roy.Li" <rongqing.li@windriver.com> | ||
3 | Date: Tue, 5 Sep 2017 10:24:10 +0800 | ||
4 | Subject: [PATCH] [PATCH] do not use the hardcode libdir | ||
2 | 5 | ||
3 | Upstream-status: Pending | 6 | Upstream-status: Pending |
4 | 7 | ||
5 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | 8 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> |
6 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | 9 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
10 | |||
7 | --- | 11 | --- |
8 | configure.ac | 2 +- | 12 | configure.ac | 2 +- |
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
10 | 14 | ||
11 | diff --git a/configure.ac b/configure.ac | 15 | diff --git a/configure.ac b/configure.ac |
12 | index 9b88d4c..df5ad7a 100644 | 16 | index 00b359e..ba50e6f 100644 |
13 | --- a/configure.ac | 17 | --- a/configure.ac |
14 | +++ b/configure.ac | 18 | +++ b/configure.ac |
15 | @@ -140,7 +140,7 @@ if test "$with_libpq" != yes; then | 19 | @@ -114,7 +114,7 @@ if test "$with_libpq" != yes; then |
16 | if test -d "$with_libpq"; then | 20 | if test -d "$with_libpq"; then |
17 | PATH="$PATH:$with_libpq/bin" | 21 | PATH="$with_libpq/bin:$PATH" |
18 | CPPFLAGS="$CPPFLAGS -I$with_libpq/include" | 22 | CPPFLAGS="$CPPFLAGS -I$with_libpq/include -I$with_libpq/include/postgresql/internal" |
19 | - LDFLAGS="$LDFLAGS -L$with_libpq/lib" | 23 | - LDFLAGS="$LDFLAGS -L$with_libpq/lib" |
20 | + LDFLAGS="$LDFLAGS -L$with_libpq/${base_libdir}" | 24 | + LDFLAGS="$LDFLAGS -L$with_libpq/${base_libdir}" |
21 | else | 25 | else |
22 | if test -x "$with_libpq"; then | 26 | if test -x "$with_libpq"; then |
23 | PG_CONFIG=$with_libpq | 27 | PG_CONFIG=$with_libpq |
24 | -- | ||
25 | 2.8.1 | ||
26 | |||
diff --git a/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-fix-for-ptest-support.patch b/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-fix-for-ptest-support.patch index a8f14e7689..30e67b7dfb 100644 --- a/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-fix-for-ptest-support.patch +++ b/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-fix-for-ptest-support.patch | |||
@@ -1,3 +1,6 @@ | |||
1 | From 96896b88776d0080609ec830cf9538d2babe665a Mon Sep 17 00:00:00 2001 | ||
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Tue, 5 Sep 2017 10:24:10 +0800 | ||
1 | Subject: [PATCH] psqlodbc: fixes for ptest support | 4 | Subject: [PATCH] psqlodbc: fixes for ptest support |
2 | 5 | ||
3 | * Fix the LIBODBC since we don't use ODBC_CONFIG. | 6 | * Fix the LIBODBC since we don't use ODBC_CONFIG. |
@@ -9,27 +12,28 @@ Subject: [PATCH] psqlodbc: fixes for ptest support | |||
9 | Upstream-Status: Inappropriate [OE ptest specific] | 12 | Upstream-Status: Inappropriate [OE ptest specific] |
10 | 13 | ||
11 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | 14 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
15 | |||
12 | --- | 16 | --- |
13 | test/Makefile.in | 2 +- | 17 | test/Makefile.in | 2 +- |
14 | test/odbcini-gen.sh | 8 ++++---- | 18 | test/odbcini-gen.sh | 8 ++++---- |
15 | test/runsuite.c | 26 +++++++++++++------------- | 19 | test/runsuite.c | 20 ++++++++++---------- |
16 | 3 files changed, 18 insertions(+), 18 deletions(-) | 20 | 3 files changed, 15 insertions(+), 15 deletions(-) |
17 | 21 | ||
18 | diff --git a/test/Makefile.in b/test/Makefile.in | 22 | diff --git a/test/Makefile.in b/test/Makefile.in |
19 | index 8710616..fcb470e 100644 | 23 | index 3f9a9af..09406ae 100644 |
20 | --- a/test/Makefile.in | 24 | --- a/test/Makefile.in |
21 | +++ b/test/Makefile.in | 25 | +++ b/test/Makefile.in |
22 | @@ -18,7 +18,7 @@ CFLAGS = @CFLAGS@ | 26 | @@ -19,7 +19,7 @@ CPPFLAGS = @CPPFLAGS@ -I.. # config.h |
23 | ODBC_CONFIG = @ODBC_CONFIG@ | 27 | ODBC_CONFIG = @ODBC_CONFIG@ |
24 | PROVE = @PROVE@ | 28 | PROVE = @PROVE@ |
25 | 29 | ||
26 | -LIBODBC := $(shell $(ODBC_CONFIG) --libs) | 30 | -LIBODBC = @LIBODBC@ |
27 | +LIBODBC = -lodbc | 31 | +LIBODBC = -lodbc |
28 | 32 | ||
29 | all: $(TESTBINS) runsuite reset-db | 33 | all: $(TESTBINS) runsuite reset-db |
30 | 34 | ||
31 | diff --git a/test/odbcini-gen.sh b/test/odbcini-gen.sh | 35 | diff --git a/test/odbcini-gen.sh b/test/odbcini-gen.sh |
32 | index d2c2c87..6068d9d 100755 | 36 | index 2eaba35..6555cdb 100755 |
33 | --- a/test/odbcini-gen.sh | 37 | --- a/test/odbcini-gen.sh |
34 | +++ b/test/odbcini-gen.sh | 38 | +++ b/test/odbcini-gen.sh |
35 | @@ -6,7 +6,7 @@ | 39 | @@ -6,7 +6,7 @@ |
@@ -41,7 +45,7 @@ index d2c2c87..6068d9d 100755 | |||
41 | driver=${drvr}.so | 45 | driver=${drvr}.so |
42 | if test ! -e $driver ; then | 46 | if test ! -e $driver ; then |
43 | driver=${drvr}.dll | 47 | driver=${drvr}.dll |
44 | @@ -33,10 +33,10 @@ Driver = psqlodbc test driver | 48 | @@ -52,10 +52,10 @@ Driver = PostgreSQL Unicode |
45 | Trace = No | 49 | Trace = No |
46 | TraceFile = | 50 | TraceFile = |
47 | Database = contrib_regression | 51 | Database = contrib_regression |
@@ -56,10 +60,10 @@ index d2c2c87..6068d9d 100755 | |||
56 | RowVersioning = No | 60 | RowVersioning = No |
57 | ShowSystemTables = No | 61 | ShowSystemTables = No |
58 | diff --git a/test/runsuite.c b/test/runsuite.c | 62 | diff --git a/test/runsuite.c b/test/runsuite.c |
59 | index 583cf35..fd2a90e 100644 | 63 | index 3be5732..cd842dc 100644 |
60 | --- a/test/runsuite.c | 64 | --- a/test/runsuite.c |
61 | +++ b/test/runsuite.c | 65 | +++ b/test/runsuite.c |
62 | @@ -51,7 +51,7 @@ bailout(const char *fmt, ...) | 66 | @@ -55,7 +55,7 @@ bailout(const char *fmt, ...) |
63 | 67 | ||
64 | /* Given a test program's name, get the test name */ | 68 | /* Given a test program's name, get the test name */ |
65 | void | 69 | void |
@@ -68,7 +72,7 @@ index 583cf35..fd2a90e 100644 | |||
68 | { | 72 | { |
69 | const char *basename; | 73 | const char *basename; |
70 | #ifdef WIN32 | 74 | #ifdef WIN32 |
71 | @@ -65,7 +65,7 @@ parse_argument(const char *in, char *testname, char *binname) | 75 | @@ -69,7 +69,7 @@ parse_argument(const char *in, char *testname, char *binname) |
72 | if (strchr(in, DIR_SEP) == NULL) | 76 | if (strchr(in, DIR_SEP) == NULL) |
73 | { | 77 | { |
74 | strcpy(testname, in); | 78 | strcpy(testname, in); |
@@ -77,7 +81,7 @@ index 583cf35..fd2a90e 100644 | |||
77 | return; | 81 | return; |
78 | } | 82 | } |
79 | 83 | ||
80 | @@ -127,7 +127,7 @@ int main(int argc, char **argv) | 84 | @@ -131,7 +131,7 @@ int main(int argc, char **argv) |
81 | failures = 0; | 85 | failures = 0; |
82 | for (i = 1, j = 1; i <= numtests; i++, j++) | 86 | for (i = 1, j = 1; i <= numtests; i++, j++) |
83 | { | 87 | { |
@@ -86,7 +90,7 @@ index 583cf35..fd2a90e 100644 | |||
86 | if (runtest(binname, testname, i, inputdir) != 0) | 90 | if (runtest(binname, testname, i, inputdir) != 0) |
87 | failures++; | 91 | failures++; |
88 | } | 92 | } |
89 | @@ -157,29 +157,29 @@ runtest(const char *binname, const char *testname, int testno, const char *input | 93 | @@ -161,29 +161,29 @@ runtest(const char *binname, const char *testname, int testno, const char *input |
90 | #ifndef WIN32 | 94 | #ifndef WIN32 |
91 | snprintf(cmdline, sizeof(cmdline), | 95 | snprintf(cmdline, sizeof(cmdline), |
92 | "ODBCSYSINI=. ODBCINSTINI=./odbcinst.ini ODBCINI=./odbc.ini " | 96 | "ODBCSYSINI=. ODBCINSTINI=./odbcinst.ini ODBCINI=./odbc.ini " |
@@ -123,26 +127,3 @@ index 583cf35..fd2a90e 100644 | |||
123 | ret = 0; | 127 | ret = 0; |
124 | } | 128 | } |
125 | fflush(stdout); | 129 | fflush(stdout); |
126 | @@ -196,7 +196,7 @@ rundiff(const char *testname, const char *inputdir) | ||
127 | char *result; | ||
128 | size_t result_len; | ||
129 | |||
130 | - snprintf(filename, sizeof(filename), "results/%s.out", testname); | ||
131 | + snprintf(filename, sizeof(filename), "%s/results/%s.out", inputdir, testname); | ||
132 | result = slurpfile(filename, &result_len); | ||
133 | |||
134 | outputno = 0; | ||
135 | @@ -244,8 +244,8 @@ rundiff(const char *testname, const char *inputdir) | ||
136 | * files and print the smallest diff? | ||
137 | */ | ||
138 | snprintf(cmdline, sizeof(cmdline), | ||
139 | - "diff -c %s/expected/%s.out results/%s.out >> regression.diffs", | ||
140 | - inputdir, testname, testname); | ||
141 | + "diff -c %s/expected/%s.out %s/results/%s.out >> regression.diffs", | ||
142 | + inputdir, testname, inputdir, testname); | ||
143 | if (system(cmdline) == -1) | ||
144 | printf("# diff failed\n"); | ||
145 | |||
146 | -- | ||
147 | 2.8.2 | ||
148 | |||
diff --git a/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-remove-some-checks-for-cross-compiling.patch b/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-remove-some-checks-for-cross-compiling.patch index 1d988182e7..9131d70be6 100644 --- a/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-remove-some-checks-for-cross-compiling.patch +++ b/meta-oe/recipes-dbs/psqlodbc/files/psqlodbc-remove-some-checks-for-cross-compiling.patch | |||
@@ -1,3 +1,6 @@ | |||
1 | From 8ca6b0c72b6b933642ec7c4ebb83734244fec46f Mon Sep 17 00:00:00 2001 | ||
2 | From: "Song.Li" <Song.Li@windriver.com> | ||
3 | Date: Tue, 5 Sep 2017 10:24:10 +0800 | ||
1 | Subject: [PATCH] remove some checks for cross-compiling | 4 | Subject: [PATCH] remove some checks for cross-compiling |
2 | 5 | ||
3 | some lib check is not suitable for | 6 | some lib check is not suitable for |
@@ -8,15 +11,16 @@ Upstream-Status: Inappropriate [not a real bug,just for cross-compiling] | |||
8 | Signed-off-by: Song.Li <Song.Li@windriver.com> | 11 | Signed-off-by: Song.Li <Song.Li@windriver.com> |
9 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | 12 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
10 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | 13 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
14 | |||
11 | --- | 15 | --- |
12 | configure.ac | 66 +++++++----------------------------------------------------- | 16 | configure.ac | 80 +++++----------------------------------------------- |
13 | 1 file changed, 7 insertions(+), 59 deletions(-) | 17 | 1 file changed, 7 insertions(+), 73 deletions(-) |
14 | 18 | ||
15 | diff --git a/configure.ac b/configure.ac | 19 | diff --git a/configure.ac b/configure.ac |
16 | index df5ad7a..b72bd4c 100644 | 20 | index 7f79563..00b359e 100644 |
17 | --- a/configure.ac | 21 | --- a/configure.ac |
18 | +++ b/configure.ac | 22 | +++ b/configure.ac |
19 | @@ -46,57 +46,19 @@ AC_ARG_WITH(iodbc, [ --with-iodbc[[=DIR]] [[default=no]] DIR is the iODBC bas | 23 | @@ -57,71 +57,20 @@ AC_ARG_WITH(iodbc, [ --with-iodbc[[=DIR]] [[default=no]] DIR is the iODBC bas |
20 | if test "$with_iodbc" != no; then | 24 | if test "$with_iodbc" != no; then |
21 | with_unixodbc=no | 25 | with_unixodbc=no |
22 | AC_DEFINE(WITH_IODBC, 1, [Define to 1 to build with iODBC support]) | 26 | AC_DEFINE(WITH_IODBC, 1, [Define to 1 to build with iODBC support]) |
@@ -34,6 +38,7 @@ index df5ad7a..b72bd4c 100644 | |||
34 | - fi | 38 | - fi |
35 | fi | 39 | fi |
36 | 40 | ||
41 | wo_odbc_config=__without_odbc_config | ||
37 | if test "$with_unixodbc" != no; then | 42 | if test "$with_unixodbc" != no; then |
38 | AC_DEFINE(WITH_UNIXODBC, 1, | 43 | AC_DEFINE(WITH_UNIXODBC, 1, |
39 | [Define to 1 to build with unixODBC support]) | 44 | [Define to 1 to build with unixODBC support]) |
@@ -42,7 +47,9 @@ index df5ad7a..b72bd4c 100644 | |||
42 | - else | 47 | - else |
43 | - ODBC_CONFIG=$with_unixodbc | 48 | - ODBC_CONFIG=$with_unixodbc |
44 | - fi | 49 | - fi |
45 | - if test ! -x "${ODBC_CONFIG}/bin/odbc_config"; then | 50 | - if test "${ODBC_CONFIG}" = "${wo_odbc_config}"; then |
51 | - : | ||
52 | - elif test ! -x "${ODBC_CONFIG}/bin/odbc_config"; then | ||
46 | - if test ! -x "${ODBC_CONFIG}"; then | 53 | - if test ! -x "${ODBC_CONFIG}"; then |
47 | - AC_MSG_ERROR([odbc_config not found (required for unixODBC build)]) | 54 | - AC_MSG_ERROR([odbc_config not found (required for unixODBC build)]) |
48 | - fi | 55 | - fi |
@@ -62,22 +69,33 @@ index df5ad7a..b72bd4c 100644 | |||
62 | - # Linking libiodoc is rather problematic | 69 | - # Linking libiodoc is rather problematic |
63 | - [ODBC_LIBDIR=`${ODBC_CONFIG} --libs | sed -e "s/^\(-L\|.*[ \t]-L\)\([^ \n\r\f\t]*\).*$/-L\2/"`] | 70 | - [ODBC_LIBDIR=`${ODBC_CONFIG} --libs | sed -e "s/^\(-L\|.*[ \t]-L\)\([^ \n\r\f\t]*\).*$/-L\2/"`] |
64 | - LDFLAGS="$LDFLAGS ${ODBC_LIBDIR}" | 71 | - LDFLAGS="$LDFLAGS ${ODBC_LIBDIR}" |
72 | - LIBODBC=`${ODBC_CONFIG} --libs` # for regression test | ||
73 | - elif test "${ODBC_CONFIG}" = "${wo_odbc_config}"; then | ||
74 | - ODBC_INCLUDE=/usr/include | ||
75 | - CPPFLAGS="$CPPFLAGS -I${ODBC_INCLUDE}" | ||
76 | - ODBC_LIBDiR="" | ||
77 | - LIBODBC="-lodbc" # for regression test | ||
65 | - else | 78 | - else |
66 | - ODBC_INCLUDE=`${ODBC_CONFIG} --include-prefix` | 79 | - ODBC_INCLUDE=`${ODBC_CONFIG} --include-prefix` |
67 | - CPPFLAGS="$CPPFLAGS -I${ODBC_INCLUDE}" | 80 | - CPPFLAGS="$CPPFLAGS -I${ODBC_INCLUDE}" |
68 | - # Linking libodoc is rather problematic | 81 | - # Linking libodbc is rather problematic |
69 | - ODBC_LIBDIR=`${ODBC_CONFIG} --lib-prefix` | 82 | - ODBC_LIBDIR=`${ODBC_CONFIG} --lib-prefix` |
70 | - LDFLAGS="$LDFLAGS -L${ODBC_LIBDIR}" | 83 | - if test "${ODBC_LIBDIR}" != ""; then |
84 | - LDFLAGS="$LDFLAGS -L${ODBC_LIBDIR}" | ||
85 | - fi | ||
86 | - LIBODBC=`${ODBC_CONFIG} --libs` # for regression test | ||
71 | - fi | 87 | - fi |
72 | - AC_MSG_NOTICE([using $ODBC_INCLUDE $ODBC_LIBDIR]) | 88 | - AC_MSG_NOTICE([using $ODBC_INCLUDE $ODBC_LIBDIR]) |
89 | - AC_MSG_NOTICE([using $LIBODBC for regression test]) | ||
73 | -fi | 90 | -fi |
91 | -AC_SUBST(LIBODBC) | ||
74 | +ODBC_LIBS="-lodbcinst" | 92 | +ODBC_LIBS="-lodbcinst" |
75 | +LIBS="$LIBS ${ODBC_LIBS}" | 93 | +LIBS="$LIBS ${ODBC_LIBS}" |
76 | +AC_MSG_NOTICE([using $ODBC_INCLUDE $ODBC_LIBS]) | 94 | +AC_MSG_NOTICE([using $ODBC_INCLUDE $ODBC_LIBS]) |
77 | 95 | ||
78 | # | 96 | # |
79 | # SQLCOLATTRIBUTE_SQLLEN check | 97 | # SQLCOLATTRIBUTE_SQLLEN check |
80 | @@ -176,18 +138,10 @@ PGAC_ARG_BOOL(enable, pthreads, yes, | 98 | @@ -190,19 +139,10 @@ PGAC_ARG_BOOL(enable, pthreads, yes, |
81 | # Find libpq headers and libraries | 99 | # Find libpq headers and libraries |
82 | # | 100 | # |
83 | 101 | ||
@@ -87,8 +105,9 @@ index df5ad7a..b72bd4c 100644 | |||
87 | - | 105 | - |
88 | -if test -n "$PG_CONFIG"; then | 106 | -if test -n "$PG_CONFIG"; then |
89 | - pg_includedir=`"$PG_CONFIG" --includedir` | 107 | - pg_includedir=`"$PG_CONFIG" --includedir` |
108 | - pg_pkg_includedir=`"$PG_CONFIG" --pkgincludedir` | ||
90 | - pg_libdir=`"$PG_CONFIG" --libdir` | 109 | - pg_libdir=`"$PG_CONFIG" --libdir` |
91 | - CPPFLAGS="$CPPFLAGS -I$pg_includedir" | 110 | - CPPFLAGS="$CPPFLAGS -I$pg_includedir -I$pg_pkg_includedir/internal" |
92 | - LDFLAGS="$LDFLAGS -L$pg_libdir" | 111 | - LDFLAGS="$LDFLAGS -L$pg_libdir" |
93 | -fi | 112 | -fi |
94 | - | 113 | - |
@@ -100,7 +119,7 @@ index df5ad7a..b72bd4c 100644 | |||
100 | 119 | ||
101 | # 1. Programs | 120 | # 1. Programs |
102 | 121 | ||
103 | @@ -211,12 +165,6 @@ if test "$with_iodbc" != no; then | 122 | @@ -226,12 +166,6 @@ if test "$with_iodbc" != no; then |
104 | [AC_MSG_ERROR([iODBC library "iodbcinst" not found])]) | 123 | [AC_MSG_ERROR([iODBC library "iodbcinst" not found])]) |
105 | fi | 124 | fi |
106 | 125 | ||
@@ -113,6 +132,3 @@ index df5ad7a..b72bd4c 100644 | |||
113 | AC_CHECK_LIB(pq, PQsetSingleRowMode, [], | 132 | AC_CHECK_LIB(pq, PQsetSingleRowMode, [], |
114 | [AC_MSG_ERROR([libpq library version >= 9.2 is required])]) | 133 | [AC_MSG_ERROR([libpq library version >= 9.2 is required])]) |
115 | 134 | ||
116 | -- | ||
117 | 2.8.1 | ||
118 | |||
diff --git a/meta-oe/recipes-dbs/psqlodbc/psqlodbc_09.05.0300.bb b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_09.05.0300.bb deleted file mode 100644 index b0fc35eb97..0000000000 --- a/meta-oe/recipes-dbs/psqlodbc/psqlodbc_09.05.0300.bb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | require ${PN}.inc | ||
2 | |||
3 | LICENSE = "LGPL-2.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://license.txt;md5=6db3822fc7512e83087ba798da013692" | ||
5 | |||
6 | SRC_URI = "http://ftp.postgresql.org/pub/odbc/versions/src/${BPN}-${PV}.tar.gz \ | ||
7 | file://psqlodbc-remove-some-checks-for-cross-compiling.patch \ | ||
8 | file://psqlodbc-donot-use-the-hardcode-libdir.patch \ | ||
9 | file://psqlodbc-fix-for-ptest-support.patch \ | ||
10 | file://run-ptest \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[md5sum] = "4c6e0b22187d7bb1c998ffac89e50f6b" | ||
14 | SRC_URI[sha256sum] = "9521f328bf28aaaf5c8488dc89792b614f9d6271742c0baf9bb41c97537764a8" | ||
diff --git a/meta-oe/recipes-dbs/psqlodbc/psqlodbc.inc b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_13.02.0000.bb index ae20a72a11..299abee000 100644 --- a/meta-oe/recipes-dbs/psqlodbc/psqlodbc.inc +++ b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_13.02.0000.bb | |||
@@ -16,6 +16,18 @@ DESCRIPTION = "\ | |||
16 | SECTION = "libs" | 16 | SECTION = "libs" |
17 | HOMEPAGE = "http://psqlodbc.projects.postgresql.org/" | 17 | HOMEPAGE = "http://psqlodbc.projects.postgresql.org/" |
18 | 18 | ||
19 | LICENSE = "LGPL-2.0-only" | ||
20 | LIC_FILES_CHKSUM = "file://license.txt;md5=6db3822fc7512e83087ba798da013692" | ||
21 | |||
22 | SRC_URI = "http://ftp.postgresql.org/pub/odbc/versions/src/${BPN}-${PV}.tar.gz \ | ||
23 | file://psqlodbc-remove-some-checks-for-cross-compiling.patch \ | ||
24 | file://psqlodbc-donot-use-the-hardcode-libdir.patch \ | ||
25 | file://psqlodbc-fix-for-ptest-support.patch \ | ||
26 | file://run-ptest \ | ||
27 | " | ||
28 | |||
29 | SRC_URI[sha256sum] = "b39b7e5c41fd6475c551112fa724bf57c4a446175ec4188a90e2844cc1612585" | ||
30 | |||
19 | DEPENDS += "postgresql unixodbc" | 31 | DEPENDS += "postgresql unixodbc" |
20 | 32 | ||
21 | EXTRA_OECONF = "\ | 33 | EXTRA_OECONF = "\ |
@@ -24,8 +36,7 @@ EXTRA_OECONF = "\ | |||
24 | --with-unixodbc=yes \ | 36 | --with-unixodbc=yes \ |
25 | --with-libpq=${STAGING_LIBDIR}/.. \ | 37 | --with-libpq=${STAGING_LIBDIR}/.. \ |
26 | --enable-pthreads \ | 38 | --enable-pthreads \ |
27 | --disable-unicode \ | 39 | LIBS='-lpthread' \ |
28 | LIBS="-lpthread" \ | ||
29 | " | 40 | " |
30 | 41 | ||
31 | inherit autotools pkgconfig ptest | 42 | inherit autotools pkgconfig ptest |
@@ -48,3 +59,4 @@ FILES:${PN} += "${libdir}" | |||
48 | 59 | ||
49 | # The tests need a local PostgreSQL server running | 60 | # The tests need a local PostgreSQL server running |
50 | RDEPENDS:${PN}-ptest = "postgresql" | 61 | RDEPENDS:${PN}-ptest = "postgresql" |
62 | |||