summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2010-11-16 16:12:18 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2010-11-16 16:12:18 +0000
commit06215ced4e4dde0c0538c0f6d38a81a271741079 (patch)
treee894b7aa175c045457d42e9eca4152a6824cb7b3 /media-gfx/peps
parentalign keywords with Gentoo Prefix (diff)
downloadgentoo-2-06215ced4e4dde0c0538c0f6d38a81a271741079.tar.gz
gentoo-2-06215ced4e4dde0c0538c0f6d38a81a271741079.tar.bz2
gentoo-2-06215ced4e4dde0c0538c0f6d38a81a271741079.zip
moved to EAPI=2, added RDEPEND, respect LDFLAGS (solving bug #340603).
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/peps')
-rw-r--r--media-gfx/peps/ChangeLog5
-rw-r--r--media-gfx/peps/peps-2.0.ebuild12
2 files changed, 11 insertions, 6 deletions
diff --git a/media-gfx/peps/ChangeLog b/media-gfx/peps/ChangeLog
index ad05ad45b105..300ad8dce6d0 100644
--- a/media-gfx/peps/ChangeLog
+++ b/media-gfx/peps/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/peps
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/peps/ChangeLog,v 1.4 2010/05/28 09:47:12 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/peps/ChangeLog,v 1.5 2010/11/16 16:12:18 sbriesen Exp $
+
+ 16 Nov 2010; Stefan Briesenick <sbriesen@gentoo.org> peps-2.0.ebuild:
+ moved to EAPI=2, added RDEPEND, respect LDFLAGS (solving bug #340603).
28 May 2010; Markus Meier <maekke@gentoo.org> peps-2.0.ebuild:
x86 stable, bug #286571
diff --git a/media-gfx/peps/peps-2.0.ebuild b/media-gfx/peps/peps-2.0.ebuild
index ce40bfeadcfe..d25d286556e1 100644
--- a/media-gfx/peps/peps-2.0.ebuild
+++ b/media-gfx/peps/peps-2.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/peps/peps-2.0.ebuild,v 1.4 2010/05/28 09:47:12 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/peps/peps-2.0.ebuild,v 1.5 2010/11/16 16:12:18 sbriesen Exp $
+
+EAPI="2"
inherit eutils toolchain-funcs
@@ -15,6 +17,7 @@ IUSE="X"
DEPEND="app-text/ghostscript-gpl
app-arch/gzip"
+RDEPEND="${DEPEND}"
pkg_setup() {
if use X && ! grep -q x11gray4 <(gs -h 2>/dev/null); then
@@ -22,12 +25,11 @@ pkg_setup() {
fi
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# adding <string.h> include
sed -i -e "s:^\(#include.*<unistd.h>.*\):\1\n#include <string.h>:" peps.c
+ # adding LDFLAGS to Makefile
+ sed -i -e "s:\( -o \): \${LDFLAGS}\1:g" Makefile
}
src_compile() {