diff options
Diffstat (limited to 'mail-client/mailx-support/mailx-support-20060102-r1.ebuild')
-rw-r--r-- | mail-client/mailx-support/mailx-support-20060102-r1.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mail-client/mailx-support/mailx-support-20060102-r1.ebuild b/mail-client/mailx-support/mailx-support-20060102-r1.ebuild index 03a46af6f47f..e701f18a2329 100644 --- a/mail-client/mailx-support/mailx-support-20060102-r1.ebuild +++ b/mail-client/mailx-support/mailx-support-20060102-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx-support/mailx-support-20060102-r1.ebuild,v 1.13 2009/07/27 19:27:06 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/mailx-support/mailx-support-20060102-r1.ebuild,v 1.14 2010/06/14 20:01:21 darkside Exp $ inherit eutils toolchain-funcs @@ -10,7 +10,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" RDEPEND="" @@ -20,6 +20,13 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-respect-ldflags.patch + + # This code should only be ran with Gentoo Prefix profiles + if use prefix; then + ebegin "Allowing unprivileged install" + sed -i -e "s|-g 0 -o 0||g" Makefile + eend $? + fi } src_compile() { |