SPECS (AC-branch): qt4.spec - allow disabling db drivers - force l...

glen glen at pld-linux.org
Sat Mar 3 13:31:59 CET 2007


Author: glen                         Date: Sat Mar  3 12:31:59 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- allow disabling db drivers
- force largefile enabled

---- Files affected:
SPECS:
   qt4.spec (1.71.2.17 -> 1.71.2.18) 

---- Diffs:

================================================================
Index: SPECS/qt4.spec
diff -u SPECS/qt4.spec:1.71.2.17 SPECS/qt4.spec:1.71.2.18
--- SPECS/qt4.spec:1.71.2.17	Sat Mar  3 13:20:22 2007
+++ SPECS/qt4.spec	Sat Mar  3 13:31:54 2007
@@ -974,6 +974,7 @@
 	-system-libpng \
 	-system-zlib \
 	-no-exceptions \
+	-largefile \
 	-I%{_includedir}/postgresql/server \
 	-I%{_includedir}/mysql \
 	%{?with_cups:-cups} \
@@ -998,12 +999,12 @@
 
 %if %{with static_libs}
 OPT=" \
-	%{?with_mysql:-qt-sql-mysql} \
-	%{?with_odbc:-qt-sql-odbc} \
-	%{?with_pgsql:-qt-sql-psql} \
-	%{?with_sqlite3:-qt-sql-sqlite} \
-	%{?with_sqlite:-qt-sql-sqlite2} \
-	%{?with_ibase:-qt-sql-ibase} \
+	-%{!?with_mysql:no}%{?with_mysql:qt}-sql-mysql \
+	-%{!?with_odbc:no}%{?with_odbc:qt}-sql-odbc \
+	-%{!?with_pgsql:no}%{?with_pgsql:qt}-sql-psql \
+	-%{!?with_sqlite3:no}%{?with_sqlite3:qt}-sql-sqlite \
+	-%{!?with_sqlite:no}%{?with_sqlite:qt}-sql-sqlite2 \
+	-%{!?with_ibase:no}%{?with_ibase:qt}-sql-ibase \
 	-static"
 
 echo "yes" | ./configure $COMMONOPT $OPT
@@ -1024,12 +1025,12 @@
 ##################################
 
 OPT=" \
-	%{?with_mysql:-plugin-sql-mysql} \
-	%{?with_odbc:-plugin-sql-odbc} \
-	%{?with_pgsql:-plugin-sql-psql} \
-	%{?with_sqlite3:-plugin-sql-sqlite} \
-	%{?with_sqlite:-plugin-sql-sqlite2} \
-	%{?with_ibase:-plugin-sql-ibase}"
+	-%{!?with_mysql:no}%{?with_mysql:plugin}-sql-mysql \
+	-%{!?with_odbc:no}%{?with_odbc:plugin}-sql-odbc \
+	-%{!?with_pgsql:no}%{?with_pgsql:plugin}-sql-psql \
+	-%{!?with_sqlite3:no}%{?with_sqlite3:plugin}-sql-sqlite \
+	-%{!?with_sqlite:no}%{?with_sqlite:plugin}-sql-sqlite2 \
+	-%{!?with_ibase:no}%{?with_ibase:plugin}-sql-ibase"
 
 echo "yes" | ./configure $COMMONOPT $OPT
 
@@ -1536,6 +1537,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71.2.18  2007/03/03 12:31:54  glen
+- allow disabling db drivers
+- force largefile enabled
+
 Revision 1.71.2.17  2007/03/03 12:20:22  glen
 -dbus version from configure
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qt4.spec?r1=1.71.2.17&r2=1.71.2.18&f=u



More information about the pld-cvs-commit mailing list