summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-02-01 13:11:08 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-02-01 13:11:08 +0000
commit8a1fa2b8040ac7c519a3d102bd3adec496a8524f (patch)
tree11947c58ba09c8c1a602482b10ac9383d1d83b28 /eclass
parentAlsalib-1.0.* compilation fix (39095). (diff)
downloadgentoo-2-8a1fa2b8040ac7c519a3d102bd3adec496a8524f.tar.gz
gentoo-2-8a1fa2b8040ac7c519a3d102bd3adec496a8524f.tar.bz2
gentoo-2-8a1fa2b8040ac7c519a3d102bd3adec496a8524f.zip
fix pkg-config output
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gtk-engines2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/gtk-engines2.eclass b/eclass/gtk-engines2.eclass
index 6522270e6349..c8741fde36ff 100644
--- a/eclass/gtk-engines2.eclass
+++ b/eclass/gtk-engines2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-engines2.eclass,v 1.5 2003/08/31 01:55:49 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-engines2.eclass,v 1.6 2004/02/01 13:11:08 liquidx Exp $
# Author: Alastair Tse <liquidx@gentoo.org>
#
@@ -56,7 +56,7 @@ fi
if has_version ">=x11-libs/gtk+-2" || use gtk2; then
HAS_GTK2=1
- GTK2_FULL_VER=$(pkg-config gtk+-2.0 --modversion)
+ GTK2_FULL_VER=$(pkg-config gtk+-2.0 --modversion 2>/dev/null)
GTK2_MAJOR_VER=${GTK2_FULL_VER%.*}.0
GTK2_ENGINES_DIR=/usr/lib/gtk-2.0/${GTK2_MAJOR_VER}/engines
fi