summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shakaryan <omp@gentoo.org>2008-12-03 19:44:28 +0000
committerDavid Shakaryan <omp@gentoo.org>2008-12-03 19:44:28 +0000
commitb46d5f58f85e1aabe0d559fb118bfe522f2076bd (patch)
treeb8abf507f01c9da94b6a4ce2b238448008fe4fbf /x11-misc/nitrogen/nitrogen-1.4.ebuild
parentversion bump (diff)
downloadgentoo-2-b46d5f58f85e1aabe0d559fb118bfe522f2076bd.tar.gz
gentoo-2-b46d5f58f85e1aabe0d559fb118bfe522f2076bd.tar.bz2
gentoo-2-b46d5f58f85e1aabe0d559fb118bfe522f2076bd.zip
Patch for --as-needed by Christian Ruppert (idl0r). (bug #248576)
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-ARCH i686)
Diffstat (limited to 'x11-misc/nitrogen/nitrogen-1.4.ebuild')
-rw-r--r--x11-misc/nitrogen/nitrogen-1.4.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/x11-misc/nitrogen/nitrogen-1.4.ebuild b/x11-misc/nitrogen/nitrogen-1.4.ebuild
index fc96ad9c03cd..b1b8f520d43a 100644
--- a/x11-misc/nitrogen/nitrogen-1.4.ebuild
+++ b/x11-misc/nitrogen/nitrogen-1.4.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/nitrogen/nitrogen-1.4.ebuild,v 1.1 2008/08/11 13:13:18 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/nitrogen/nitrogen-1.4.ebuild,v 1.2 2008/12/03 19:44:28 omp Exp $
+
+inherit eutils autotools
DESCRIPTION="GTK+ background browser and setter for X."
HOMEPAGE="http://projects.l3ib.org/nitrogen/"
@@ -18,6 +20,14 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
xinerama? ( x11-proto/xineramaproto )"
+src_unpack () {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/Makefile-as-needed.patch
+ eautoreconf
+}
+
src_compile() {
econf $(use_enable xinerama) || die "econf failed"
emake || die "emake failed"