media-gfx/openscad: Add "|| die", fix copyright.
authorThomas Kahle <tomka@gentoo.org>
Mon, 7 Sep 2015 07:14:19 +0000 (09:14 +0200)
committerThomas Kahle <tomka@gentoo.org>
Mon, 7 Sep 2015 07:14:37 +0000 (09:14 +0200)
Package-Manager: portage-2.2.20.1

media-gfx/openscad/openscad-2015.03.ebuild

index 994c013c07d58a4092c82c31b158839b1fc05634..3248a7800708bc3420b3a56d884ac240e0a998f5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -31,7 +31,7 @@ RDEPEND="${CDEPEND}"
 
 src_prepare() {
        #Use our CFLAGS (specifically don't force x86)
-       sed -i "s/QMAKE_CXXFLAGS_RELEASE = .*//g" ${PN}.pro
+       sed -i "s/QMAKE_CXXFLAGS_RELEASE = .*//g" ${PN}.pro  || die
 
-       sed -i "s/\/usr\/local/\/usr/g" ${PN}.pro
+       sed -i "s/\/usr\/local/\/usr/g" ${PN}.pro || die
 }