misc/145212: Feature Request: Be able to build FreeBSD with man utilities but not with man pages

Alexander Sack asack at niksun.com
Tue Mar 30 17:50:04 UTC 2010


The following reply was made to PR misc/145212; it has been noted by GNATS.

From: Alexander Sack <asack at niksun.com>
To: bug-followup at FreeBSD.org, asack at niksun.com
Cc:  
Subject: Re: misc/145212: Feature Request: Be able to build FreeBSD with man
 utilities but not with man pages
Date: Tue, 30 Mar 2010 13:41:34 -0400

 I'd like to mention also that manctl is not tuned by any of the MK_* 
 knobs so with the advent of MK_MAN_UTILS perhaps something like this 
 should also be part of the patch:
 
 Index: usr.sbin/Makefile
 ===================================================================
 RCS file: /home/ncvs/src/usr.sbin/Makefile,v
 retrieving revision 1.421
 diff -u -r1.421 Makefile
 --- usr.sbin/Makefile    4 Mar 2010 20:31:49 -0000    1.421
 +++ usr.sbin/Makefile    30 Mar 2010 17:30:27 -0000
 @@ -91,7 +91,7 @@
       mailwrapper \
       makefs \
       ${_makemap} \
 -    manctl \
 +    ${_manctl} \
       memcontrol \
       mergemaster \
       mfiutil \
 @@ -322,6 +322,10 @@
   _lpr=        lpr
   .endif
 
 +.if ${MK_MAN_UTILS} != "no"
 +_manctl=    manctl
 +.endif
 +
   .if ${MK_NETGRAPH} != "no"
   _flowctl=    flowctl
   _lmcconfig=    lmcconfig
 
 Another thing my patch DOES NOT address is the mtree hierarchy which I 
 am indifferent about.  I believe as its set up, we should leave the 
 mtree stuff alone (just not populate any man pages in them).
 
 Thanks!
 
 -aps


More information about the freebsd-bugs mailing list