Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2005 12:20:34 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Mark Linimon <linimon@lonesome.com>
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: RFC: cleanup of linux ports
Message-ID:  <20050413122034.0c3fsbwxusw0ss4w@netchild.homeip.net>
In-Reply-To: <Pine.LNX.4.44.0504121146290.30410-100000@pancho>
References:  <Pine.LNX.4.44.0504121146290.30410-100000@pancho>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Linimon <linimon@lonesome.com> wrote:

> I am also still confused by the RUN_DEPENDS logic (some of this logic
> is in the current bsd.port.mk).
>
> In certain cases we depend on bin/sh to be the marker, in other cases
> etc/redhat-release.  This seems inconsistent.  I wonder if this
> would cause problems if trying to install different versions?

/bin/sh would be the canonical dependency. I don't think the actual behavior
results in problems.

> This logic also assumes that anything that isn't a partial portname
> or '7' should be the default.  This seems wrong.  IMHO after the
> test for '7' should be a test for 'yes', which sets whatever is the
> current default (currently 8).  Any other value should set IGNORE.

I did this because USE_LINUX was a trigger variable before. If set to any
value (even "no"), it triggered a dependency to the default linux base.

We have several of such trigger variables. I don't think we should change
that (for USE_LINUX only). If you think that we should get rid of trigger
variables, it should be done for all trigger variables at once.

Personally I think we should fix up the docs to explain that "no" doesn't
DTRT for those variables instead.

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
There was a young physicist named Fisk
Whose lovemaking was rather brisk.
	So quick was his action,
	The Lorentz Contraction
Shortened his rod to a disc !!




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