Make pkgtool resolve build dependency on SFEgcc
The reason this patch is required is that the name of the gcc devel package
(SFEgcc) is different from the name of the main package of that spec
(SFEgccruntime). That naming scheme is utterly anomalous.
#!/usr/bin/bash
mkdir -p ~/logs/$1
# g++ sometimes picks up libstdcxx4 if it is present
pfexec pkg uninstall -r stdcxx
time pkgtool --nonotify --report=/export/home/herzen/reports/$1-gcc-first.html --logdir=/export/home/herzen/logs/$1 --autodeps --download build SFEgcc
time pkgtool --nonotify --report=/export/home/herzen/reports/$1.html --logdir=/export/home/herzen/logs/$1 --autodeps --download build `xsltproc ../spec-files-extra-oi/specfiles.xsl ../spec-files-extra-oi/packages.xml`