From owner-freebsd-questions Sun Jan 9 4:52:21 2000 Delivered-To: freebsd-questions@freebsd.org Received: from typhoon.mail.pipex.net (typhoon.mail.pipex.net [158.43.128.27]) by hub.freebsd.org (Postfix) with SMTP id 6722115A41 for ; Sun, 9 Jan 2000 04:52:12 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 24136 invoked from network); 9 Jan 2000 12:52:06 -0000 Received: from userbe97.uk.uudial.com (HELO marder-1.) (62.188.142.19) by smtp.dial.pipex.com with SMTP; 9 Jan 2000 12:52:06 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id MAA00664; Sun, 9 Jan 2000 12:41:54 GMT (envelope-from mark) Date: Sun, 9 Jan 2000 12:41:54 +0000 From: Mark Ovens To: John Indra Cc: freebsd-questions@freebsd.org Subject: Re: S-Lang compiled (was: Re: Can't get...) Message-ID: <20000109124154.A327@marder-1> References: <20000108190908.A7017@bigfoot.com> <20000108050325.H584@fw.wintelcom.net> <20000108222728.B16487@bigfoot.com> <20000108164802.D2853@marder-1> <20000109154041.A441@bigfoot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000109154041.A441@bigfoot.com> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 09, 2000 at 03:40:41PM +0700, John Indra wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sat, Jan 08, 2000 at 04:48:02PM +0000, Mark Ovens wrote: > > | Just put the tarball in /usr/ports/distfiles and run ``make && make > | install'' in usr/ports/devel/libslang. make(1) only gets the tarballs > | from the Internet if it doesn't find them in /usr/ports/distfiles. > > Oooh... thanks for pointing that out for me... > Looks like I didn't spot this sentence when I read the chapter about > port collection =( > > OK... now I have S-Lang 1.3.10 lying around on my FreeBSD box. > > | The current version in the ports is 1.0i. > > Yupe... I've checked and even installed Mutt from the ports-current. Now > Mutt is working just fine... > > Another question if I may: > I want to customize my Mutt 1.0i, to NOT show X-Mailer (I want to > customize it using my own X-Mailer header). Unfortunately, there's no > runtime configuration to achieve this (in the developer version of Mutt, > there's a runtime configuration to eliminate the User-Agent, the new way > to call X-Mailer, header). > One easy way to achieve this back in the era when I was using the stable > version of Mutt was to do this: > # CFLAGS="-DNO_XMAILER" ./configure --with-slang > > Now, how can I achieve this if I want to compile from the ports? > > # cd /usr/ports/mail/mutt > # make USE_SLANG=YES > > Where and when should I pass the CFLAGS="-DNO_XMAILER"? > Well, you *should* be able to just do # make USE_SLANG=YES CFLAGS+=" -DNO_XMAILER" Note the ``+='' not just ``=''. Not all programs in the ports will honour a CFLAGS option on the command-line. IIRC it is usually those that use ``configure'' to create the Makefile(s). If this is the case with mutt(1) then just run # make USE_SLANG=YES configure and edit the Makefile(s) to add -DNO_XMAILER. Then run # make USE_SLANG=YES install HTH > Thanks... > > Regards, > John Indra -- ICQ UIN #26095019 > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.0 (FreeBSD) > Comment: Be the best! > > iD8DBQE4eEmJxcp0HIxafmQRAiP0AJ42WMh2yn184/x+BHRlLLW/QhbZiACgmHcg > KuSYCQ0C35fmFTzvpSyYcW0= > =BIuu > -----END PGP SIGNATURE----- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- "there's a long-standing bug relating to the x86 architecture that allows you to install Windows too" -Matthew D. Fuller ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message