2013-09-26 17:14:40 +02:00

15 lines
503 B
Plaintext

$NetBSD: patch-ab,v 1.2 2010/09/13 10:36:51 wiz Exp $
fix path of libenchant.
--- enchant/_enchant.py.orig 2010-08-17 04:15:25.000000000 +0000
+++ enchant/_enchant.py
@@ -64,6 +64,7 @@ e = None
def _e_path_possibilities():
"""Generator yielding possible locations of the enchant library."""
yield os.environ.get("PYENCHANT_LIBRARY_PATH")
+ yield "@PYENCHANT_LIBRARY_PATH@"
yield find_library("enchant")
yield find_library("libenchant")
yield find_library("libenchant-1")