/[gentoo-x86]/app-shells/mksh/mksh-40b.ebuild
Gentoo

Diff of /app-shells/mksh/mksh-40b.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/Attic/mksh-40b.ebuild,v 1.1 2011/07/21 10:51:51 patrick Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/Attic/mksh-40b.ebuild,v 1.2 2011/08/01 15:49:06 patrick Exp $
4 4
5inherit eutils 5inherit eutils
6 6
7DESCRIPTION="MirBSD KSH Shell" 7DESCRIPTION="MirBSD KSH Shell"
8HOMEPAGE="http://mirbsd.de/mksh" 8HOMEPAGE="http://mirbsd.de/mksh"
22 cp "${DISTDIR}/arc4random.c.${ARC4_VERSION}" "${S}/arc4random.c" || die 22 cp "${DISTDIR}/arc4random.c.${ARC4_VERSION}" "${S}/arc4random.c" || die
23} 23}
24 24
25src_compile() { 25src_compile() {
26 tc-export CC 26 tc-export CC
27 sh Build.sh -r || die 27 # we can't assume lto existing/enabled, so we add a fallback
28 sh Build.sh -r -c lto || sh Rebuild.sh || die
28} 29}
29 30
30src_install() { 31src_install() {
31 exeinto /bin 32 exeinto /bin
32 doexe mksh || die 33 doexe mksh || die

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20