From owner-cvs-all@FreeBSD.ORG Tue Jun 28 19:47:19 2005 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45D6E16A41C; Tue, 28 Jun 2005 19:47:19 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from mail.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id D667243D1F; Tue, 28 Jun 2005 19:47:18 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (mail.ijs.si [193.2.4.66]) by patsy.ijs.si (Postfix) with ESMTP id E990E17B8DC; Tue, 28 Jun 2005 21:47:17 +0200 (CEST) Received: from patsy.ijs.si ([127.0.0.1]) by localhost (patsy.ijs.si [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 39517-02-5; Tue, 28 Jun 2005 21:47:11 +0200 (CEST) Received: from idefix.ijs.si (idefix.ijs.si [193.2.4.33]) by patsy.ijs.si (Postfix) with ESMTP id CE31B17B8BB; Tue, 28 Jun 2005 21:47:11 +0200 (CEST) Received: from localhost.ijs.si (localhost.ijs.si [127.0.0.1]) by idefix.ijs.si (Postfix) with ESMTP id A7C835C11; Tue, 28 Jun 2005 21:47:11 +0200 (CEST) From: Dejan Lesjak To: obrien@freebsd.org Date: Tue, 28 Jun 2005 21:47:10 +0200 User-Agent: KMail/1.8 References: <200506172259.j5HMxTad068378@repoman.freebsd.org> <200506281352.06008.dejan.lesjak@ijs.si> <20050628183210.GC92486@dragon.NUXI.org> In-Reply-To: <20050628183210.GC92486@dragon.NUXI.org> X-Face: l`biwj7ErNt!P.,J7a!e:(1e=K=NSp5kC`U:f"{,=?utf-8?q?=25ehAE3=5CW=7DYb=60=3AP=60m4Or-k=3Dy=24=7C=3BoF51=0A=09xZ=3A?=),6FF&_y; =Ty5^c>T1+7cC?z\J@YDEjb MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506282147.11112.dejan.lesjak@ijs.si> X-Virus-Scanned: amavisd-new at ijs.si Cc: cvs-ports@freebsd.org, Alexander Leidinger , Michael Nottebrock , cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports CHANGES UPDATING ports/Mk bsd.port.mk ports/accessibility/linux-atk Makefile pkg-plist ports/archivers/stuffit Makefile ports/astro/linux-setiathome Makefile ports/audio/baudline Makefile ports/audio/linux-arts ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 19:47:19 -0000 On Tuesday 28 of June 2005 20:32, David O'Brien wrote: > On Tue, Jun 28, 2005 at 01:52:05PM +0200, Dejan Lesjak wrote: > > On Monday 27 of June 2005 19:01, David O'Brien wrote: > > > On Sat, Jun 25, 2005 at 07:24:20PM +0200, Michael Nottebrock wrote: > > > > On Saturday, 18. June 2005 00:59, Alexander Leidinger wrote: > > > > > - Use the correct prefix (X11- instead of LOCAL- or LINUX-) for > > > > > some ports. Chase dependencies for this. > > > > > > > > I know I'm late to the party, but I'm really wondering what that is > > > > meant to accomplish. > > > > > > > > X_PREFIX is *not* the 'correct' prefix for *anything* but the X11 > > > > distribution > > > > > > Not quite. Anything that uses Imake will also be installed in > > > X_PREFIX. If that's not what we desire, we should fix > > > /usr/X11R6/lib/config. > > > > Or Imakefiles of those ports can be changed. Or parameters passed to > > imake can be changed. I'd prefer that to actually modifying imake > > configuration if possible and if modifying imake-using ports wouldn't > > turn out too complicating. > > No the philisphy behind Imake is that a package doens't have to know > site-specific policy - it is suppose to be encoded in the site-specific > Imake configuration. Yes, but in this case a port that does not override imake cf defaults expects to be installed in same place as X11 - basically under ProjectRoot as defined by imake configuration (as imake specifies prefix for it). DESTDIR for example is respected by imake and ports can set it (like for example astro/sunclock does). Furthermore BINDIR, MANDIR and such are also respected by Makefiles that imake generates so they can be simply overridden by MAKE_FLAGS. The point is that we are actually overriding default prefix of something when it is converted to port. The same way --prefix=${PREFIX} is added to CONFIGURE_ARGS for GNU_CONFIGURE case so I believe it would be consistent to do it this way. > What is wrong with installing proper site configuration files? Mostly that this would also change default prefix for Xorg/XFree so they would also install under that different prefix (unless of course we'd build X with either custom imake config files or with custom flags). Which would actually be good if eventually it is decided to have a common prefix for all ports (like, say, pkgsrc with /usr/pkg). Perhaps that wouldn't be such a bad idea... Perhaps I'm just overcomplicating. Did you have some specific imake config change in mind? Dejan