Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2003 21:07:08 +0100
From:      Jez Hancock <jez.hancock@munk.nu>
To:        freebsd-questions@freebsd.org
Subject:   Re: make options for ports
Message-ID:  <20030818200708.GA60439@users.munk.nu>
In-Reply-To: <20030818103135.E64587@babelfish.pursued-with.net>
References:  <20030818103135.E64587@babelfish.pursued-with.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 18, 2003 at 10:38:46AM -0700, Kevin Stevens wrote:
> I'm struggling with an issue in trying to compile ports.  The specific one
> is the imap-uw port, but it's a more general question.  I need to be able
> to download and expand the distribution file, then to perform some source
> code modifications, and then compile and install the port.
> 
> It seems that whichever sequence of make targets I try, I end up either
> wiping out the existing source code and re-expanding the distribution
> (which wipes out my edits); or simply reinstalling the already-compiled
> binaries without recompiling (which ignores my edits).
Something like:

make clean extract
<make your changes to source in 'work' dir>
make install

should work fine (this worked ok for me with imap-uw).  Won't work with
all ports, particularly if there are freebsd port patch files that are
applied in the make process (found in the port's 'files' directory).

-- 
Jez

http://www.munk.nu/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030818200708.GA60439>