Date: Wed, 30 Apr 2008 12:37:18 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Cc: Ashant Chalasani <sys@sellerbay.org> Subject: Re: Install port without man page Message-ID: <200804301237.19181.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <6a5b467e0804240935v2a8e8612ned13d94fd77c83af@mail.gmail.com> References: <6a5b467e0804150907u20d1163fo27c067c025d8b08c@mail.gmail.com> <6a5b467e0804240922g5f3d8617g2bbdce52c10c006f@mail.gmail.com> <6a5b467e0804240935v2a8e8612ned13d94fd77c83af@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 24 April 2008 18:35:16 Ashant Chalasani wrote:
> Also part of the output of
> [root@fbsd70 /usr/ports/net/isc-dhcp3-server]# make install clean
> MANPREFIX=/tmp/ PREFIX=/mnt/
>
> is..
> .....
> install -c -m 444 dhcpd /mnt//sbin
> chmod 755 /mnt//sbin/dhcpd
> install -c dhcpd.man8 /mnt//man/man8/dhcpd.8
> install -c dhcpd.conf.man5 /mnt//man/man5/dhcpd.conf.5
> install -c dhcpd.leases.man5 /mnt//man/man5/dhcpd.leases.5
> ===> Installing rc.d startup script(s)
> ......
>
> ps:
> [root@fbsd70]# uname -a FreeBSD fbsd70.kwest.wapsol.de 7.0-RELEASE
> FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>
> On Thu, Apr 24, 2008 at 6:22 PM, Ashant Chalasani <sys@sellerbay.org> wrote:
> > I've experimented with the isc-dhcp3-server port all 3 options -
> > NO_INSTALL_MANPAGES, NOPORTDOCS and MANPREFIX and in every case there
> > were manpages installed in /mnt/man/
> >
> > [root@fbsd70 /mnt/man]# find . -name *dhcp*
> > ./man5/dhcp-options.5
> > ./man5/dhcp-eval.5
> > ./man5/dhcpd.conf.5
> > ./man5/dhcpd.leases.5
> > ./man8/dhcpd.8
> >
> > However, with
> > [root@fbsd70 /usr/ports/net/isc-dhcp3-server]# make install clean
> > MANPREFIX=/tmp/ PREFIX=/mnt/
> >
> > we got...
> >
> > ===> Compressing manual pages for isc-dhcp3-server-3.0.5_2
> > gzip: can't stat: /tmp//man/man1/omshell.1: No such file or directory
> > gzip: can't stat: /tmp//man/man5/dhcpd.conf.5: No such file or directory
> > gzip: can't stat: /tmp//man/man5/dhcpd.leases.5: No such file or
> > directory gzip: can't stat: /tmp//man/man5/dhcp-eval.5: No such file or
> > directory gzip: can't stat: /tmp//man/man5/dhcp-options.5: No such file
> > or directory gzip: can't stat: /tmp//man/man8/dhcpd.8: No such file or
> > directory
That's because MANPREFIX relies on an mtree being present, meaning
man/man[1-9] directories should be below it.
--
Mel
Problem with today's modular software: they start with the modules
and never get to the software part.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804301237.19181.fbsd.questions>
