SPECS (AC-branch): postfix.spec - try to build it this way, so tha...

shadzik shadzik at pld-linux.org
Sat Sep 8 14:56:59 CEST 2007


Author: shadzik                      Date: Sat Sep  8 12:56:59 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- try to build it this way, so that only -dict packages have *sql requirements
- the main package stays clean
- rel 3.1 (P.S. glen, check this one out)

---- Files affected:
SPECS:
   postfix.spec (1.282.2.8 -> 1.282.2.9) 

---- Diffs:

================================================================
Index: SPECS/postfix.spec
diff -u SPECS/postfix.spec:1.282.2.8 SPECS/postfix.spec:1.282.2.9
--- SPECS/postfix.spec:1.282.2.8	Fri Sep  7 23:24:00 2007
+++ SPECS/postfix.spec	Sat Sep  8 14:56:54 2007
@@ -25,7 +25,7 @@
 Name:		postfix
 Version:	2.3.12
 %define		vda_ver 2.3.3
-Release:	3
+Release:	3.1
 Epoch:		2
 License:	distributable
 Group:		Networking/Daemons
@@ -241,14 +241,18 @@
 %{__make} -f Makefile.init makefiles
 %{__make} tidy
 %{__make} \
+	CC="%{__cc}" \
 	DEBUG="" \
 	OPT="%{rpmcflags} -D_FILE_OFFSET_BITS=64" \
 	%{!?with_ldap:LDAPSO=""} \
 	%{!?with_mysql:MYSQLSO=""} \
 	%{!?with_pgsql:PGSQLSO=""} \
-	CCARGS="%{?with_ldap:-DHAS_LDAP} -DHAS_PCRE %{?with_sasl:-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl} %{?with_mysql:-DHAS_MYSQL -I/usr/include/mysql} %{?with_pgsql:-DHAS_PGSQL -I/usr/include/postgresql} %{?with_ssl:-DUSE_TLS -I/usr/include/openssl} -DMAX_DYNAMIC_MAPS %{?with_cdb:-DHAS_CDB} -DHAVE_GETIFADDRS" \
+	CCARGS="" \
 	AUXLIBS="-ldb -lresolv %{?with_sasl:-lsasl} %{?with_ssl:-lssl -lcrypto} %{?with_cdb:-lcdb} -lpcre %{?with_ldap:-lldap -llber} %{?with_pgsql:-lpq} %{?with_mysql:-lmysqlclient -lz}"
 
+
+#	CCARGS="%{?with_ldap:-DHAS_LDAP} -DHAS_PCRE %{?with_sasl:-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl} %{?with_mysql:-DHAS_MYSQL -I/usr/include/mysql} %{?with_pgsql:-DHAS_PGSQL -I/usr/include/postgresql} %{?with_ssl:-DUSE_TLS -I/usr/include/openssl} -DMAX_DYNAMIC_MAPS %{?with_cdb:-DHAS_CDB} -DHAVE_GETIFADDRS" \
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/{cron.daily,rc.d/init.d,sysconfig,pam.d,security} \
@@ -440,6 +444,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.282.2.9  2007/09/08 12:56:54  shadzik
+- try to build it this way, so that only -dict packages have *sql requirements
+- the main package stays clean
+- rel 3.1 (P.S. glen, check this one out)
+
 Revision 1.282.2.8  2007/09/07 21:24:00  qboosh
 - changed lmtp to hardlink (like in original postfix install), added nqmgr hardlink
 - avoid subshells
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/postfix.spec?r1=1.282.2.8&r2=1.282.2.9&f=u



More information about the pld-cvs-commit mailing list