diff options
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/postgresql.inc')
| -rw-r--r-- | meta-oe/recipes-dbs/postgresql/postgresql.inc | 9 |
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 | " |
| 20 | HOMEPAGE = "http://www.postgresql.com" | 20 | HOMEPAGE = "http://www.postgresql.com" |
| 21 | LICENSE = "0BSD" | 21 | LICENSE = "0BSD" |
| 22 | DEPENDS = "libnsl2 tzcode-native perl" | 22 | DEPENDS = "libnsl2 tzcode-native perl bison-native" |
| 23 | 23 | ||
| 24 | ARM_INSTRUCTION_SET = "arm" | 24 | ARM_INSTRUCTION_SET = "arm" |
| 25 | 25 | ||
| @@ -73,7 +73,7 @@ PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl | |||
| 73 | PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu" | 73 | PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu" |
| 74 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" | 74 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" |
| 75 | 75 | ||
| 76 | EXTRA_OECONF += "--enable-thread-safety --disable-rpath \ | 76 | EXTRA_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 | ||
| 176 | do_compile:append() { | 176 | do_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 |
