mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 11:10:32 -04:00
for computer emulation. Right now it can emulate Sun 2/120 and 3/150. WWW: http://theory.lcs.mit.edu/~fredette/tme/ PR: ports/106839 Submitted by: trasz <trasz at pin.if.uz.zgora.pl>
18 lines
627 B
C
18 lines
627 B
C
--- libtme/module.c.orig Wed Jan 26 13:59:24 2005
|
|
+++ libtme/module.c Sun Dec 17 19:11:37 2006
|
|
@@ -107,13 +107,14 @@
|
|
FILE *modules_index;
|
|
|
|
/* pass over the search path environment variables: */
|
|
- for (pass = 0; ++pass < 2; ) {
|
|
+ for (pass = 0; ++pass <= 3; ) {
|
|
|
|
/* get the next search path environment variable value: */
|
|
search_path = NULL;
|
|
switch (pass) {
|
|
case 1: search_path = getenv("LTDL_LIBRARY_PATH"); break;
|
|
case 2: search_path = getenv(LTDL_SHLIBPATH_VAR); break;
|
|
+ case 3: search_path = "%%PREFIX%%/lib"; break;
|
|
default: assert(FALSE);
|
|
}
|
|
if (search_path == NULL) {
|