pkgsrc-Bugs archive

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

pkg/38650: Incorrect man pages handling in bsd.man.mk on FreeBSD



>Number:         38650
>Category:       pkg
>Synopsis:       Incorrect man pages handling in bsd.man.mk on FreeBSD
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 13 10:35:00 +0000 2008
>Originator:     Aleksej Saushev
>Release:        
>Organization:
>Environment:
FreeBSD 6.2-STABLE-200706 i386

>Description:
Installation of sysutils/checkperms breaks: manual pages are not
installed.  Since sysutils/checkperms use bsd.man.mk, other
packages, which use BSD Makefiles, may be affected.
Code inspection doesn't reveal the existance of code, which
deals with installation of manual pages.

Inspection of pkgtools/bootstrap-mk-files reveals following:
1. There're minor differences between bsd.man.mk and mods/NetBSD.bsd.man.mk,
should both be merged?
2. There're major differences between bsd.man.mk and mods/FreeBSD.bsd.man.mk,
while they should not be expected due to similarities of FreeBSD and NetBSD
(I have successfully used to pkgsrc mk files to build shared libraries on
FreeBSD, this supports similarity hypothesis).

Removal of mods/FreeBSD.bsd.man.mk from pkgtools/bootstrap-mk-files and
re-bootstrapping fixes the problem.

>How-To-Repeat:
cd sysutils/checkperms && bmake install

Notice, that manual pages are not installed, as reported by
warning messages.

>Fix:
Remove pkgtools/bootstrap-mk-files/files/mods/FreeBSD.bsd.man.mk
and re-bootstrap, or replace respective bsd.man.mk with generic
version instead of platform-specific one.



Home | Main Index | Thread Index | Old Index