add an explicit -no-cups parameter to configure if cups isn\'t in use
authorDan Armak <danarmak@gentoo.org>
Fri, 1 Nov 2002 12:23:58 +0000 (12:23 +0000)
committerDan Armak <danarmak@gentoo.org>
Fri, 1 Nov 2002 12:23:58 +0000 (12:23 +0000)
x11-libs/qt/qt-3.1.0_pre20021024.ebuild

index 649242ab594fcb8fbc52215c816b8cf475e542b7..7386efb11613179a953821084529f9bd99812fb5 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.1.0_pre20021024.ebuild,v 1.3 2002/11/01 11:38:07 verwilst Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.1.0_pre20021024.ebuild,v 1.4 2002/11/01 12:23:58 danarmak Exp $
 
 # the qt-copy snapshotfrfom 20021024 distibuted with kde 3.1 rc1
 
@@ -64,7 +64,7 @@ src_compile() {
 
        use nas         && myconf="${myconf} -system-nas-sound"
        use gif         && myconf="${myconf} -qt-gif"
-       use cups        && myconf="${myconf} -cups"
+       use cups        && myconf="${myconf} -cups"             || myconf="${myconf} -no-cups"
        use mysql       && myconf="${myconf} -plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql"
        use postgres    && myconf="${myconf} -plugin-sql-psql -I/usr/include/postgresql/server"
        use odbc        && myconf="${myconf} -plugin-sql-odbc"