Opened 16 years ago

Closed 16 years ago

Last modified 14 years ago

#18294 closed defect (fixed)

pure-0.16: broken man page

Reported by: godboutn@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: pure, pure-devel

Description

man pure

reports no documentation after installation of pure-0.16.

The problem is due to an invalid soft link pure.1@ -> pure-0.16.1 whereas the man page itself is compressed and has the name pure-0.16.1.gz.

A patch file fixing the problem in the post-destroot phase is included below.

Attachments (1)

Portfile-pure.diff (356 bytes) - added by godboutn@… 16 years ago.

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by godboutn@…

Attachment: Portfile-pure.diff added

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Status: newassigned

Thanks. I had noticed this too but forgot to file a ticket and look into it.

It was my understanding that MacPorts base was supposed to handle this automatically so I wanted to see why that wasn't working.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Port: pure-devel added
Resolution: fixed
Status: assignedclosed

Ok. MacPorts base compresses manpages in the destroot phase. It looks for any symlinks to those manpages and if found, recreates them to point to the compressed version. But this is only working if the existing symlink is relative; pure creates an absolute symlink.

I changed the pure Makefile to make a relative symlink in r46240 along with updating the port to 0.17. I made the same change in pure-devel in r46243.

I filed MacPorts base bug #18302 for the underlying problem that MacPorts doesn't properly re-create absolute manpage symlinks.

Finally, I asked the author of pure if he would consider making pure make a relative symlink in the first place.

Thanks again for the bug report.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Reverted the fix in r70253 since MacPorts 1.8 and up now handle this correctly.

Note: See TracTickets for help on using tickets.