pkgsrc-Bugs archive

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

Re: pkg/34513 (mail/sendmail sets smrsh command dir to /usr/adm/sm.bin)



On Thu, Oct 12, 2006 at 09:08:54PM +0000, tv%NetBSD.org@localhost wrote:
> Synopsis: mail/sendmail sets smrsh command dir to /usr/adm/sm.bin
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: tv%netbsd.org@localhost
> State-Changed-When: Thu, 12 Oct 2006 21:08:53 +0000
> State-Changed-Why:
> Please confirm that sendmail-8.13.8nb2 (or later) fixes the problem.

  Almost.  The value of SMRSH_CMDDIR now gets to the compiler command line,
but the default setting breaks the compilation of smrsh.  The problem is
that the usage in smrsh.c requires quotes around the string, which have to
be escaped on the shell command line.  This patch to files/site.config.m4
does the trick:

19c19
< APPENDDEF(`confENVDEF', `-I${PREFIX}/include -DSMRSH_CMDDIR=${SMRSH_CMDDIR}')
---
> APPENDDEF(`confENVDEF', `-I${PREFIX}/include 
> -DSMRSH_CMDDIR=\"${SMRSH_CMDDIR}\"')

  Thanks for fixing it!



Home | Main Index | Thread Index | Old Index