From owner-freebsd-questions Thu Aug 29 7:24:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBFDB37B401 for ; Thu, 29 Aug 2002 07:24:04 -0700 (PDT) Received: from mail4.new.rr.com (fe4.rdc-kc.rr.com [24.94.163.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B5F743E3B for ; Thu, 29 Aug 2002 07:24:04 -0700 (PDT) (envelope-from doug@polands.org) Received: from mydomain.com ([24.208.57.240]) by mail4.new.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Thu, 29 Aug 2002 09:20:42 -0500 Received: from 63.104.35.130 (proxying for 164.5.45.35) (SquirrelMail authenticated user djp) by babylon.polands.org with HTTP; Thu, 29 Aug 2002 09:24:03 -0500 (CDT) Message-ID: <24097.63.104.35.130.1030631043.squirrel@babylon.polands.org> Date: Thu, 29 Aug 2002 09:24:03 -0500 (CDT) Subject: Re: Modifying a port for local use From: "Doug Poland" To: In-Reply-To: <20020829061358.GA797@irrelevant.org> References: <20020828163410.A1930@polands.org> <20020829061358.GA797@irrelevant.org> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Simon Dick said: > On Wed, Aug 28, 2002 at 04:34:10PM -0500, Doug Poland wrote: >> Hello, >> >> I want to modify a port ( squirrelmail-1.2.7 ) for use on my system. >> The issue is where the port is installed. The Makefile lets the ports >> system install into /usr/local. However, I want it installed into >> /data/www. >> > > The normal way to do it doesn't even require altering the makefile, just > try this: > cd /usr/ports/mail/squirrelmail > make PREFIX=/data/www > make PREFIX=/data/www install > > and that should be recorded into the pkg db once it's installed. > (it works, I create ports using that method so ask more if you still > have problems :) > Hi Simon, I tried your suggestion and it did install my port in the location specified by PREFIX. However, it still creates the following directories in PREFIX { bin etc include info lib libdata libexec man sbin share} and pkg_delete is trying to delete files from /usr/local instead of PREFIX. Is the port system not designed to install outside /usr/local no matter how one slices it? Many thanks for your help. -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message