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
commitee51512cb9ca2ac9cc46e7fa01b82d66763a0ed2 (patch)
tree76d9952ab280722973dadc43826f50559a6f4d3f /mail-client/nail/nail-12.4.ebuild
parentx86 stable wrt security bug #314187 (diff)
downloadhistorical-ee51512cb9ca2ac9cc46e7fa01b82d66763a0ed2.tar.gz
historical-ee51512cb9ca2ac9cc46e7fa01b82d66763a0ed2.tar.bz2
historical-ee51512cb9ca2ac9cc46e7fa01b82d66763a0ed2.zip
Make it compilable on Prefix systems
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'mail-client/nail/nail-12.4.ebuild')
-rw-r--r--mail-client/nail/nail-12.4.ebuild9
1 files changed, 5 insertions, 4 deletions
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