summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libmad/libmad-0.15.1b.ebuild')
-rw-r--r--media-libs/libmad/libmad-0.15.1b.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media-libs/libmad/libmad-0.15.1b.ebuild b/media-libs/libmad/libmad-0.15.1b.ebuild
index 3af0d7b6697a..79e28252bd52 100644
--- a/media-libs/libmad/libmad-0.15.1b.ebuild
+++ b/media-libs/libmad/libmad-0.15.1b.ebuild
@@ -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/media-libs/libmad/libmad-0.15.1b.ebuild,v 1.21 2005/04/14 15:07:53 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b.ebuild,v 1.22 2005/06/01 13:44:00 herbs Exp $
inherit eutils
@@ -47,4 +47,8 @@ src_install() {
dodir /usr/$(get_libdir)/pkgconfig
insinto /usr/$(get_libdir)/pkgconfig
doins ${FILESDIR}/mad.pc
+
+ # Use correct libdir in pkgconfig file
+ dosed "s:^libdir.*:libdir=/usr/$(get_libdir):" \
+ /usr/$(get_libdir)/pkgconfig/mad.pc
}