summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql/postgresql.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/postgresql.inc')
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index e19f2f48e2..7bbcaca443 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -19,7 +19,7 @@ DESCRIPTION = "\
19" 19"
20HOMEPAGE = "http://www.postgresql.com" 20HOMEPAGE = "http://www.postgresql.com"
21LICENSE = "0BSD" 21LICENSE = "0BSD"
22DEPENDS = "libnsl2 tzcode-native perl" 22DEPENDS = "libnsl2 tzcode-native perl bison-native"
23 23
24ARM_INSTRUCTION_SET = "arm" 24ARM_INSTRUCTION_SET = "arm"
25 25
@@ -73,7 +73,7 @@ PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl
73PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu" 73PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu"
74PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" 74PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
75 75
76EXTRA_OECONF += "--enable-thread-safety --disable-rpath \ 76EXTRA_OECONF += "--disable-rpath \
77 --datadir=${datadir}/${BPN} \ 77 --datadir=${datadir}/${BPN} \
78 --sysconfdir=${sysconfdir}/${BPN} \ 78 --sysconfdir=${sysconfdir}/${BPN} \
79" 79"
@@ -175,6 +175,11 @@ do_configure() {
175 175
176do_compile:append() { 176do_compile:append() {
177 oe_runmake -C contrib all 177 oe_runmake -C contrib all
178
179 for f in `find ${B} -name "*.[c|h]"`;
180 do
181 sed -i -e 's,${B}/../,,' $f
182 done
178} 183}
179 184
180# server needs to configure user and group 185# server needs to configure user and group