Use the PORTSDIR config variable when generating ports INDEX output, rather than hardwiring '/usr/ports' into the code. All the world is not FreeBSD and ports can be elsewhere on different systems.
modified src/rquery.c
@@ -79,16 +79,13 @@ usage_rquery(void)
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -110,6 +107,7 @@ exec_rquery(int argc, char **argv)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -120,6 +118,8 @@ exec_rquery(int argc, char **argv)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -222,7 +222,7 @@ exec_rquery(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -241,7 +241,7 @@ exec_rquery(int argc, char **argv)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|