psqlodbc: add recipe
PATCH 1/1 psqlodbc: add recipe
This package provides a driver that allows ODBC-enabled applications to access PostgreSQL database.
This recipe was removed in commitec9e5ed06256ad92c818474cdb490dc0d3a0d0a3
Since its dependency postgresql already unblacklisted, so add it back.
Signed-off-by Yi Zhao <[email protected]>
--- .../psqlodbc-donot-use-the-hardcode-libdir.patch | 26 ++++ .../files/psqlodbc-fix-for-ptest-support.patch | 148 +++++++++++++++++++++ ...bc-remove-some-checks-for-cross-compiling.patch | 118 ++++++++++++++++ meta-oe/recipes-support/psqlodbc/psqlodbc.inc | 50 +++++++ .../psqlodbc/psqlodbc_09.05.0300.bb | 14 ++ 5 files changed, 356 insertions(+) create mode 100644 meta-oe/recipes-support/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch create mode 100644 meta-oe/recipes-support/psqlodbc/files/psqlodbc-fix-for-ptest-support.patch create mode 100644 meta-oe/recipes-support/psqlodbc/files/psqlodbc-remove-some-checks-for-cross-compiling.patch create mode 100644 meta-oe/recipes-support/psqlodbc/psqlodbc.inc create mode 100644 meta-oe/recipes-support/psqlodbc/psqlodbc_09.05.0300.bb
meta-oe/recipes-support/psqlodbc/files/psqlodbc-donot-use-the-hardcode-libdir.patch new file +26 -0
@@ -0,0 +1,26 @@ +[PATCH] do not use the hardcode libdir + +Upstream-status: Pending + +Signed-off-by: Roy.Li <[email protected]> +Signed-off-by: Jackie Huang <[email protected]> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 9b88d4c..df5ad7a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -140,7 +140,7 @@ if test "$with_libpq" != yes; then + if test -d "$with_libpq"; then + PATH="$PATH:$with_libpq/bin" + CPPFLAGS="$CPPFLAGS -I$with_libpq/include" +- LDFLAGS="$LDFLAGS -L$with_libpq/lib" ++ LDFLAGS="$LDFLAGS -L$with_libpq/${base_libdir}" + else + if test -x "$with_libpq"; then + PG_CONFIG=$with_libpq +-- +2.8.1 +
meta-oe/recipes-support/psqlodbc/files/psqlodbc-fix-for-ptest-support.patch new file +148 -0
148 lines not on this page · raw message
meta-oe/recipes-support/psqlodbc/files/psqlodbc-remove-some-checks-for-cross-compiling.patch new file +118 -0
118 lines not on this page · raw message
meta-oe/recipes-support/psqlodbc/psqlodbc.inc new file +50 -0
50 lines not on this page · raw message
meta-oe/recipes-support/psqlodbc/psqlodbc_09.05.0300.bb new file +14 -0
@@ -0,0 +1,14 @@ +require ${PN}.inc + +LICENSE = "LGPLv2" +LIC_FILES_CHKSUM = "file://license.txt;md5=6db3822fc7512e83087ba798da013692" + +SRC_URI = "http://ftp.postgresql.org/pub/odbc/versions/src/${BPN}-${PV}.tar.gz \ + file://psqlodbc-remove-some-checks-for-cross-compiling.patch \ + file://psqlodbc-donot-use-the-hardcode-libdir.patch \ + file://psqlodbc-fix-for-ptest-support.patch \ + file://run-ptest \ +" + +SRC_URI[md5sum] = "4c6e0b22187d7bb1c998ffac89e50f6b" +SRC_URI[sha256sum] = "9521f328bf28aaaf5c8488dc89792b614f9d6271742c0baf9bb41c97537764a8"
Signature · 1 line
2.7.4