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
@ -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