Subject: Re: Solaris 10 problem
To: Skylar Thompson <skylar@cs.earlham.edu>
From: Matthew Kolb <muk@msu.edu>
List: tech-pkg
Date: 07/21/2006 23:34:12
On Jul 21, 2006, at 10:19 PM, Skylar Thompson wrote:
> I just got a brand spanking new Sun Ultra 20 running Solaris 10
> x86, and
> I'm having some problems with the pkgsrc collection. I've got
> everything
> bootstrapped fine with the Sun Studio compiler. I'm trying to build
> packages, but I'm running into circular dependency with gettext-tools
> needing gmake which needs gcc which needs gmake, etc.
>
> What I don't get is why gcc is being built at all. Can't I just use
> the
> Sun Studio compiler? Is there a way to disable the gcc dependency for
> all packages?
This is my mk.conf on one of our x4200s:
BUILDLINK_LDFLAGS.gettext= -R/usr/pkg/lib
BUILDLINK_LIBDIRS.gettext= lib
CC=cc
CFLAGS=-fast
CPP=/usr/ccs/lib/cpp
CXX=CC
CXXFLAGS=-fast
FETCH_CMD=/usr/pkg/bin/ftp
IS_BUILTIN.gettext= yes
LOCALBASE=/usr/pkg
LOCALPATCHES=/usr/local/patches
PAX=/usr/pkg/bin/pax
PKGSRC_COMPILER=sunpro
PKG_DBDIR=/var/db/pkg
SED=/usr/pkg/bin/nbsed
Note the PKGSRC_COMPILER entry.
This works pretty well for us.
./matt