diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2009-08-18 15:22:47 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2009-08-18 15:22:47 +0000 |
commit | f6dc995cc78dc9e07f0cfb238bbdde50e1e10da6 (patch) | |
tree | bbc7c45602f21cefbf5c596ea59564005363a695 /net-misc/putty | |
parent | fix SRC_URI (diff) | |
download | gentoo-2-f6dc995cc78dc9e07f0cfb238bbdde50e1e10da6.tar.gz gentoo-2-f6dc995cc78dc9e07f0cfb238bbdde50e1e10da6.tar.bz2 gentoo-2-f6dc995cc78dc9e07f0cfb238bbdde50e1e10da6.zip |
Adding || die to helper functions
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'net-misc/putty')
-rw-r--r-- | net-misc/putty/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/putty/putty-0.60.ebuild | 26 |
2 files changed, 21 insertions, 12 deletions
diff --git a/net-misc/putty/ChangeLog b/net-misc/putty/ChangeLog index cb8119a4c838..4451ceffc317 100644 --- a/net-misc/putty/ChangeLog +++ b/net-misc/putty/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/putty -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/ChangeLog,v 1.43 2009/07/23 08:20:03 mrness Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/ChangeLog,v 1.44 2009/08/18 15:22:47 vostorga Exp $ + + 18 Aug 2009; Víctor Ostorga <vostorga@gentoo.org> putty-0.60.ebuild: + Adding die to helper functions, bug #281323 23 Jul 2009; Alin Năstac <mrness@gentoo.org> putty-0.60.ebuild: Remove net-proxy/sshproxy blocker (#248193). diff --git a/net-misc/putty/putty-0.60.ebuild b/net-misc/putty/putty-0.60.ebuild index b07b60377dbc..e77cb27b8123 100644 --- a/net-misc/putty/putty-0.60.ebuild +++ b/net-misc/putty/putty-0.60.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/putty-0.60.ebuild,v 1.8 2009/07/23 08:20:03 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/putty-0.60.ebuild,v 1.9 2009/08/18 15:22:47 vostorga Exp $ inherit eutils toolchain-funcs flag-o-matic @@ -28,28 +28,34 @@ src_compile() { use gtk && append-flags '`gtk-config --cflags`' emake -f Makefile.gtk ${ptargets:-all} CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" + CFLAGS="${CFLAGS}" || die "emake failed" } src_install() { cd "${S}"/doc - use gtk && doman pterm.1 putty.1 puttytel.1 - use doc && dohtml *.html - dodoc puttydoc.txt - doman puttygen.1 plink.1 + if use gtk; then + doman pterm.1 putty.1 puttytel.1 || die "doman failed" + fi + if use doc; then + dohtml *.html || die "dohtml failed" + fi + dodoc puttydoc.txt || die "dodoc failed" + doman puttygen.1 plink.1 || die "doman failed" cd "${S}"/unix - use gtk && dobin pterm putty puttytel - dobin puttygen plink pscp psftp + if use gtk; then + dobin pterm putty puttytel || die "dobin failed" + fi + dobin puttygen plink pscp psftp || die "dobin failed" cd "${S}" dodoc README CHECKLST.txt LATEST.VER # install desktop file provided by Gustav Schaffter in #49577 - use gtk && { + if use gtk; then doicon "${FILESDIR}"/${PN}.xpm make_desktop_entry "putty" "PuTTY" putty "Network" - } + fi if test ! -c /dev/ptmx; then ewarn |