mail/p5-Mail-SpamAssassin: %%SQL%% not replaced in sa-spamd.sh when WITH_SQLDB not defined

Mathieu Arnold mat at FreeBSD.org
Fri Nov 26 06:43:28 PST 2004


+-le 26/11/2004 15:34 +0100, Florent Thoumie a dit :
| I guess :
| 
| .if defined(WITH_SQLDB)
| SED_SCRIPT+=    -e 's|%%SQL%%|-Q|g'
| .endif
| 
| should replaced by
| 
| .if defined(WITH_SQLDB)
| SED_SCRIPT+=    -e 's|%%SQL%%|-Q|g'
| .else
| SED_SCRIPT+=    -e 's|%%SQL%%||-g'
| .endif
| 
| I'm not sure this is really harmful but eyes focused on %%SQL%% in ps aux
| output, so this is pure style :)

Here you are :-)

+----------- Forwarded Message ------------
| Date: vendredi 26 novembre 2004 14:41 +0000
| From: Mathieu Arnold <mat at FreeBSD.org>
| To: mat at FreeBSD.ORG
| Cc: ports-committers at FreeBSD.org, cvs-ports at FreeBSD.org, cvs-all at FreeBSD.org
| Subject: cvs commit: ports/mail/p5-Mail-SpamAssassin Makefile
|
| mat         2004-11-26 14:41:48 UTC
| 
|   FreeBSD ports repository
| 
|   Modified files:
|     mail/p5-Mail-SpamAssassin Makefile 
|   Log:
|   Remove %%SQL%% from your nice ps output
|   
|   Reported by:    Florent Thoumie <flz at xbsd.org>
|   
|   Revision  Changes    Path
|   1.66      +2 -0      ports/mail/p5-Mail-SpamAssassin/Makefile
| 
| 
| @@ -90,6 +90,8 @@
|  		-e 's|%%RC_SUBR%%|${RC_SUBR}|g'
|  .if defined(WITH_SQLDB)
|  SED_SCRIPT+=	-e 's|%%SQL%%|-Q|g'
| +.else
| +SED_SCRIPT+=	-e 's|%%SQL%%||g'
|  .endif
|  
|  pre-patch:
| 
|
+--------- End Forwarded Message ----------


-- 
Mathieu Arnold


-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 479 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-perl/attachments/20041126/8b7af9dc/attachment.bin


More information about the freebsd-perl mailing list