mailman/mailman-sendmail.m4

Wed, 01 Aug 2012 23:49:03 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 01 Aug 2012 23:49:03 +0200
changeset 436
f26e9329b115
permissions
-rw-r--r--

Hack rpmconstant header file to allow targets to build, because...
Solaris studio cc(1) fails to build targets in rpmconstant with errors:
'undefined symbol first referenced in file constant.o' regarding symbols:
rpmdsInit, rpmdsNext, rpmdsTagN, rpmHeaderFormats, hdrVec, rpmTagTable,
rpmdsSearch, rpmdsResult, rpmTags, rpmdsIx, rpmdsDNEVR, rpmdsSetResult.
It seems that these symbols are not used by RPM in any way, and thus
the build configuration can succeed without including the nasty headers.

     1 dnl
     2 dnl mailman.m4: Mailman specific local mailer
     3 dnl
     5 MAILER_DEFINITIONS
     7 ##  Special flags! See:
     8 ##  http://www.sendmail.org/~ca/email/doc8.10/op-sh-5.html#sh-5.4 Note
     9 ##  especially the absence of the "m" and "n" flags. THIS IS IMPORTANT:
    10 ##  mailman handler assumes this behavior to avoid having to know too
    11 ##  much about address parsing and other RFC-2822 mail details.
    13 Mmailman,	P=@l_prefix@/libexec/mailman/mail/mailman-sendmail, F=rDFMhlqSu, U=@l_nusr@:@l_ngrp@,
    14 		S=EnvFromL, R=EnvToL/HdrToL,
    15 		A=mailman-sendmail $h $u

mercurial