Bug 171178

Summary: textproc/aspell does not recognize standard filters
Product: Ports & Packages Reporter: Aleksey Romanov <aromanov>
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed Feedback Timeout    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Aleksey Romanov 2012-08-30 00:10:05 UTC
1. Aspell sees only url filter

aspell dump filters
url            filter to skip URL like constructs

Compare it with:

aspell dump filters  
url            filter to skip URL like constructs
email          filter for skipping quoted text in email messages
tex            filter for dealing with TeX/LaTeX documents
sgml           filter for dealing with generic SGML/XML documents
html           filter for dealing with HTML documents
context        experimental filter for hiding delimited contexts
nroff          filter for dealing with Nroff documents
texinfo        filter for dealing with Texinfo documents

2. As the result emacs ispell package fails with 

ispell-init-process: Error: The filter "nroff" does not exist

Fix: 

aspell need dynamic linking library (libdl). FreeBSD does not have this library but its functionality provided by libc.

So, the easiest way to fix is to run configure to get proper link statements generated and then patch generated settings.h enable appropriate compilations.
How-To-Repeat: Just install the port and try dumping its filters
Comment 1 Edwin Groothuis freebsd_committer 2012-08-31 08:51:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->office

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Aleksey Romanov 2012-09-19 21:35:54 UTC
Do we need fix?

Thanks,

Aleksey
Comment 3 Baptiste Daroussin freebsd_committer 2012-09-24 10:56:23 UTC
Can you give more details?

From my testings, aspell is built with dlopen support

regards,
Bapt