summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-01-14 16:22:48 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-01-14 16:22:48 +0000
commit202aef3e8adc1bafbe7b6731a82a4bc5044b1ac5 (patch)
tree2ce296521bc744485d3153acbbad54adc065b7cc /x11-misc/peksystray/peksystray-0.4.0.ebuild
parentMarking rspec-1.3.0 ~ppc for bug 300739 (diff)
downloadgentoo-2-202aef3e8adc1bafbe7b6731a82a4bc5044b1ac5.tar.gz
gentoo-2-202aef3e8adc1bafbe7b6731a82a4bc5044b1ac5.tar.bz2
gentoo-2-202aef3e8adc1bafbe7b6731a82a4bc5044b1ac5.zip
Fix building with -Wl,--as-needed wrt #248577, thanks to Kacper Kowalik for patch.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/peksystray/peksystray-0.4.0.ebuild')
-rw-r--r--x11-misc/peksystray/peksystray-0.4.0.ebuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/x11-misc/peksystray/peksystray-0.4.0.ebuild b/x11-misc/peksystray/peksystray-0.4.0.ebuild
index d40454f787a4..3a6c23c5f800 100644
--- a/x11-misc/peksystray/peksystray-0.4.0.ebuild
+++ b/x11-misc/peksystray/peksystray-0.4.0.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/peksystray/peksystray-0.4.0.ebuild,v 1.2 2007/08/08 10:08:17 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/peksystray/peksystray-0.4.0.ebuild,v 1.3 2010/01/14 16:22:47 ssuominen Exp $
-inherit eutils
+EAPI=2
+inherit autotools eutils
DESCRIPTION="A system tray dockapp for window managers supporting docking"
HOMEPAGE="http://peksystray.sourceforge.net/"
@@ -13,18 +14,15 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
IUSE=""
-RDEPEND="x11-libs/libX11
+DEPEND="x11-libs/libX11
x11-libs/libXt"
-DEPEND="${RDEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-ldadd.patch"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+ eautoreconf
}
src_install() {
- dobin src/peksystray
+ dobin src/peksystray || die
dodoc AUTHORS ChangeLog NEWS README REFS THANKS TODO
}