From owner-freebsd-ports@FreeBSD.ORG Mon Mar 8 13:04:52 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E7FE1065670 for ; Mon, 8 Mar 2010 13:04:52 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id F01FB8FC36 for ; Mon, 8 Mar 2010 13:04:51 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id o28D4ZME082328; Mon, 8 Mar 2010 14:04:50 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id o28D4Zcx082327; Mon, 8 Mar 2010 14:04:35 +0100 (CET) (envelope-from olli) From: Oliver Fromme Message-Id: <201003081304.o28D4Zcx082327@lurza.secnetix.de> To: portsuser@larseighner.com (Lars Eighner) Date: Mon, 8 Mar 2010 14:04:35 +0100 (CET) In-Reply-To: <20100308055845.J12240@qroenaqrq.6qbyyneqvnyhc.pbz> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 08 Mar 2010 14:04:51 +0100 (CET) Cc: freebsd-ports@freebsd.org Subject: Re: editors/joe + textproc/aspell: dependency problem? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Mar 2010 13:04:52 -0000 Lars Eighner wrote: > On Mon, 8 Mar 2010, Oliver Fromme wrote: > > joe has a dependency on aspell (both build dependency _and_ > > run dependency), so I expected it to be recorded in the > > package database. But it isn't. pkg_info -r joe\* and > > pkg_info -R aspell\* don't report this dependency. > > joe does not really depend upon aspell. It comes with a macro that assumes > aspell, and of course the macro won't work without aspell. The joe binary > uses different configuration files depending upon how it is called (i.e. > one to make it act like pico if you call joe with jpico, act like emacs if > called as jmacs, etc.) > > The binary runs fine without aspell. In fact you can edit the configuration > files, which are plain ascii so that one of joe's faces uses ispell, one > uses aspell, and another has no mapping for a speller. If you had ispell > instead of aspell you could simply edit the configuration of the one(s) you > want to use. The joe macro language is very easy, but just changing one > letter in the spelling filter is a true no-brainer. > > It would be wrong for the joe build to fail without aspell because aspell > has nothing whatever to do with the joe binary. It would be great if the > build could rewrite the spelling macro according to which speller it could > find or disable the macro if it couldn't find any. > > With joe you can filter text through just about anything that can read from > STDIN and write to STDOUT: sed, tr, etc., including really heavy stuff like > (o)nsgmls. But it would be silly to say joe depends on them. It's the > bundled macro that uses aspell, and it can easily be edited to use anything > else. Yeah, I know all of that. I'm using joe for about 20 years. That doesn't explain the problem I'm seeing, though. (But Erik explained that very well.) Actually I don't need no freakin' spell checker at all, but the joe port insists on installing one. If it weren't for my lazyness I had submitted a patch for WITHOUT_ASPELL a long time ago ... ;-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "C++ is the only current language making COBOL look good." -- Bertrand Meyer