From owner-freebsd-ports@FreeBSD.ORG Tue Aug 15 13:37:58 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org 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 8B6FA16A4DD; Tue, 15 Aug 2006 13:37:58 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C01B43D7F; Tue, 15 Aug 2006 13:37:47 +0000 (GMT) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 862EA99C6D8; Tue, 15 Aug 2006 15:37:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5bY5CWuERd9t; Tue, 15 Aug 2006 15:37:42 +0200 (CEST) Received: from [192.168.2.186] (catv-50635cb6.catv.broadband.hu [80.99.92.182]) by server.t-hosting.hu (Postfix) with ESMTP id CB23E99C677; Tue, 15 Aug 2006 15:37:42 +0200 (CEST) Message-ID: <44E1CE22.4050802@FreeBSD.org> Date: Tue, 15 Aug 2006 15:37:38 +0200 From: =?UTF-8?B?R8OhYm9yIEvDtnZlc2TDoW4=?= User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: G??bor K??vesd??n , Sergey Matveychuk , freebsd-ports@FreeBSD.org, erwin@freebsd.org References: <20060814234414.GA57035@hades.panopticon> <44E16DF6.20705@FreeBSD.org> <44E1964F.8060500@FreeBSD.org> <20060815125310.GB52489@hades.panopticon> In-Reply-To: <20060815125310.GB52489@hades.panopticon> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: ATTENTION: is the way DESTDIR was introduced completely wrong? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 13:37:58 -0000 Dmitry Marakasov wrote: > * G??bor K??vesd??n (gabor@FreeBSD.org) wrote: > >>> I agree with every your word. >>> >> I was to implement it in this way, but as I said this would require us >> to change all of the *_DEPENDS lines. Erwin told me that this can't be >> happen, so I was pushed to go the another way. Erwin is in portmgr, and >> portmgr's word make sense in these questions... >> > Why change _DEPENDS lines in ports while we can prepend DESTDIR where > needed in bsd.port.mk? I can make the patches if needed Maybe with a hackery you can. I haven't thought of such special thing. Can you show how you mean? > >>> This is exactly I proposed. But I've not been heard. >>> >> You have been, but this will happen later, after an -exp run as Erwin >> said. And in the opposite form. Ports that don't respect DESTDIR will be >> marked. >> > Could you point me to any information regarding this -exp? > Honestly I don't get how the software can be proven working without > human inspection. > Ok, there can be errors on stderr. But what about GUI software? There > will be messageboxes, how to detect these? Or there will be no > complaints at all, software just won't work properly (i.e. a game will > run with no textures/no sound etc.). > We may search for paths in all files installed by port (simple > grep(1) on text files, strings(1)|grep on binaries) to detect wrong > paths - that's far more reliable - is that what's done? > > An -exp run is a full run on the package building cluster that is maintained by portmgr@. You might contact them on this address. I don't know what I can do now myself, I just did what I've been told to do: wrote an implementation where only small modifications are necessary to make ports respect DESTDIR, but many people seem to be unsatisfied and disappointed with this solution. -- Cheers, Gabor