tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/devel/avltree



On Thu, Feb 16, 2012 at 09:17:13PM +0100, Joerg Sonnenberger wrote:
> On Thu, Feb 16, 2012 at 08:13:06PM +0100, Hans Rosenfeld wrote:
> > On Thu, Feb 16, 2012 at 07:26:18PM +0100, Joerg Sonnenberger wrote:
> > > On Thu, Feb 16, 2012 at 06:10:43PM +0000, Hans Rosenfeld wrote:
> > > > Module Name:    pkgsrc
> > > > Committed By:   hans
> > > > Date:           Thu Feb 16 18:10:43 UTC 2012
> > > > 
> > > > Modified Files:
> > > >         pkgsrc/devel/avltree: Makefile
> > > > 
> > > > Log Message:
> > > > Uses nroff and USE_BSD_MAKEFILE.
> > > 
> > > I have a strong dislike for adding nroff dependencies. IMO we should
> > > default to not installing cat pages on all platforms.
> > 
> > Seems reasonable. Does that mean that every package installing cat pages
> > needs to be touched? The building of cat pages could probably be stopped
> > with a dummy nroff.
> 
> There are three parts:
> 
> (1) Stop with the nroff dependency in things using bootstrap-mk-files
> (2) Remove catinstall from MANINSTALL. This is similar to the current
> issue on NetBSD.

Setting MANINSTALL?=maninstall in mk/defaults/mk.conf and MKCATPAGES=no
in pkgtools/bootstrap-mk-files/files/bsd.own.mk seems to work for the
few packages that I checked.

Also, shouldn't we add nroff to USE_TOOLS automatically when
MANINSTALL=catinstall and MKCATPAGES=yes?

> It shouldn't be too hard to port NetBSD's man subsystem to pkgsrc for
> people wanting sane tools e.g. on Solaris :)

You mean this mdocml thing?
http://www.headcrashers.org/pkgsrc/reports/current/OpenIndiana/oi151a/i386/20120208.1045/mdocml-1.12.0nb1/build.log

Solaris nroff isn't able to render mandoc manpages, so I found the
catpages pre-rendered with GNU nroff quite useful. Except for the fact
that most of them were installed with the wrong suffix, so that man
didn't find them.


Hans


-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown


Home | Main Index | Thread Index | Old Index