Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2002 00:52:39 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Udo Schweigert <udo.schweigert@siemens.com>
Cc:        Alan Eldridge <alane@geeksrus.net>, freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/33500: mutt-devel 1.3.24_1 => 1.3.24_2: imap* in muttrc now errors
Message-ID:  <20020105005239.B287@straylight.oblivion.bg>
In-Reply-To: <20020103150122.GA4277@alaska.cert.siemens.de>; from udo.schweigert@siemens.com on Thu, Jan 03, 2002 at 04:01:22PM %2B0100
References:  <200201030210.g032A1G19331@freefall.freebsd.org> <20020103150122.GA4277@alaska.cert.siemens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 03, 2002 at 04:01:22PM +0100, Udo Schweigert wrote:
> On Wed, Jan 02, 2002 at 18:10:01 -0800, Alan Eldridge wrote:
> > The following reply was made to PR ports/33500; it has been noted by GNATS.
> > 
> > From: Alan Eldridge <alane@geeksrus.net>
> > To: Edwin Groothuis <edwin@mavetju.org>
> > Cc: freebsd-gnats-submit@FreeBSD.org, ports@geeksrus.net
> > Subject: Re: ports/33500: mutt-devel 1.3.24_1 => 1.3.24_2: imap* in muttrc now errors
> > Date: Wed, 2 Jan 2002 21:00:00 -0500
> > 
> >  On Thu, Jan 03, 2002 at 12:55:48PM +1100, Edwin Groothuis wrote:
>  >>On Wed, Jan 02, 2002 at 08:15:37PM -0500, Alan Eldridge wrote:
>  >>> [alane ~]$ mutt
>  >>> Error in /home/alane/.muttrc, line 21: imap_user: unknown variable
>  >>> Error in /home/alane/.muttrc, line 22: imap_home_namespace: unknown variable
>  >>> source: errors in /home/alane/.muttrc
>  >>> Press any key to continue...
>  >>
>  >>You should make it with WITH_MUTT_IMAP=yes:
>  >>[/usr/ports/mail/mutt-devel] root@k7>make WITH_MUTT_IMAP=yes
>  >>
> >  
> >  Yeah. The default of no-slang is a bigger PITA, really. Why is the 
> >  default build so radically different than the package build?
> >  
> 
> To be more customizable. To customize yourself put into your /etc/make.conf
> something like:
> 
> WITH_MUTT_SLANG=		yes
> WITH_MUTT_IMAP=			yes
> WITH_MUTT_QUOTE_PATCH=		yes
> WITH_MUTT_NNTP=			yes
> WITH_MUTT_COMPRESSED_FOLDERS=	yes
> 
> (As you may notice: all the knobs are for the mutt-devel port only, so they
> do not affect other ports, as it would be if you state PACKAGE_BUILDING=yes)
> 
> To get the same as the binary package (via PACKAGE_BUILDING) you need:
> 
> WITH_MUTT_SLANG=	yes
> WITH_MUTT_IMAP=		yes
> WITH_MUTT_POP=		yes
> WITH_MUTT_HTML=		yes # (not on alpha!)
> 
> I wouldn't have a problem in defaulting to WITH_MUTT_SLANG; if there are
> demands on that I can change the port that way - thinking a little about
> that I conclude that it's a good idea ;-)

And, of course, you can always use the sysutils/penv port, and do
something like:

cd /usr/ports/mail/mutt-devel
penv -c mkdir
penv -S WITH_MUTT_SLANG=yes WITH_MUTT_IMAP=yes WITH_MUTT_NNTP=yes

..and then each time you want to rebuild mutt, just..

cd /usr/ports/mail/mutt-devel
penv make clean all install && penv make clean

Voila! :)

Or, if you use the make(1) patch that I posted to -arch a few days ago,
you do not need to prefix your make invocation with penv; just have
a MAKEENVPROC='penv -L' and MAKEENVDIR matching /usr/ports/mail/mutt-devel
(just MAKEENVDIR=/ports/ would do).

G'luck,
Peter

-- 
This sentence was in the past tense.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020105005239.B287>