From owner-freebsd-ports Thu Jun 14 14:48:40 2001 Delivered-To: freebsd-ports@freebsd.org Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by hub.freebsd.org (Postfix) with ESMTP id 16C2E37B401 for ; Thu, 14 Jun 2001 14:48:38 -0700 (PDT) (envelope-from jhein@timing.com) Received: from brain.timing.com (brain.timing.com [206.168.13.195]) by Daffy.timing.com (8.9.3/8.9.3) with ESMTP id PAA75819; Thu, 14 Jun 2001 15:48:37 -0600 (MDT) (envelope-from jhein@timing.com) Received: (from jhein@localhost) by brain.timing.com (8.9.3/8.9.3) id PAA38724; Thu, 14 Jun 2001 15:48:36 -0600 (MDT) (envelope-from jhein@brain.timing.com) X-Authentication-Warning: brain.timing.com: jhein set sender to jhein@brain.timing.com using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15145.12596.830952.652505@brain.timing.com> Date: Thu, 14 Jun 2001 15:48:36 -0600 X-Mailer: VM 6.91 under Emacs 20.7.1 From: "John E. Hein" To: freebsd-ports@FreeBSD.ORG In-Reply-To: <200106142126.f5ELQrf48612@Elmer.timing.com> References: <200106142126.f5ELQrf48612@Elmer.timing.com> Subject: Re: ports/28155: DESTDIR is used incorrectly in bsd.port [see the PR for the patch] Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In the current ports infrastructure, as many of you know, setting DESTDIR/PREFIX/etc. will cause unexpected things to happen. Last week there was a thread about 'DESTDIR & /etc/shells'. The PR associated with that topic was closed because 'the problem lies much deeper.' It was opened again, but I agree that the problem is much deeper. The patch in the following PR begins to fix the core of the problem - bsd.port.mk. If anyone has ever wanted to install somewhere other that /usr/local and has run into problems, you know the issues. Check it out... apply the patch to your local ports tree. Try it, and let me know if I left anything out. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28155 There will still be some ports' Makefiles that need fixing (e.g., they might have post-install targets that should install to ${DESTDIR}/${PREFIX} instead of ${PREFIX}), but at least bsd.port.mk will treat DESTDIR and PREFIX right now with this patch. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message