diff options
Diffstat (limited to 'dev-lang/yap/files/yap-6.0.3-yapsharedir.patch')
-rw-r--r-- | dev-lang/yap/files/yap-6.0.3-yapsharedir.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-lang/yap/files/yap-6.0.3-yapsharedir.patch b/dev-lang/yap/files/yap-6.0.3-yapsharedir.patch new file mode 100644 index 000000000000..d4fec59472d7 --- /dev/null +++ b/dev-lang/yap/files/yap-6.0.3-yapsharedir.patch @@ -0,0 +1,14 @@ +--- yap-6.0.3.orig/pl/consult.yap 2010-03-16 03:45:21.000000000 +1300 ++++ yap-6.0.3/pl/consult.yap 2010-03-21 10:26:22.000000000 +1300 +@@ -877,9 +877,9 @@ + atom_concat([Path,File],PFile). + + '$system_library_directories'(Dir) :- +- getenv('YAPSHAREDIR', Dir). ++ getenv('YAPSHAREDIR', Dir), !. + '$system_library_directories'(Dir) :- +- getenv('YAPCOMMONSDIR', Dir). ++ getenv('YAPCOMMONSDIR', Dir), !. + '$system_library_directories'(Dir) :- + get_value(system_library_directory,Dir). + '$system_library_directories'(Dir) :- |