SPECS: sendmail.spec - make it build on sparc64

tommat tommat at pld-linux.org
Tue Aug 21 10:12:14 CEST 2007


Author: tommat                       Date: Tue Aug 21 08:12:14 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- make it build on sparc64

---- Files affected:
SPECS:
   sendmail.spec (1.203 -> 1.204) 

---- Diffs:

================================================================
Index: SPECS/sendmail.spec
diff -u SPECS/sendmail.spec:1.203 SPECS/sendmail.spec:1.204
--- SPECS/sendmail.spec:1.203	Mon Aug  6 20:17:22 2007
+++ SPECS/sendmail.spec	Tue Aug 21 10:12:09 2007
@@ -201,7 +201,11 @@
 
 %build
 echo "define(\`confCC', \`%{__cc}')" >> config.m4
+%ifarch sparc64
+echo "define(\`confOPTIMIZE', \`%{rpmcflags} -DUSE_VENDOR_CF_PATH=1 -DSM_CONF_SEM=0 -DNETINET6')" >> config.m4
+%else
 echo "define(\`confOPTIMIZE', \`%{rpmcflags} -DUSE_VENDOR_CF_PATH=1 -DNETINET6')" >> config.m4
+%endif
 echo "APPENDDEF(\`confINCDIRS', \`-I/usr/include/sasl')" >> config.m4
 echo "define(\`confLIBSEARCHPATH', \`/%{_lib} %{_prefix}/%{_lib}')" >> config.m4
 echo "define(\`confLIBSEARCH', \`db resolv')" >> config.m4
@@ -491,6 +495,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.204  2007/08/21 08:12:09  tommat
+- make it build on sparc64
+
 Revision 1.203  2007/08/06 18:17:22  shadzik
 - hopefully fix build on all archs
 - rel 10
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/sendmail.spec?r1=1.203&r2=1.204&f=u



More information about the pld-cvs-commit mailing list