postgresql: Pass --disable-spinlocks on SH4, use INC_PR
authorTom Rini <tom_rini@mentor.com>
Tue, 1 Feb 2011 22:08:43 +0000 (15:08 -0700)
committerTom Rini <tom_rini@mentor.com>
Tue, 1 Feb 2011 22:08:43 +0000 (15:08 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/postgresql/postgresql.inc
recipes/postgresql/postgresql_8.1.4.bb
recipes/postgresql/postgresql_8.1.8.bb
recipes/postgresql/postgresql_8.2.4.bb
recipes/postgresql/postgresql_8.4.4.bb

index ca8698b..e8cf561 100644 (file)
@@ -2,6 +2,7 @@ DESCRIPTION = "PostgreSQL is a powerful, open source relational database system.
 HOMEPAGE = "http://www.postgresql.com"
 LICENSE = "BSD"
 DEPENDS = "zlib readline tzcode-native"
+INC_PR = "r5"
 
 ARM_INSTRUCTION_SET = "arm"
 
@@ -16,6 +17,8 @@ export LDFLAGS_SL = "${LDFLAGS}"
 
 inherit autotools pkgconfig
 
+EXTRA_OECONF_sh4 = "--disable-spinlocks"
+
 do_compile_append() {
          cp /usr/sbin/zic ${S}/src/timezone/
 }
index 1a83b41..8a1db3a 100644 (file)
@@ -1,6 +1,6 @@
 require postgresql.inc
 
-PR = "r4"
+PR = "${INC_PR}.0"
 
 SRC_URI[md5sum] = "a65bdc5d833169d28bf6fbaaa8d57fcf"
 SRC_URI[sha256sum] = "ac7e7d311b07abd27b084041bcc943398df303bc86601f281891537bdf1a4e0b"
index d54fe8c..ae9ac69 100644 (file)
@@ -1,6 +1,6 @@
 require postgresql.inc
 
-PR = "r4"
+PR = "${INC_PR}.0"
 
 SRC_URI[md5sum] = "b05e1d7f0cac9cc4e096aa21409dee55"
 SRC_URI[sha256sum] = "91f75eb29c07271fcbfa2082c8300690efe4a72f2fbf35dace98108b0c6f7ba3"
index b1a90e7..f4162ab 100644 (file)
@@ -1,6 +1,7 @@
 require postgresql.inc
 
-PR = "r4"
+PR = "${INC_PR}.0"
+
 DEFAULT_PREFERENCE = "-1"
 
 SRC_URI += "file://no-ecpg-test.patch"
index 0ec1769..d9bf58e 100644 (file)
@@ -1,5 +1,7 @@
 require postgresql.inc
 
+PR = "${INC_PR}.0"
+
 DEFAULT_PREFERENCE = "-1"
 
 SRC_URI = "ftp://ftp.postgresql.org/pub/source/v${PV}/${P}.tar.bz2 \