1 |
commit: 9aab7089a16272ae38c63a874be6d0cdf5871b04 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 1 23:58:52 2018 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 1 23:58:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aab7089 |
7 |
|
8 |
app-arch/pdv: Drop old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/649146 |
11 |
|
12 |
app-arch/pdv/pdv-1.5.1-r2.ebuild | 56 ---------------------------------------- |
13 |
1 file changed, 56 deletions(-) |
14 |
|
15 |
diff --git a/app-arch/pdv/pdv-1.5.1-r2.ebuild b/app-arch/pdv/pdv-1.5.1-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 509ae0fa82c..00000000000 |
18 |
--- a/app-arch/pdv/pdv-1.5.1-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,56 +0,0 @@ |
21 |
-# Copyright 1999-2012 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=4 |
25 |
- |
26 |
-inherit eutils autotools toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="build a self-extracting and self-installing binary package" |
29 |
-HOMEPAGE="https://sourceforge.net/projects/pdv" |
30 |
-SRC_URI="mirror://sourceforge/pdv/${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="MIT" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~amd64 ~hppa ppc x86 ~x86-linux ~ppc-macos" |
35 |
-IUSE="X" |
36 |
- |
37 |
-DEPEND="X? ( >=x11-libs/motif-2.3:0 |
38 |
- >=x11-libs/libX11-1.0.0 |
39 |
- >=x11-libs/libXt-1.0.0 |
40 |
- >=x11-libs/libXext-1.0.0 |
41 |
- >=x11-libs/libXp-1.0.0 )" |
42 |
-RDEPEND="${DEPEND}" |
43 |
- |
44 |
-src_prepare() { |
45 |
- # fix a size-of-variable bug |
46 |
- epatch "${FILESDIR}"/${P}-opt.patch |
47 |
- # fix a free-before-use bug |
48 |
- epatch "${FILESDIR}"/${P}-early-free.patch |
49 |
- # fix a configure script bug |
50 |
- epatch "${FILESDIR}"/${P}-x-config.patch |
51 |
- # fix default args bug from assuming 'char' is signed |
52 |
- epatch "${FILESDIR}"/${P}-default-args.patch |
53 |
- # prevent pre-stripped binaries |
54 |
- epatch "${FILESDIR}"/${P}-no-strip.patch |
55 |
- |
56 |
- # re-build configure script since patch was applied to configure.in |
57 |
- cd "${S}"/X11 |
58 |
- eautoreconf |
59 |
- tc-export CC |
60 |
-} |
61 |
- |
62 |
-src_configure() { |
63 |
- local myconf="" |
64 |
- use X || myconf="--without-x" # configure script is broken, cant use use_with |
65 |
- econf ${myconf} |
66 |
-} |
67 |
- |
68 |
-src_install() { |
69 |
- dobin pdv pdvmkpkg |
70 |
- doman pdv.1 pdvmkpkg.1 |
71 |
- if use X ; then |
72 |
- dobin X11/xmpdvmkpkg |
73 |
- doman xmpdvmkpkg.1 |
74 |
- fi |
75 |
- dodoc AUTHORS ChangeLog NEWS README pdv.lsm |
76 |
-} |