- solve db4.
authorRonan Le Martret <ronan@fridu.net>
Mon, 15 Jul 2013 12:28:14 +0000 (14:28 +0200)
committerRonan Le Martret <ronan@fridu.net>
Mon, 15 Jul 2013 12:28:14 +0000 (14:28 +0200)
meta-tizen-ivi/recipes-tizen/db4/db4-extraconf.inc
proto-meta-Tizen_ivi_3.0/specfile-patch/db4.spec.patch

index a651554..1713918 100644 (file)
@@ -1,15 +1,2 @@
 VIRTUAL_NAME = "virtual/db"
 PROVIDES += "${VIRTUAL_NAME}"
-
-
-do_compile[vardeps] += "oe_runconf"
-do_compile[vardeps] += "autotools_do_configure"
-
-#S = "${WORKDIR}/git/dist"
-#B = "${WORKDIR}/git/build_nptl"
-
-EXTRA_OECONF = '--prefix="/usr" \
-        --libdir="/usr/lib" --enable-compat185 --disable-dump185 \
-        --enable-shared --disable-static --enable-cxx \
-        --with-mutex="POSIX/pthreads/library" \
-        i586-suse-linux'
\ No newline at end of file
index feeebb4..bdbd987 100644 (file)
@@ -1,5 +1,5 @@
 diff --git a/packaging/db4.spec b/packaging/db4.spec
-index 4845063..75c40a6 100644
+index 4845063..8f4f149 100644
 --- a/packaging/db4.spec
 +++ b/packaging/db4.spec
 @@ -60,8 +60,8 @@ This package contains the header files and libraries.
@@ -13,7 +13,13 @@ index 4845063..75c40a6 100644
  
  %build
  cd dist
-@@ -77,7 +77,7 @@ export CFLAGS CXXFLAGS CC
+@@ -72,12 +72,12 @@ DIST_DATE=`date '+%B %e, %Y' --date="@$LAST_MOD"`
+ sed -i -e "s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\"$DIST_DATE\"/" RELEASE
+ ./s_config
+ CFLAGS="%{optflags} -fno-strict-aliasing"
+-CC=gcc
++CC=%{__cc}
+ export CFLAGS CXXFLAGS CC
  #
  # Build now the NPTL version
  #