summaryrefslogtreecommitdiff
path: root/eclass
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
commit689b44e11c71d3617fac5584f021c484b7ab8ef1 (patch)
tree3ea260187171b3f42ae713d320b111af6e5d006c /eclass
parentdev-java/jdbc-mysql stable on ppc. (diff)
downloadhistorical-689b44e11c71d3617fac5584f021c484b7ab8ef1.tar.gz
historical-689b44e11c71d3617fac5584f021c484b7ab8ef1.tar.bz2
historical-689b44e11c71d3617fac5584f021c484b7ab8ef1.zip
fixing disabling of static drivers. bug #104071
Diffstat (limited to '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