Date: Thu, 29 Aug 2002 08:41:39 -0500 (CDT) From: "Doug Poland" <doug@polands.org> To: <simond@irrelevant.org> Cc: <questions@FreeBSD.ORG> Subject: Re: Modifying a port for local use Message-ID: <52926.63.104.35.130.1030628499.squirrel@babylon.polands.org> In-Reply-To: <20020829061358.GA797@irrelevant.org> References: <20020828163410.A1930@polands.org> <20020829061358.GA797@irrelevant.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. >> >> So, how am I supposed to change a port so it installs and deinstalls >> outside the /usr/local directory structure? > > 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 :) > That's too easy... Thank you very much! -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52926.63.104.35.130.1030628499.squirrel>