ports/textproc/nuspell/files/patch-src-nuspell-finder.cxx
Po-Chuan Hsieh adaf512dc0
textproc/nuspell: Clean up Makefile
- Update WWW
- Update version requirement of TEST_DEPENDS
- Use complete arguments/options
- Convert REINPLACE_CMD to patch files
- Remove unnecessary substitution
- Cosmetic change
2024-09-05 14:17:48 +08:00

15 lines
524 B
C++

--- src/nuspell/finder.cxx.orig 2024-07-04 11:45:35 UTC
+++ src/nuspell/finder.cxx
@@ -94,9 +94,9 @@ auto append_default_dir_paths(vector<fs::path>& paths)
paths[i] /= "myspell";
}
else {
- paths.push_back("/usr/local/share/hunspell");
+ paths.push_back("%%PREFIX%%/share/hunspell");
paths.push_back("/usr/share/hunspell");
- paths.push_back("/usr/local/share/myspell");
+ paths.push_back("%%PREFIX%%/share/myspell");
paths.push_back("/usr/share/myspell");
}
#if defined(__APPLE__) && defined(__MACH__)