From afb7a3c97918022fd8cce7e87c94d3cb15067f06 Mon Sep 17 00:00:00 2001 From: jvdias Date: Mar 10 2005 23:18:35 +0000 Subject: fix bug 150339: fix include paths for libbind; add BuildRequires for libbind-devel --- diff --git a/sendmail.spec b/sendmail.spec index 0243a50..f39d161 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -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')