[MacPorts] #52464: man @1.6g_0: add Xcode man pages to search path

MacPorts noreply at macports.org
Fri Sep 30 15:49:29 CEST 2016


#52464: man @1.6g_0: add Xcode man pages to search path
-------------------------+-------------------
 Reporter:  raimue@…     |      Owner:  mww@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.3.4
 Keywords:  haspatch     |       Port:  man
-------------------------+-------------------
 man @1.6g_0 cannot find man pages provided by Xcode, while `/usr/bin/man`
 will:

 {{{
 $ man -w clang
 No manual entry for clang
 $ /usr/bin/man -w clang
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man/man1/clang.1
 }}}

 Apple
 [https://opensource.apple.com/source/man/man-16/patches/PR11291804-xcode.diff
 patched] `/usr/bin/man` to add the Xcode location to the search paths by
 obtaining these paths from libxcselect. Unfortunately, the macOS SDK does
 not include the referenced `xcselect.h` header file. This modified patch
 recreates the necessary declarations from the context of this patch.

 This patch can be applied for all versions of the Mac operation system
 with libxcselect. As far as I know, this should be the case for >= 10.9. I
 added this as a variant in order to allow users to disable this feature
 and retain the previous behavior.

-- 
Ticket URL: <https://trac.macports.org/ticket/52464>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system



More information about the macports-tickets mailing list