make options for ports

Erik Trulsson ertr1013 at student.uu.se
Mon Aug 18 13:13:32 PDT 2003


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.

First do a 'make patch', which will extract the distfile and apply the
patches that are part of the port.
The do a 'cd' into the workdir and modify the sources as you wish, and
then 'cd' back into the port-directory, and do a 'make install' which
will configure, compile and install that port using the source code
that you have modified.
Works just fine for me, and there is no reason it shouldn't work for
you too.

> 
> 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).
> 
> I'm sure I'm missing something obvious here, but I can't figure it out.
> Help?



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-questions mailing list