From owner-freebsd-ports@FreeBSD.ORG Mon Mar 8 12:18:08 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 2F0E2106564A for ; Mon, 8 Mar 2010 12:18:08 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id 008AF8FC16 for ; Mon, 8 Mar 2010 12:18:07 +0000 (UTC) Received: by mail.team1internet.com (Postfix, from userid 12346) id 1A43616B4F8; Mon, 8 Mar 2010 06:18:07 -0600 (CST) Received: from larseighner.com (unknown [216.110.13.78]) by mail.team1internet.com (Postfix) with SMTP id 59FAB16B4B2; Mon, 8 Mar 2010 06:18:05 -0600 (CST) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Mon, 8 Mar 2010 06:17:28 -0600 (CST) Date: Mon, 8 Mar 2010 06:17:27 -0600 (CST) From: Lars Eighner X-X-Sender: lars@debranded.6dollardialup.com To: Oliver Fromme In-Reply-To: <201003081150.o28Bo5QI078355@lurza.secnetix.de> Message-ID: <20100308055845.J12240@qroenaqrq.6qbyyneqvnyhc.pbz> References: <201003081150.o28Bo5QI078355@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Sanitizer: Anomy and SpamAssassin mail filter - see http://www.6dollardialup.com/support/spaminfo.html 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 12:18:08 -0000 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. > > While building joe, it _does_ display that it depends on > aspell, and it correctly reports it as "found". It also > depends in libiconv, which _is_ correctly recorded in the > package database. > > Am I doing something wrong, or is there a bug somewhere? -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266