On Sun, Feb 19, 2006, Joerg Lehrke wrote: > Sendmail comes with a lot of hints about the build process on different > platforms and architectures. These rules are based on information about > vendor specific compilers and their options. Since OpenPKG should be a > closed environment, we should ensure that we always use the %{l_cc} to > build the binaries. Here is my patch against sendmail.spec to address > this issue (and the possible libz.a dependency of OpenSSL): > > --- sendmail/sendmail.spec Tue Oct 11 14:46:24 2005 > +++ sendmail.jl/sendmail.spec Sun Feb 19 15:32:57 2006 > @@ -145,7 +145,8 @@ > esac > > # configure Sendmail > - ( echo "define(\`confMAPDEF', \`-DMAP_REGEX')dnl" > + ( echo "define(\`confCC', \`%{l_cc} %{l_cflags}')dnl" > + echo "define(\`confMAPDEF', \`-DMAP_REGEX')dnl" > echo "define(\`confSBINOWN', \`%{l_musr}')dnl" > echo "define(\`confSBINGRP', \`%{l_mgrp}')dnl" > echo "define(\`confUBINOWN', \`%{l_musr}')dnl"
Ok, I've taken over the confCC part. The -lz parts we have to fix in a different way (see my reply on your other mail). > This should not harm the build process on other platforms, but enabled > my build on IRIX-6.5.x. Well, the -lz unfortunately only doesn't harm on FreeBSD or Linux (where the system usually always ships with zlib). But there are enough platforms which do not ship zlib, so we cannot link it unconditionally here. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org