summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-05-14 21:19:34 +0000
committerjbj <devnull@localhost>2001-05-14 21:19:34 +0000
commit7ebaafac6a3fa3f9de36ba24718589f2db4b981a (patch)
treed9d484902dfaac5f42d77316b65a1fa4de3df339
parent3c563d21182b97271411e6b3209a07b6f78b94db (diff)
downloadlibrpm-tizen-7ebaafac6a3fa3f9de36ba24718589f2db4b981a.tar.gz
librpm-tizen-7ebaafac6a3fa3f9de36ba24718589f2db4b981a.tar.bz2
librpm-tizen-7ebaafac6a3fa3f9de36ba24718589f2db4b981a.zip
Grrr, hacks to the hacks to get db3 to configure.
CVS patchset: 4790 CVS date: 2001/05/14 21:19:34
-rwxr-xr-xdb3/configure7
1 files changed, 4 insertions, 3 deletions
diff --git a/db3/configure b/db3/configure
index f72150282..608f1ffa3 100755
--- a/db3/configure
+++ b/db3/configure
@@ -4,14 +4,15 @@ db_dist="../db/dist"
rm -f config.cache
-# XXX hack to get db-3.3.4 to configure properly
-ln -sf ../dist $db_dist/dist
+# XXX hacks to get db-3.3.4 to configure properly
+ln -sf ../dist $db_dist/../db/dist
+ln -sf ../dist $db_dist
CFALGS="-O2" $db_dist/configure \
$(echo $* | sed -e "s% --cache-file=.*$% --enable-shared --enable-static --enable-debug --enable-rpc --with-uniquename=rpmdb --srcdir=$db_dist%")
# XXX hack to get db-3.3.4 to configure properly
-rm -f $db_dist/dist
+rm -f $db_dist/../db/dist $db_dist/dist
mv Makefile Makefile.orig
cat Makefile.orig | sed -e 's/ -g$/ -g -O2/' -e '/^install:/c\