 To: Dan McMahill <> From: Frederick Bruckman <> List: tech-pkg
Date: 10/10/2001 08:23:20 On Wed, 10 Oct 2001 wrote:  > But how
was it that glib was already installed?  Sorry for all the >
questions, but I'm still missing something.  No, it's OK. If
it's not clear to you, there are certainly others that have no
idea what I'm talking about either, which is why I'm taking the
liberty of responding back to the list...  To build the
${DEPENDSFILE} while under "gnome", you first do something like
make -V DEPENDS | xargs -n1 echo > ${WRKDIR}/${DEPENDS.tmp}  Now
you run the file repeatedly. This almost works,    awk -v FS=:
'{ print $2 }' ${DEPENDS.tmp} | \   xargs -n1 sh -c 'cd $0; make
-V DEPENDS | xargs -n1 echo' \   >> ${DEPENDS.tmp2} && mv
${DEPENDS.tmp2} ${DEPENDS.tmp}  except it doesn't expand the
variables in the DEPENDS. Now you can trim duplicates, resolve
variables, whatever, but don't sort! Finally, you reverse the
file into ${DEPENDSFILE}. [Mere details ommitted.]  Now you're
all done with the indefi