tech-pkg archive

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

Re: pkg/38392: x11/xxkb - support for different PKGMANDIR



OBATA Akio wrote:
--On 2008/04/09 13:20 +0000 cheusov%tut.by@localhost wrote:

With PKGMANDIR=share/man building x11/xxkb fails like this

=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat
`/tmp/obj-pkgsrc-destdir/x11/xxkb/work/.destdir/usr/pkg/share/man/cat1/xx
kb.0' => Checking file-check results for xxkb-1.11
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:
/tmp/obj-pkgsrc-destdir/x11/xxkb/work/.destdir/usr/pkg/share/man/cat1/xxk
b.0 ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST: ERROR:
/tmp/obj-pkgsrc-destdir/x11/xxkb/work/.destdir/usr/pkg/man/cat1/xxkb.0
*** Error code 1

http://www.mova.org/~cheusov/pub/pkgsrc-pbulk/NetBSD/current-destdir/log/
20080408.2010/x11/xxkb/stage_package.html

It seems that due to PKGMANDIR is incompatible with IMAKE_MAN_SOURCE_PATH.

Should USE_IMAKE packages also honor PKGMANDIR (as PR said),
or suppress replacement of ^man in PLIST with ${PKGMANDIR} if USE_IMAKE?

I would prefer that we honor it if ${X11PREFIX} == ${LOCALBASE}. If it's too hard to figure out the necessary imake logic to do it, we can perhaps resort to just moving the installed man pages after they are installed to put them in to the right place.

        Cheers,

        -- Johnny C. Lam


Home | Main Index | Thread Index | Old Index