diff options
author | Michael Weber <xmw@gentoo.org> | 2013-06-10 07:22:27 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2013-06-10 07:22:27 +0000 |
commit | e110bc23f5321731c3cee0739121e2720f3cdfc7 (patch) | |
tree | 3123d1a455e94ed34a0afb65663f8e2d21a8dc3f /app-text | |
parent | Revision bump. Properly moved source files into package, fixes doc generation... (diff) | |
download | gentoo-2-e110bc23f5321731c3cee0739121e2720f3cdfc7.tar.gz gentoo-2-e110bc23f5321731c3cee0739121e2720f3cdfc7.tar.bz2 gentoo-2-e110bc23f5321731c3cee0739121e2720f3cdfc7.zip |
fix prefix and libdir path in pkg-config
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/mupdf/mupdf-1.2.ebuild | 6 | ||||
-rw-r--r-- | app-text/mupdf/mupdf-9999.ebuild | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/app-text/mupdf/mupdf-1.2.ebuild b/app-text/mupdf/mupdf-1.2.ebuild index cfb3bd9c5aab..8466df0794c5 100644 --- a/app-text/mupdf/mupdf-1.2.ebuild +++ b/app-text/mupdf/mupdf-1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.2.ebuild,v 1.6 2013/06/08 13:07:55 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-1.2.ebuild,v 1.7 2013/06/10 07:22:27 xmw Exp $ EAPI=5 @@ -42,6 +42,10 @@ src_prepare() { "${FILESDIR}"/${PN}-1.2-mubusy_rename_fix.patch \ "${FILESDIR}"/${PN}-1.2-pkg-config.patch + sed -e "/^libdir=/s:/lib:/$(get_libdir):" \ + -e "/^prefix=/s:=.*:=${EROOR}/usr:" \ + -i debian/mupdf.pc || die + use vanilla || epatch \ "${FILESDIR}"/${PN}-1.1_rc1-zoom-2.patch diff --git a/app-text/mupdf/mupdf-9999.ebuild b/app-text/mupdf/mupdf-9999.ebuild index c13c287ff25c..2080fa0a65b7 100644 --- a/app-text/mupdf/mupdf-9999.ebuild +++ b/app-text/mupdf/mupdf-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-9999.ebuild,v 1.30 2013/06/08 11:31:51 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/mupdf/mupdf-9999.ebuild,v 1.31 2013/06/10 07:22:27 xmw Exp $ EAPI=5 @@ -40,6 +40,10 @@ src_prepare() { "${FILESDIR}"/${P}-buildsystem.patch \ "${FILESDIR}"/${P}-openjpeg2.patch + sed -e "/^libdir=/s:/lib:/$(get_libdir):" \ + -e "/^prefix=/s:=.*:=${EROOR}/usr:" \ + -i debian/mupdf.pc || die + use vanilla || epatch \ "${FILESDIR}"/${PN}-1.1_rc1-zoom-2.patch |