summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-11-30 18:15:41 +0000
committerMarkus Meier <maekke@gentoo.org>2008-11-30 18:15:41 +0000
commitba6720e8658a19ee2ba390f6d76591ef0b70b624 (patch)
tree9c877cb328d4f02582e48d53bb55c4ef77aba8ff /media-gfx/pqiv/pqiv-0.7.1.ebuild
parentCleanup. (diff)
downloadgentoo-2-ba6720e8658a19ee2ba390f6d76591ef0b70b624.tar.gz
gentoo-2-ba6720e8658a19ee2ba390f6d76591ef0b70b624.tar.bz2
gentoo-2-ba6720e8658a19ee2ba390f6d76591ef0b70b624.zip
fix building with forced as-needed, bug #247735
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.28-rc6 i686)
Diffstat (limited to 'media-gfx/pqiv/pqiv-0.7.1.ebuild')
-rw-r--r--media-gfx/pqiv/pqiv-0.7.1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/media-gfx/pqiv/pqiv-0.7.1.ebuild b/media-gfx/pqiv/pqiv-0.7.1.ebuild
index 51cb295bf8b4..c8d16d52bb32 100644
--- a/media-gfx/pqiv/pqiv-0.7.1.ebuild
+++ b/media-gfx/pqiv/pqiv-0.7.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/pqiv-0.7.1.ebuild,v 1.3 2008/06/12 17:55:39 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pqiv/pqiv-0.7.1.ebuild,v 1.4 2008/11/30 18:15:40 maekke Exp $
-inherit toolchain-funcs
+inherit toolchain-funcs eutils
DESCRIPTION="Modern rewrite of Quick Image Viewer"
HOMEPAGE="http://www.pberndt.com/Programme/Linux/pqiv"
@@ -17,6 +17,12 @@ RDEPEND=">=x11-libs/gtk+-2.8"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+}
+
src_compile() {
tc-export CC
emake || die "emake failed."