buildrepo
author Alex Viskovatoff <herzen@imap.cc>
Wed, 06 Jul 2011 03:54:09 +0100
changeset 10 013ce4d15ea3
parent 7 f5f12f417d49
child 17 916a0c548383
permissions -rwxr-xr-x
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`