From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 11:34:47 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 1145A16A4B3 for ; Mon, 29 Sep 2003 11:34:47 -0700 (PDT) Received: from avocado.propagation.net (1-247-249-63-rev.propagation.net [63.249.247.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE0E844032 for ; Mon, 29 Sep 2003 11:34:45 -0700 (PDT) (envelope-from ryan@ryansandridge.com) Received: from ryansandridge.com (pcp02137980pcs.reston01.va.comcast.net [68.48.27.64]) by avocado.propagation.net (8.9.3p2/8.8.5) with ESMTP id NAA25341 for ; Mon, 29 Sep 2003 13:36:17 -0500 Date: Mon, 29 Sep 2003 14:35:31 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Ryan Sandridge To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.552) Subject: Re: Configuring imap-uw difficulties X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@ryansandridge.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 18:34:47 -0000 On Monday, Sep 29, 2003, at 13:16 US/Eastern, Charles Swiger wrote: > > On Monday, September 29, 2003, at 01:10 PM, Ryan Sandridge wrote: >> My trouble is with changing some of the defaults. Unless I'm missing >> something, all configuration is done through re-compiling rather than >> a configuration file. Not my preference, but I can deal with that. >> In particular I modify .../src/osdep/unix/env_unix.c to change the >> mail subdirectory name. >> >> I thought after making this change, all I needed to do was '$ cd >> /usr/ports/mail/imap-uw' then type '$ make' to rebuild it with the >> changes. But it seems to think it is up to date (so doesn't >> recompile). So perhaps my confusion is really due to lack of >> understanding of the Ports system or of how to compile. > > You should try the following: > > cd /usr/ports/mail/imap-uw > make clean > make deinstall > make patch > [ ...change the env_unix.c file under the work subdir... ] > make > make install > Thanks for the lightening fast response. This compiled as expected, although my source change did not appear to take effect. After changing the mailsubdir from NIL to "mail", I'm still dumped in my home directory, not mail subdirectory. This is probably an issue I should take up with the imap-uw mailing list. I do have a followup question to your response. Doing 'make clean' removes everything in the work subdir, right? So if I follow all those steps every time I want to make a change, won't I need to make all previous changes again? Is there a better way? Thanks, Ryan