|
|
|
@ -54,8 +54,8 @@ Patch0: sendmail.patch
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20030516, m4, gcc, make |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20030516, m4, make, perl, procmail |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20030708, m4, gcc, make |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20030708, m4, make, perl, procmail |
|
|
|
|
BuildPreReq: db >= 4.1.25 |
|
|
|
|
PreReq: db >= 4.1.25 |
|
|
|
|
%if "%{with_fsl}" == "yes" |
|
|
|
@ -165,8 +165,8 @@ Conflicts: ssmtp, exim, postfix
|
|
|
|
|
echo "APPENDDEF(\`confENVDEF', \`-D_PATH_SENDMAILPID=\\\"%{l_prefix}/var/sendmail/sendmail.pid\\\"')dnl" |
|
|
|
|
echo "APPENDDEF(\`confENVDEF', \`-D_DIR_SENDMAILCF=\\\"%{l_prefix}/etc/sendmail/\\\"')dnl" |
|
|
|
|
echo "APPENDDEF(\`confENVDEF', \`-DNEWDB')dnl" |
|
|
|
|
echo "APPENDDEF(\`confINCDIRS', \`-I%{l_prefix}/include')dnl" |
|
|
|
|
echo "APPENDDEF(\`confLIBDIRS', \`-L%{l_prefix}/lib')dnl" |
|
|
|
|
echo "APPENDDEF(\`confINCDIRS', \`%{l_cppflags}')dnl" |
|
|
|
|
echo "APPENDDEF(\`confLIBDIRS', \`%{l_ldflags}')dnl" |
|
|
|
|
echo "APPENDDEF(\`confLIBS', \`%{l_fsl_libs} -ldb')dnl" |
|
|
|
|
echo "define(\`confSTDIO_TYPE', \`portable')dnl" |
|
|
|
|
echo "APPENDDEF(\`confENVDEF', \`-DDNSMAP')dnl" |
|
|
|
@ -176,7 +176,7 @@ Conflicts: ssmtp, exim, postfix
|
|
|
|
|
%endif |
|
|
|
|
%if "%{with_sasl}" == "yes" |
|
|
|
|
echo "APPENDDEF(\`confENVDEF', \`-DSASL=1')dnl" |
|
|
|
|
echo "APPENDDEF(\`confINCDIRS', \`-I%{l_prefix}/include/sasl')dnl" |
|
|
|
|
echo "APPENDDEF(\`confINCDIRS', \`%{l_cppflags . -sasl')dnl}" |
|
|
|
|
echo "APPENDDEF(\`confLIBS', \`-lsasl2 -lcrypto')dnl" |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_milter}" == "yes" |
|
|
|
@ -190,8 +190,8 @@ Conflicts: ssmtp, exim, postfix
|
|
|
|
|
%endif |
|
|
|
|
%if "%{with_mysql}" == "yes" |
|
|
|
|
echo "APPENDDEF(\`confMAPDEF',\`-DMYSQLMAP')dnl" |
|
|
|
|
echo "APPENDDEF(\`confINCDIRS',\`-I%{l_prefix}/include/mysql')dnl" |
|
|
|
|
echo "APPENDDEF(\`confLIBS',\`-L%{l_prefix}/lib/mysql -lmysqlclient -lz -lm')dnl" |
|
|
|
|
echo "APPENDDEF(\`confINCDIRS',\`%{l_cppflags . -mysql')dnl}" |
|
|
|
|
echo "APPENDDEF(\`confLIBS',\`%{l_ldflags . -mysql} -lmysqlclient -lz -lm')dnl" |
|
|
|
|
%endif |
|
|
|
|
) >devtools/Site/site.config.m4 |
|
|
|
|
|
|
|
|
|