--- trunk/mage/usr/lib/mage/depwalker.sh 2008/02/26 19:49:20 676 +++ trunk/mage/usr/lib/mage/depwalker.sh 2008/02/26 19:51:40 677 @@ -1,7 +1,7 @@ #!/bin/bash #depwalker -# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/depwalker.sh,v 1.8 2008-01-13 21:42:16 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/depwalker.sh,v 1.9 2008-02-26 19:51:40 niro Exp $ # default die function die() @@ -185,7 +185,12 @@ fi # mark depfile as processed to prevent double runs -without version - PROCESSEDDEPS="${PROCESSEDDEPS} ${DEPNAME%-*}" + # but do not add any virtuals to PROCESSEDDEPS or their resolved + # pkgnames will be ignored and they are missing on the dependecy-list + if [[ ${DEPNAME/virtual\//} = ${DEPNAME} ]] + then + PROCESSEDDEPS="${PROCESSEDDEPS} ${DEPNAME%-*}" + fi HIGHEST_DEPFILE=$(dep2highest_magefile "${DEPNAME}")