Opened 20 years ago
Closed 19 years ago
#2374 closed defect (wontfix)
"port" manpage doesn't follow mandir setting at times
Reported by: | dhaines@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Given that you have an existing directory, here "/test", with a "man" directory therein, i.e. /test/man:
run ./configure --prefix=/test; make; sudo make install
The "port" manpage (port.1) is not located as expected as per ./configure --help, i.e. /test/man/man1/ port.1, rather it is at /test/share/man/man1/port.1
I'm pretty sure it shouldn't do that. I can understand not wanting to overwrite existing files, but there's no reason it shouldn't create a directory structure around existing manpages.
Change History (4)
comment:1 Changed 20 years ago by mww@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 20 years ago by dhaines@…
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Fair enough, then the ./configure --help should be changed to reflect that. It currently says that the default is PREFIX/man, with PREFIX defaulting to /opt/local.
comment:3 Changed 20 years ago by pguyot (Paul Guyot)
Actually, we use autoconf and the help message comes from there. I haven't found any way to specify another path in the help message for the default mandir.
Plus we simply ignore --mandir option and we put the man page in $(prefix)/share/man/man1/.
comment:4 Changed 19 years ago by blb@…
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
As Paul mentions, the path is statically defined in the auto* tools files, so we'll just have to live with it.
If your problem is that port puts its manpages into ${prefix}/share/man instead of ${prefix}/man: this is not a bug; please see porthier(7) for documentation of darwinports filesystem layout.
If I misunderstood you, please reactivate this bug with a clearer description of the problem.