2016-01-21 23:40:00 +01:00

15 lines
581 B
Plaintext

$NetBSD: patch-ab,v 1.3 2014/07/22 10:22:39 wiz Exp $
fix path of libenchant.
--- enchant/_enchant.py.orig 2014-06-16 12:01:43.000000000 +0000
+++ enchant/_enchant.py
@@ -64,6 +64,7 @@ e = None
def _e_path_possibilities():
"""Generator yielding possible locations of the enchant library."""
# Allow it to be overridden using an environment variable.
+ yield "@PYENCHANT_LIBRARY_PATH@"
yield os.environ.get("PYENCHANT_LIBRARY_PATH")
# For linuxish systems, allow default soname lookup a chance to succeed.
if sys.platform not in ("win32", "darwin"):