fix bug 150339: fix include paths for libbind; add BuildRequires for

libbind-devel
This commit is contained in:
jvdias 2005-03-10 23:18:35 +00:00
parent f8f75a6a61
commit afb7a3c979

View File

@ -144,7 +144,9 @@ your sendmail.cf file.
# generate redhat config file
cat > redhat.config.m4 << EOF
define(\`confMAPDEF', \`-DNEWDB -DNIS -DHESIOD -DMAP_REGEX -DSOCKETMAP')
%ifnarch ppc64
define(\`confOPTIMIZE', \`\`\`${RPM_OPT_FLAGS}''')
%endif
define(\`confENVDEF', \`-I/usr/include/db4 -I/usr/kerberos/include -Wall -DXDEBUG=0 -DTCPWRAPPERS -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_WORKAROUND_BROKEN_NAMESERVERS -D_FFR_SMTP_SSL')
define(\`confLIBDIRS', \`-L/usr/kerberos/%{_lib}')
define(\`confLIBS', \`-lnsl -lwrap -lhesiod -lcrypt -ldb')