Subject: Re: PR/35265 CVS commit: pkgsrc
To: None <gnats-bugs@NetBSD.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-bugs
Date: 01/07/2007 16:49:36
> The following reply was made to PR pkg/35265; it has been noted by GNATS.

>  Log Message:
>  Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
>  INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
>  ${PREFIX}/${PKGMANDIR}.

If you "mechanically" replaced ALL occurences of /man/ subsring in Makefiles,
you made a serious mistake. See, for example, multimedia/mencoder:
-               ${LN} -s -f ${PREFIX}/man/man1/mplayer.1 \
-                       ${PREFIX}/man/man1/mencoder.1; \
+               ${LN} -s -f ${PREFIX}/${PKGMANDIR}/man1/mplayer.1 \
+                       ${PREFIX}/${PKGMANDIR}/man1/mencoder.1; \
        else \
-               ${LN} -s -f ${PREFIX}/man/man1/mplayer.1.gz \
-                       ${PREFIX}/man/man1/mencoder.1.gz; \
+               ${LN} -s -f ${PREFIX}/${PKGMANDIR}/man1/mplayer.1.gz \
+                       ${PREFIX}/${PKGMANDIR}/man1/mencoder.1.gz; \
  
>  Fixes PR 35265, although I did not use the patch provided therein.
Why?

-- 
Best regards, Aleksey Cheusov.