summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-01-19 19:40:45 +0000
committerSimon Stelling <blubb@gentoo.org>2006-01-19 19:40:45 +0000
commit23f6512caa1c4bcde557d1695f52efc37dbc21cf (patch)
tree1820169df8d002e22332dc6ac749717f3e4c660f /gnome-base/gnome-mime-data/gnome-mime-data-2.4.2.ebuild
parentStable on amd64. (diff)
downloadgentoo-2-23f6512caa1c4bcde557d1695f52efc37dbc21cf.tar.gz
gentoo-2-23f6512caa1c4bcde557d1695f52efc37dbc21cf.tar.bz2
gentoo-2-23f6512caa1c4bcde557d1695f52efc37dbc21cf.zip
fix broken libdir in pkgconfig file
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'gnome-base/gnome-mime-data/gnome-mime-data-2.4.2.ebuild')
-rw-r--r--gnome-base/gnome-mime-data/gnome-mime-data-2.4.2.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnome-base/gnome-mime-data/gnome-mime-data-2.4.2.ebuild b/gnome-base/gnome-mime-data/gnome-mime-data-2.4.2.ebuild
index e21670154af9..ab01fd613403 100644
--- a/gnome-base/gnome-mime-data/gnome-mime-data-2.4.2.ebuild
+++ b/gnome-base/gnome-mime-data/gnome-mime-data-2.4.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-mime-data/gnome-mime-data-2.4.2.ebuild,v 1.11 2005/06/13 05:28:21 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-mime-data/gnome-mime-data-2.4.2.ebuild,v 1.12 2006/01/19 19:40:45 blubb Exp $
inherit gnome2
@@ -17,3 +17,9 @@ DEPEND=">=dev-util/pkgconfig-0.12.0
RDEPEND=""
DOCS="AUTHORS ChangeLog README"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e 's:libdir=${exec_prefix}/lib:libdir=@libdir@:' ${PN}-2.0.pc.in || die 'sed-ing pkgconfig-file failed'
+}