From owner-freebsd-questions@FreeBSD.ORG Mon Aug 18 13:13:31 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 B8CC737B401 for ; Mon, 18 Aug 2003 13:13:31 -0700 (PDT) Received: from falcon.midgard.homeip.net (h76n3fls20o913.bredband.comhem.se [213.67.148.76]) by mx1.FreeBSD.org (Postfix) with SMTP id 50A6343FB1 for ; Mon, 18 Aug 2003 13:13:27 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: (qmail 24374 invoked by uid 1001); 18 Aug 2003 20:13:25 -0000 Date: Mon, 18 Aug 2003 22:13:24 +0200 From: Erik Trulsson To: Kevin Stevens Message-ID: <20030818201324.GA19629@falcon.midgard.homeip.net> Mail-Followup-To: Kevin Stevens , freebsd-questions@freebsd.org References: <20030818103135.E64587@babelfish.pursued-with.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030818103135.E64587@babelfish.pursued-with.net> User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: make options for ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 20:13:32 -0000 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? -- Erik Trulsson ertr1013@student.uu.se