summaryrefslogtreecommitdiff
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
commitf6afbd80f78071c6d0bfe7d38ea7fc0089b395c2 (patch)
tree77754e2fbcc95e2154ae0b96e38bce4be05e2929 /eclass/gtk-engines2.eclass
parentAlsalib-1.0.* compilation fix (39095). (diff)
downloadhistorical-f6afbd80f78071c6d0bfe7d38ea7fc0089b395c2.tar.gz
historical-f6afbd80f78071c6d0bfe7d38ea7fc0089b395c2.tar.bz2
historical-f6afbd80f78071c6d0bfe7d38ea7fc0089b395c2.zip
fix pkg-config output
Diffstat (limited to 'eclass/gtk-engines2.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