SPECS: pam-pam_mysql.spec - don't try to override optflags in CFLA...

qboosh qboosh at pld-linux.org
Fri Feb 1 18:22:10 CET 2008


Author: qboosh                       Date: Fri Feb  1 17:22:10 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't try to override optflags in CFLAGS; includes should be specified in CPPFLAGS
- ac version

---- Files affected:
SPECS:
   pam-pam_mysql.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/pam-pam_mysql.spec
diff -u SPECS/pam-pam_mysql.spec:1.19 SPECS/pam-pam_mysql.spec:1.20
--- SPECS/pam-pam_mysql.spec:1.19	Thu Jan 31 23:34:32 2008
+++ SPECS/pam-pam_mysql.spec	Fri Feb  1 18:22:05 2008
@@ -13,7 +13,7 @@
 Source0:	http://dl.sourceforge.net/pam-mysql/%{modulename}-%{version}%{_rc}.tar.gz
 # Source0-md5:	6177183d7e98dc12f2e444c9fbd4f13c
 URL:		http://sourceforge.net/projects/pam-mysql/
-BuildRequires:	autoconf
+BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
 BuildRequires:	mysql-devel
 BuildRequires:	pam-devel
@@ -42,7 +42,7 @@
 %{__automake}
 %configure
 %{__make} \
-	CFLAGS="`mysql_config --cflags`"
+	CPPFLAGS="`mysql_config --include`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -65,6 +65,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2008-02-01 17:22:05  qboosh
+- don't try to override optflags in CFLAGS; includes should be specified in CPPFLAGS
+- ac version
+
 Revision 1.19  2008-01-31 22:34:32  darekr
 - use mysql_config --cflags instead of -header patch (danke glen!:@)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pam-pam_mysql.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list