Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2003 21:46:59 -0500
From:      parv <parv@pair.com>
To:        Alex <xela@battleface.com>
Cc:        Freebsd-questions@freebsd.org
Subject:   Re: mangling instant-workstation...
Message-ID:  <20031220024659.GA508@moo.holy.cow>
In-Reply-To: <44DB20F0-324C-11D8-B927-000A95775140@battleface.com>
References:  <44DB20F0-324C-11D8-B927-000A95775140@battleface.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <44DB20F0-324C-11D8-B927-000A95775140@battleface.com>,
wrote Alex thusly...
>
> I want to use the instant-workstation port to package my setup and
...
> However, there are many ports I want to set defines for (-D). How
> can I do this with instant-workstation? I thought at one point
> make.conf came into the picture. But I think I ran into name
> collisions, so that was out. 

You would spam the heck out of /etc/make.conf if you use it for your
stated purpose.  As i see it, that file is best suited for system
wide configuration, not per port.

You may want to create Makefile.local in the ports' directories that
will be/are installed by instant-workstation.  Mind that not all
ports respect/use Makefile.local.

Other option would be to save various knobs & switches in
pkgtools.conf, read/used by portupgrade, available in
/usr/ports/sysutils.

The best thing that could be done is by instant-workstation port
itself, which would/should one allow to specify various ports'
configurations.

But then, the purpose of instant-workstation port, as i understand
it, is to install various ports w/ minimum fuss.  If it were too
provide some sort of per port configuration tool, then you would be
better off using portupgrade, in addition to, perhaps,
(semi)automating the process yourself.


  - Parv

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031220024659.GA508>