summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2005-09-03 21:07:53 +0000
committerDoug Goldstein <cardoe@gentoo.org>2005-09-03 21:07:53 +0000
commit68b294781ce0d2c1dddb36eb786d274aa1714143 (patch)
tree08fa9dbdd5b929c21968d213d058cd551e66830e /eclass/x-modular.eclass
parentdev-java/jdbc-mysql stable on ppc. (diff)
downloadgentoo-2-68b294781ce0d2c1dddb36eb786d274aa1714143.tar.gz
gentoo-2-68b294781ce0d2c1dddb36eb786d274aa1714143.tar.bz2
gentoo-2-68b294781ce0d2c1dddb36eb786d274aa1714143.zip
fixing disabling of static drivers. bug #104071
Diffstat (limited to 'eclass/x-modular.eclass')
-rw-r--r--eclass/x-modular.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass
index 1c2e18b86f23..e751f57032e0 100644
--- a/eclass/x-modular.eclass
+++ b/eclass/x-modular.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.8 2005/09/03 20:59:54 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.9 2005/09/03 21:07:53 cardoe Exp $
#
# Author: Donnie Berkholz <spyderous@gentoo.org>
#
@@ -45,7 +45,8 @@ if [[ "${PN/#font}" != "${PN}" ]] && [[ "${PN}" != "font-alias" ]]; then
fi
# If we're a driver package
-if [[ "${PN/#xf86-video}" != "${PN}" ]] | [[ "${PN}" != "xf86-input" ]]; then
+if [[ "${PN/#xf86-video}" != "${PN}" || "${PN/#xf86-input}" != "${PN}" ]];
+then
# Don't build static driver modules
DRIVER_OPTIONS="--disable-static"
fi