always-interactive ports

Peter Pentchev roam at ringlet.net
Mon Nov 24 06:59:30 PST 2008


On Mon, Nov 24, 2008 at 12:47:13PM +0000, RW wrote:
> On Mon, 24 Nov 2008 13:55:55 +0200
> Andriy Gapon <avg at icyb.net.ua> wrote:
> 
> > 
> > I wonder if we have any flag for always-interactive ports i.e. ports
> > that prompt user for something regardless of all batch/interactivity
> > options. One example is java/jdk* ports that prompt user for license
> > acceptance.
> > 
> > If we don't have such a flag, maybe we should add one.
> > 
> > One use, for instance, is to skip such ports for portupgrade --batch.
> 
> From man ports:
> 
> INTERACTIVE   If defined, only operate on a port if it requires
>               interaction.
> 
> BATCH         If defined, only operate on a port if it can be 
>               installed 100% automatically.

That's from the building user's point of view.

The easiest way to handle this in the port itself is to set
IS_INTERACTIVE=yes in the port's Makefile, as documented in bsd.port.mk.

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net    roam at space.bg    roam at FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If wishes were fishes, the antecedent of this conditional would be true.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20081124/9660545a/attachment.pgp


More information about the freebsd-ports mailing list