From 327a4333c927808ba157334af3271e69cf08a1aa Mon Sep 17 00:00:00 2001 From: Semen Panevin Date: Sun, 27 Feb 2011 08:12:06 +0000 Subject: [PATCH] Added build error handling --- contrib/gentoo/portage/net-ftn/golded+/Manifest | 2 +- .../gentoo/portage/net-ftn/golded+/golded+-9999.ebuild | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/contrib/gentoo/portage/net-ftn/golded+/Manifest b/contrib/gentoo/portage/net-ftn/golded+/Manifest index 3ceb61c..26434cf 100644 --- a/contrib/gentoo/portage/net-ftn/golded+/Manifest +++ b/contrib/gentoo/portage/net-ftn/golded+/Manifest @@ -1,2 +1,2 @@ AUX mygolded.h 1427 RMD160 870e9d51a73a9b9319a066fa659c58a10648749e SHA1 ecf5d9e371c6cff4cc05276ee69c2509ae344fdb SHA256 20dfef1b69244e9de6db92186ced9e831d2c0b8e38618db6d1ad4cef12d0e93c -EBUILD golded+-9999.ebuild 2016 RMD160 4a16f16e7affe40cfdfab6055b087d06a5e668ef SHA1 b68766b5f5ccaccb2b63b8290dd31f3dda590ef5 SHA256 9aee9cdb9605f02aa9b0cfc3e63c12a3ba4b180ec5075961ad9086356c3ef8cf +EBUILD golded+-9999.ebuild 2028 RMD160 1cb4c03a6b5824e7a0705de4f4cfb3b06475e7fb SHA1 b97aab4407fea9dc4bab75571def0ceae67d91f0 SHA256 b54a40d01130418e69392d32e098e8491608473d1ca8c58ed0a1588a7af82ee3 diff --git a/contrib/gentoo/portage/net-ftn/golded+/golded+-9999.ebuild b/contrib/gentoo/portage/net-ftn/golded+/golded+-9999.ebuild index 053d566..086b479 100644 --- a/contrib/gentoo/portage/net-ftn/golded+/golded+-9999.ebuild +++ b/contrib/gentoo/portage/net-ftn/golded+/golded+-9999.ebuild @@ -47,8 +47,6 @@ src_unpack() { } src_prepare() { - cd "${S}" - # Add header with personal configuration cp ${FILESDIR}/mygolded.h ./golded3/mygolded.h @@ -61,15 +59,11 @@ src_prepare() { } src_compile() { - cd "${S}" - - emake PLATFORM=lnx - use doc && emake docs + emake PLATFORM=lnx || die "emake failed" + use doc && emake docs || die "emake docs failed" } src_install() { - cd "${S}" - dobin bin/gedlnx bin/gnlnx bin/rddtlnx doman docs/*.1 if useq doc ; then