Files
Joshua Root e1a5c0e093 userinfo: update to 2.5, nomaintainer
Also update homepage, set license, install docs.

Closes: https://trac.macports.org/ticket/59578
2019-11-12 07:25:05 +11:00

30 lines
905 B
Diff

--- src/ui.c.orig 2015-01-15 12:35:26.000000000 +1100
+++ src/ui.c 2019-11-12 07:13:32.000000000 +1100
@@ -685,7 +685,7 @@ int main(int argc, char *argv[])
switch (opt) {
case 'd':
- if (open_module("passwd.so", &mod) == 0) {
+ if (open_module("__PREFIX__/lib/userinfo/passwd.so", &mod) == 0) {
if (init_module_options(1, NULL, mod))
want_help = 1;
}
@@ -694,7 +694,7 @@ int main(int argc, char *argv[])
goto cleanup;
}
- if (open_module("mail.so", &mod) == 0) {
+ if (open_module("__PREFIX__/lib/userinfo/mail.so", &mod) == 0) {
if (init_module_options(1, NULL, mod))
want_help = 1;
}
@@ -703,7 +703,7 @@ int main(int argc, char *argv[])
goto cleanup;
}
- if (open_module("login.so", &mod) == 0) {
+ if (open_module("__PREFIX__/lib/userinfo/login.so", &mod) == 0) {
if (init_module_options(1, NULL, mod))
want_help = 1;
}