Skip to content
Permalink
Browse files

OS-2125 multilib: gcc package name has changed; configure is lost

  • Loading branch information
Keith M Wesolowski
Keith M Wesolowski committed Apr 22, 2013
1 parent 3e6a5ba commit 301f2f93f6328f4609fbe654c78256eeba20b328
Showing with 18 additions and 3 deletions.
  1. +18 −3 configure
@@ -75,10 +75,25 @@ function source_vars

function install_pkgin
{
local pkglist=

#
# Newer images have a pkgin repo with a 'build-essential' package
# that pulls in several of the packages we need. This is useful since
# it allows us to not worry about things like gcc46 vs. gcc47 etc.
#
$conf_priv pkgin -f update || fatal "failed to update pkgsrc repository"
for pkg in gmake binutils autoconf automake bison flex libtool-base \
python26 py26-expat libxslt gcc-compiler sun-jre6 sun-jdk6 gmp \
mpfr nodejs p5-XML-Parser gettext; do
if pkgin se build-essential | grep build-essential >/dev/null; then

This comment has been minimized.

Copy link
@nshalman

nshalman Apr 24, 2013

Contributor

This line is broken.
On my older zone:
[root@buildtest ~]# pkgin se build-essential
No results found for build-essential
[root@buildtest ~]# pkgin se build-essential 2>/dev/null | grep build-essential && echo WRONG!
No results found for build-essential
WRONG!

pkglist="build-essential"
else
pkglist="gmake binutils autoconf automake bison"
pkglist="$pkglist libtool-base gcc-compiler"
fi

pkglist="$pkglist flex libxslt sun-jre6 sun-jdk6 nodejs"
pkglist="$pkglist p5-XML-Parser gettext python26 py26-expat"

for pkg in $pkglist; do
if ! pkg_info -qe $pkg; then
$conf_priv pkgin -y install $pkg || fatal \
"failed to install $pkg"

0 comments on commit 301f2f9

Please sign in to comment.
You can’t perform that action at this time.