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
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.
%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
#