Skip to content

pkgsrc enchant2 does not find dictionaries on macOS #368

Description

@rnkn

Hello,

I've encountered an interesting problem. When building the enchant2 spellchecker from pkgsrc on macOS it builds successfully but then fails to find the AppleSpell dictionaries, whereas when building from the release tarball it succeeds in finding the dictionaries and working as expected.

To reproduce:

  1. $ cd textproc/enchant2
  2. $ export PKG_OPTIONS.enchant2 = -hunspell
  3. $ bmake
  4. # bmake install
  5. # echo '*:AppleSpell' > /opt/pkg/etc/enchant.ordering
  6. $ enchant-lsmod-2 -list-dicts

Expected results:

Output of AppleSpell dictionaries:

de_DE (AppleSpell)
en_AU (AppleSpell)
en_CA (AppleSpell)
en_GB (AppleSpell)
en_US (AppleSpell)
es_ES (AppleSpell)
fr_FR (AppleSpell)
hu_HU (AppleSpell)
it_IT (AppleSpell)
nl_NL (AppleSpell)
pt_BR (AppleSpell)
sv_SE (AppleSpell)

Actual results:

Nothing.

Whereas when built from source I get the expected results.

Please let me know if this should be reported to pkgsrc/NetBSD instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions