pkgsrc-Users archive

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

More than 580 packages use man/ instead of ${PKGMANDIR}



Hi all.
I've found that more than 580 pkgsrc/ and wip/ packages
use man/ instead of ${PKGMANDIR} in ${INSTALL_MAN}
command inside Makefile's, therefore man packages will be installed
to incorrect directory.
By default (in NetBSD) ${PKGMANDIR} is equal to 'man'
and there is no problem.
But on other platforms they may be different, also sysadmins may change
this variable manually in ${pkgsrc}/mk/default/mk.conf.
As far as I understand all these packages must be fixed
and 'pkglint' package should be updated to find this sort of bugs.

I used the following command to find all buggy packages.
Run it from /usr/pkgsrc.

find . -name Makefile -maxdepth 3 -mindepth 3 |
xargs grep 'INSTALL_MAN.*man/[^[:space:]]*[[:space:]]*$'

-- 
Best regards, Aleksey Cheusov.



Home | Main Index | Thread Index | Old Index