From 15332253b00c713bf4ef33ee6d4968f40fbe5233 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Sat, 8 May 2004 21:33:40 +0000 Subject: [PATCH] Rene Rebe: hotfixed iproute2 to build wihtout bdb33 (not only check for stage <= 1) and removed the useless optimization flag passed to $CC ... git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2878 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/iproute2/iproute2.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/base/iproute2/iproute2.conf b/package/base/iproute2/iproute2.conf index 9e0057dcc..5d78aadd0 100644 --- a/package/base/iproute2/iproute2.conf +++ b/package/base/iproute2/iproute2.conf @@ -29,7 +29,7 @@ ipr2_pm() { install_init netfs $confdir/netfs.init - $CC -O2 $confdir/ipnm2nwbc.c -o $sbindir/ipnm2nwbc + $CC $confdir/ipnm2nwbc.c -o $sbindir/ipnm2nwbc cp $confdir/dumpnetcfg.sh $sbindir/dumpnetcfg chmod +x $sbindir/dumpnetcfg } @@ -40,6 +40,6 @@ makeinstopt="$makeopt DESTDIR=$root install" postmake="ipr2_pm" -if [ $stagelevel -le 1 ]; then +pkginstalled bdb33 && [ $stagelevel -le 1 ] && \ var_append patchfiles ' ' $confdir/bdb_unavailable.diff -fi +