summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-06-20 09:35:44 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-06-20 09:35:44 +0000
commit8d661d48998663da6ea29bcacc2d726658ad250f (patch)
tree835439df8331574944fc1dd2934f925d46459495 /mail-client
parentx86 stable wrt security bug #314187 (diff)
downloadgentoo-2-8d661d48998663da6ea29bcacc2d726658ad250f.tar.gz
gentoo-2-8d661d48998663da6ea29bcacc2d726658ad250f.tar.bz2
gentoo-2-8d661d48998663da6ea29bcacc2d726658ad250f.zip
Make it compilable on Prefix systems
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/nail/ChangeLog5
-rw-r--r--mail-client/nail/nail-12.4.ebuild9
2 files changed, 9 insertions, 5 deletions
diff --git a/mail-client/nail/ChangeLog b/mail-client/nail/ChangeLog
index ec0b809b3217..61c13e75f78f 100644
--- a/mail-client/nail/ChangeLog
+++ b/mail-client/nail/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-client/nail
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/ChangeLog,v 1.58 2010/02/02 18:14:19 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/ChangeLog,v 1.59 2010/06/20 09:35:44 fauli Exp $
+
+ 20 Jun 2010; <fauli@gentoo.org> nail-12.4.ebuild:
+ Make it compilable on Prefix systems
02 Feb 2010; Jeroen Roovers <jer@gentoo.org> nail-12.4.ebuild,
+files/nail-12.4-debian.patch:
diff --git a/mail-client/nail/nail-12.4.ebuild b/mail-client/nail/nail-12.4.ebuild
index 6739334ec060..df8f2cd70c70 100644
--- a/mail-client/nail/nail-12.4.ebuild
+++ b/mail-client/nail/nail-12.4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/nail-12.4.ebuild,v 1.3 2010/02/02 18:14:19 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/nail/nail-12.4.ebuild,v 1.4 2010/06/20 09:35:44 fauli Exp $
-EAPI="2"
+EAPI="3"
inherit eutils toolchain-funcs
@@ -64,7 +64,7 @@ src_compile() {
emake \
CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
- PREFIX=/usr \
+ PREFIX="${EPREFIX}"/usr SYSCONFDIR="${EPREFIX}"/etc \
MAILSPOOL='/var/spool/mail' \
|| die "emake failed"
}
@@ -80,7 +80,8 @@ src_install () {
make DESTDIR="${D}" \
UCBINSTALL=$(type -p install) \
- PREFIX=/usr install || die "install failed"
+ PREFIX="${EPREFIX}"/usr SYSCONFDIR="${EPREFIX}"/etc install \
+ || die
dodoc AUTHORS INSTALL README
dodir /bin
dosym /usr/bin/mailx /bin/mail