Chavdar Ivanov <ci4...@gmail.com> wrote: >> > original package might be buggy (autoconf substitutions use @ >> > not #) and needs a fix. >> >> You are no doubt quite correct with that suggestion. I will >> carry it out as simply as I can manage. > > I don't think it is pkgsrc's fault - the original wdm.man.in file > contains the #configdir# string, before 'make patch'. The executable > uses the /usr/pkg/etc/wdm directory, as uwe@ surmised. A sed command > to replace #configdir# with ${PKG_SYSCONFDIR} should suffice.
>From a quick look wdm already tries to replace them in its own makefile by calling config.status, but config.status looks for @var@, not #var#, so just patch the man page to have @ instead of # and it should work I guess. -uwe