Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2003 14:35:31 -0400
From:      Ryan Sandridge <ryan@ryansandridge.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Configuring imap-uw difficulties
Message-ID:  <B4C93CEA-F2AB-11D7-9AE6-000393DEE4B4@ryansandridge.com>
In-Reply-To: <AE9F0C8B-F2A0-11D7-8829-003065ABFD92@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B4C93CEA-F2AB-11D7-9AE6-000393DEE4B4>