summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-09-12 03:48:58 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-09-12 03:48:58 +0000
commit94a0d87e3b87fc184d74e1a66fe80297dd7571bb (patch)
treedfc13d8d50cc2a16e4ed0d373935adf9bdebaad4 /app-arch/pdv
parentMark 0.3.6 as compatible only with gnome-shell-3.2, thanks to Sylvain Alain. ... (diff)
downloadgentoo-2-94a0d87e3b87fc184d74e1a66fe80297dd7571bb.tar.gz
gentoo-2-94a0d87e3b87fc184d74e1a66fe80297dd7571bb.tar.bz2
gentoo-2-94a0d87e3b87fc184d74e1a66fe80297dd7571bb.zip
added prefix support
(Portage version: 2.2.0_alpha125/cvs/Linux i686)
Diffstat (limited to 'app-arch/pdv')
-rw-r--r--app-arch/pdv/ChangeLog5
-rw-r--r--app-arch/pdv/pdv-1.5.1-r2.ebuild24
2 files changed, 14 insertions, 15 deletions
diff --git a/app-arch/pdv/ChangeLog b/app-arch/pdv/ChangeLog
index fbfe143e8317..263d345d3357 100644
--- a/app-arch/pdv/ChangeLog
+++ b/app-arch/pdv/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-arch/pdv
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/pdv/ChangeLog,v 1.21 2012/06/16 09:35:50 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pdv/ChangeLog,v 1.22 2012/09/12 03:48:58 ottxor Exp $
+
+ 12 Sep 2012; Christoph Junghans <ottxor@gentoo.org> pdv-1.5.1-r2.ebuild:
+ added prefix support
16 Jun 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Wormo will only take care of bug wrangling.
diff --git a/app-arch/pdv/pdv-1.5.1-r2.ebuild b/app-arch/pdv/pdv-1.5.1-r2.ebuild
index cf5a392cf008..46eaba56c81f 100644
--- a/app-arch/pdv/pdv-1.5.1-r2.ebuild
+++ b/app-arch/pdv/pdv-1.5.1-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/pdv/pdv-1.5.1-r2.ebuild,v 1.10 2010/12/02 16:27:02 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/pdv/pdv-1.5.1-r2.ebuild,v 1.11 2012/09/12 03:48:58 ottxor Exp $
-EAPI=1
+EAPI=4
inherit eutils autotools
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/pdv/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~hppa ppc x86"
+KEYWORDS="~hppa ppc x86 ~x86-linux ~ppc-macos"
IUSE="X"
DEPEND="X? ( >=x11-libs/openmotif-2.3:0
@@ -22,10 +22,7 @@ DEPEND="X? ( >=x11-libs/openmotif-2.3:0
>=x11-libs/libXp-1.0.0 )"
RDEPEND="${DEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# fix a size-of-variable bug
epatch "${FILESDIR}"/${P}-opt.patch
# fix a free-before-use bug
@@ -42,19 +39,18 @@ src_unpack() {
eautoreconf
}
-src_compile() {
+src_configure() {
local myconf=""
use X || myconf="--without-x" # configure script is broken, cant use use_with
- econf ${myconf} || die
- emake || die
+ econf ${myconf}
}
src_install() {
- dobin pdv pdvmkpkg || die
+ dobin pdv pdvmkpkg
doman pdv.1 pdvmkpkg.1
if use X ; then
- dobin X11/xmpdvmkpkg || die
- doman xmpdvmkpkg.1 || die
+ dobin X11/xmpdvmkpkg
+ doman xmpdvmkpkg.1
fi
dodoc AUTHORS ChangeLog NEWS README pdv.lsm
}