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)



The following reply was made to PR pkg/34513; it has been noted by GNATS.

From: Jim Bernard <jbernard%mines.edu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tv%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost, 
gnats-admin%NetBSD.org@localhost
Subject: Re: pkg/34513 (mail/sendmail sets smrsh command dir to /usr/adm/sm.bin)
Date: Thu, 12 Oct 2006 20:05:32 -0600

 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