Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 19:35:42 +0300
From:      Sergei Kolobov <sergei@FreeBSD.org>
To:        Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc:        Marius Strobl <marius@alchemy.franken.de>
Subject:   Re: HEADS UP: New bsd.*.mk changes
Message-ID:  <20040120163542.GD926@chetwood.ru>
In-Reply-To: <400D45C4.6040707@fillmore-labs.com>
References:  <1074590694.85583.20.camel@shumai.marcuscom.com> <400D2939.5090203@fillmore-labs.com> <20040120133020.GB94636@FreeBSD.org> <400D344B.6010403@fillmore-labs.com> <20040120140942.GD94636@FreeBSD.org> <20040120160137.A10434@newtrinity.zeist.de> <400D45C4.6040707@fillmore-labs.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--E/DnYTRukya0zdZ1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2004-01-20 at 16:14 +0100, Oliver Eikemeier wrote:
> Marius Strobl wrote:
> >LATEST_LINK on the other hand per default includes PKGNAMESUFFIX so one
> >would end up with different OPTIONSFILEs for ports which add PKGNAMESUFF=
IX
> >based on optional features, think of all the ports that optionally can
> >be built with support for GNOME and then define "-gnome" as PKGNAMESUFFI=
X,
> >so OPTIONSFILE wouldn't be unique per port and defeat its purpose.

Forget about LATEST_LINK as the name is confusing.
PKGBASE is the thing (as in eik's latest patch) and it includes=20
both PKGNAMEPREFIX *and* PKGNAMESUFFIX. IMHO, that's enough to solve
most (if not all) clash issues.

> A lot of ports use -client and -server as a PKGNAMESUFFIX, so it is not
> clear if it should be considered or not.

I believe there should be seperate option files in those case.
If you don't want them separate for some reason then ln(1) is your friend. =
;)

> >I'm not sure what a sane default for OPTIONSFILE would but but it at
> >least has to be easily overridable which currently isn't given.
> Yep.

I vote for ${PORT_DBDIR}/${PKGBASE} (i.e. no additional directory level).
You can also change permissions on ${PORT_DBDIR} to allow OPTIONSFILE
creation by non-root user.

Sergei

--E/DnYTRukya0zdZ1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFADVjeFOxuaTulNAERAnEIAJoDn83x+AjKx2MO/rcLW9G6afq/0QCcDWNC
h9E31TUr++ZGdfp84x+sE/E=
=3CmW
-----END PGP SIGNATURE-----

--E/DnYTRukya0zdZ1--



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