pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PKGMANDIR and devel/rcs
On Sat, 16 Feb 2008 01:12:21 +0200
Aleksey Cheusov <cheusov%tut.by@localhost> wrote:
> >
> > http://mova.org/~cheusov/pub/pkgsrc-pbulk/Debian-etch/current-unprivileged/log/20080214.2312/rcs-5.7nb3/install.log
>
> > => Checking file-check results for rcs-5.7nb3
> > ERROR: ************************************************************
> > ERROR: The following files are in the PLIST but not in /home/pkgsrc/pkg:
> > ERROR: /home/pkgsrc/pkg/share/man/man1/ci.1
> > ERROR: /home/pkgsrc/pkg/share/man/man1/co.1
>
> > The package needs to be patched/configured to put mandir in PREFIX/man,
> > not PREFIX/share/man.
> pkgsrc's PKGMANDIR variable should be used instead of hardcoded PREFIX/man.
>
> > There are patches already to do this.
> > Do you have a nonstandard PKGMANDIR setting somehow?
>
> PKGMANDIR is set to share/man in mk.conf
>
> patch that solve the problem
>
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/devel/rcs/Makefile,v
> retrieving revision 1.26
> diff -u -r1.26 Makefile
> --- Makefile 12 Oct 2007 23:14:43 -0000 1.26
> +++ Makefile 15 Feb 2008 23:11:04 -0000
> @@ -22,6 +22,9 @@
> CONFIGURE_ENV+= PATH=${LOCALBASE}/bin:"$$PATH"
> CONFIGURE_HAS_MANDIR= no
>
> +MAKE_FLAGS+= man1dir=${PREFIX}/${PKGMANDIR}/man1
> +MAKE_FLAGS+= man5dir=${PREFIX}/${PKGMANDIR}/man5
> +
> post-install:
> ${RM} -f ${PREFIX}/bin/rcslog
> ${LN} -s ${PREFIX}/bin/rlog ${PREFIX}/bin/rcslog
>
>
> --
> Best regards, Aleksey Cheusov.
Hm, I thought I fixed this the other day ... have you got an up-to-date
tree?
-Tobias
Home |
Main Index |
Thread Index |
Old Index