1 |
hwoarang 10/12/29 11:18:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nmh-1.3-r3.ebuild |
5 |
Log: |
6 |
Revbump. Addresses bugs #348816 and bug #341741. Thanks to Seth Robertson <in-gentoo@××××.org> for the ebuild |
7 |
|
8 |
(Portage version: 2.1.9.26/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.27 mail-client/nmh/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/ChangeLog?rev=1.27&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/ChangeLog?rev=1.27&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/ChangeLog?r1=1.26&r2=1.27 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/mail-client/nmh/ChangeLog,v |
20 |
retrieving revision 1.26 |
21 |
retrieving revision 1.27 |
22 |
diff -u -r1.26 -r1.27 |
23 |
--- ChangeLog 27 Sep 2010 17:37:55 -0000 1.26 |
24 |
+++ ChangeLog 29 Dec 2010 11:18:49 -0000 1.27 |
25 |
@@ -1,6 +1,12 @@ |
26 |
-# ChangeLog for net-mail/nmh |
27 |
+# ChangeLog for mail-client/nmh |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/ChangeLog,v 1.26 2010/09/27 17:37:55 hwoarang Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/ChangeLog,v 1.27 2010/12/29 11:18:49 hwoarang Exp $ |
31 |
+ |
32 |
+*nmh-1.3-r3 (29 Dec 2010) |
33 |
+ |
34 |
+ 29 Dec 2010; Markos Chandras <hwoarang@g.o> +nmh-1.3-r3.ebuild: |
35 |
+ Revbump. Addresses bugs #348816 and bug #341741. Thanks to Seth Robertson |
36 |
+ <in-gentoo@××××.org> for the ebuild |
37 |
|
38 |
*nmh-1.3-r2 (27 Sep 2010) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 mail-client/nmh/nmh-1.3-r3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/nmh-1.3-r3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/nmh/nmh-1.3-r3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: nmh-1.3-r3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/mail-client/nmh/nmh-1.3-r3.ebuild,v 1.1 2010/12/29 11:18:49 hwoarang Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit eutils base |
57 |
|
58 |
DESCRIPTION="New MH mail reader" |
59 |
HOMEPAGE="http://www.nongnu.org/nmh/" |
60 |
SRC_URI="http://savannah.nongnu.org/download/nmh/${P}.tar.gz" |
61 |
|
62 |
LICENSE="as-is" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="gdbm" |
66 |
|
67 |
DEPEND="gdbm? ( sys-libs/gdbm ) |
68 |
!gdbm? ( sys-libs/db ) |
69 |
>=sys-libs/ncurses-5.2 |
70 |
net-libs/liblockfile |
71 |
app-editors/gentoo-editor |
72 |
!!media-gfx/pixie" # Bug #295996 media-gfx/pixie also uses show |
73 |
RDEPEND="${DEPEND}" |
74 |
|
75 |
DOCS=( ChangeLog DATE MACHINES README ) |
76 |
|
77 |
src_prepare() { |
78 |
# Patches from bug #22173. |
79 |
epatch "${FILESDIR}"/${P}-inc-login.patch |
80 |
epatch "${FILESDIR}"/${P}-install.patch |
81 |
# bug #57886 |
82 |
epatch "${FILESDIR}"/${P}-m_getfld.patch |
83 |
# bug #319937 |
84 |
epatch "${FILESDIR}"/${P}-db5.patch |
85 |
# Allow parallel compiles/installs |
86 |
epatch "${FILESDIR}"/${P}-parallelmake.patch |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
[ -z "${PAGER}" ] && export PAGER="/usr/bin/more" |
91 |
|
92 |
# strip options from ${PAGER} (quoting not good enough) (Bug #262150) |
93 |
PAGER=${PAGER%% *} |
94 |
|
95 |
# Bug 348816 & Bug 341741: The previous ebuild default of |
96 |
# /usr/bin caused unnecessary conflicts with other |
97 |
# packages. However, the default nmh libdir location causes |
98 |
# problems with cross-compiling, so we use, eg., /usr/lib64. |
99 |
# Users may use /usr/lib/nmh in scripts needing these support |
100 |
# programs in normal environments. |
101 |
local myconf="--libdir=/usr/$(get_libdir)/nmh" |
102 |
|
103 |
# Have gdbm use flag actually control which version of db in use |
104 |
if use gdbm; then |
105 |
myconf="${myconf} --with-ndbmheader=gdbm/ndbm.h --with-ndbm=gdbm_compat" |
106 |
else |
107 |
if has_version ">=sys-libs/db-2"; then |
108 |
myconf="${myconf} --with-ndbmheader=db.h --with-ndbm=db" |
109 |
else |
110 |
myconf="${myconf} --with-ndbmheader=db1/ndbm.h --with-ndbm=db1" |
111 |
fi |
112 |
fi |
113 |
|
114 |
# use gentoo-editor to avoid implicit dependencies (Bug #294762) |
115 |
EDITOR=/usr/libexec/gentoo-editor |
116 |
|
117 |
econf \ |
118 |
--prefix=/usr \ |
119 |
--mandir=/usr/share/man \ |
120 |
--with-editor="${EDITOR}" \ |
121 |
--with-pager="${PAGER}" \ |
122 |
--enable-nmh-pop \ |
123 |
--sysconfdir=/etc/nmh \ |
124 |
${myconf} |
125 |
} |