Configuring imap-uw difficulties

Ryan Sandridge ryan at ryansandridge.com
Mon Sep 29 11:34:47 PDT 2003


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



More information about the freebsd-questions mailing list