From owner-freebsd-questions@FreeBSD.ORG Mon Aug 18 13:18:08 2003 Return-Path: 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 8585537B404 for ; Mon, 18 Aug 2003 13:18:08 -0700 (PDT) Received: from pursued-with.net (adsl-66-125-9-242.dsl.sndg02.pacbell.net [66.125.9.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9139443FD7 for ; Mon, 18 Aug 2003 13:18:07 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Received: from babelfish.pursued-with.net (babelfish.pursued-with.net [192.168.168.42]) by pursued-with.net (8.12.8p1/8.12.8) with ESMTP id h7IKJq1S065120 for ; Mon, 18 Aug 2003 13:19:52 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Date: Mon, 18 Aug 2003 13:19:52 -0700 (PDT) From: Kevin Stevens To: freebsd-questions@freebsd.org In-Reply-To: <20030818201324.GA19629@falcon.midgard.homeip.net> Message-ID: <20030818131658.U64954@babelfish.pursued-with.net> References: <20030818103135.E64587@babelfish.pursued-with.net> <20030818201324.GA19629@falcon.midgard.homeip.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: make options for ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kevin_Stevens@pursued-with.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 20:18:08 -0000 On Mon, 18 Aug 2003, Erik Trulsson wrote: > 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. Thanks! The 'make patch' target is what I was missing, I was blowing past that with an initial 'make', and then getting stuck in various 'deinstall; reinstall' loops. I'll post back if I have further problems, but I suspect this is the answer I needed. KeS