From owner-freebsd-ports@FreeBSD.ORG Tue Jan 20 09:13:39 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3712116A4CE for ; Tue, 20 Jan 2004 09:13:39 -0800 (PST) Received: from outpost.globcon.net (outpost.globcon.net [62.141.88.161]) by mx1.FreeBSD.org (Postfix) with SMTP id B01CF43D77 for ; Tue, 20 Jan 2004 09:12:11 -0800 (PST) (envelope-from sergei@FreeBSD.org) Received: (qmail 18989 invoked from network); 20 Jan 2004 16:36:30 -0000 Received: from agdcgw01.akingump.com (HELO kolobov.com) (12.40.174.2) by outpost.globcon.net (62.141.88.161) with SMTP; 20 Jan 2004 16:36:30 -0000 Received: (qmail 50242 invoked by uid 911); 20 Jan 2004 16:35:42 -0000 Date: Tue, 20 Jan 2004 19:35:42 +0300 From: Sergei Kolobov To: Oliver Eikemeier Message-ID: <20040120163542.GD926@chetwood.ru> Mail-Followup-To: Oliver Eikemeier , Marius Strobl , ports@freebsd.org, Joe Marcus Clarke , Eivind Eklund , Kris Kennaway 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E/DnYTRukya0zdZ1" Content-Disposition: inline In-Reply-To: <400D45C4.6040707@fillmore-labs.com> User-Agent: Mutt/1.5.3i cc: ports@freebsd.org cc: Eivind Eklund cc: Kris Kennaway cc: Joe Marcus Clarke cc: Marius Strobl Subject: Re: HEADS UP: New bsd.*.mk changes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 17:13:39 -0000 --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--