diff options
| author | Joe Slater <jslater@windriver.com> | 2015-07-14 10:45:09 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-07-30 21:00:27 +0200 |
| commit | fc54af99cb04669583a4f9a8f502f68f1f147c78 (patch) | |
| tree | 079718a3f8b5da222e55a4b301498eb1ab161357 /meta-oe/recipes-support/postgresql/files/not-check-libperl.patch | |
| parent | 09a36b234c05a65e1acac3617da0a3521895dccf (diff) | |
| download | meta-openembedded-fc54af99cb04669583a4f9a8f502f68f1f147c78.tar.gz | |
postgresql: advance from 9.4.2 to 9.4.4
Consolidate patches in one directory and remove two unused
patches.
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/postgresql/files/not-check-libperl.patch')
| -rw-r--r-- | meta-oe/recipes-support/postgresql/files/not-check-libperl.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/postgresql/files/not-check-libperl.patch b/meta-oe/recipes-support/postgresql/files/not-check-libperl.patch new file mode 100644 index 0000000000..e199f39143 --- /dev/null +++ b/meta-oe/recipes-support/postgresql/files/not-check-libperl.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | [PATCH] not check libperl under cross compiling | ||
| 2 | |||
| 3 | Upstream-Status: Inappropriate [configuration] | ||
| 4 | |||
| 5 | libperl ldflags returned by PGAC_CHECK_PERL_EMBED_LDFLAGS are native, | ||
| 6 | can not be used to check target library. | ||
| 7 | |||
| 8 | postpresql has the dependency on perl, so not need to check libperl | ||
| 9 | again, like in postgresql-9.2.4 | ||
| 10 | |||
| 11 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
| 12 | --- | ||
| 13 | configure.in | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/configure.in b/configure.in | ||
| 17 | index ae1a5a0..9a0970d 100644 | ||
| 18 | --- a/configure.in | ||
| 19 | +++ b/configure.in | ||
| 20 | @@ -1877,7 +1877,7 @@ if test "$with_tcl" = yes; then | ||
| 21 | fi | ||
| 22 | |||
| 23 | # check for <perl.h> | ||
| 24 | -if test "$with_perl" = yes; then | ||
| 25 | +if test "$with_perl" = yes && test "$cross_compiling" = no; then | ||
| 26 | ac_save_CPPFLAGS=$CPPFLAGS | ||
| 27 | CPPFLAGS="$CPPFLAGS -I$perl_archlibexp/CORE" | ||
| 28 | AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])], | ||
| 29 | -- | ||
| 30 | 1.9.1 | ||
| 31 | |||
