sci-libs/nemesis: build fix for newer exodusii (bug #582726)
authorChristoph Junghans <ottxor@gentoo.org>
Wed, 11 May 2016 16:25:45 +0000 (10:25 -0600)
committerChristoph Junghans <ottxor@gentoo.org>
Wed, 11 May 2016 16:27:29 +0000 (10:27 -0600)
Package-Manager: portage-2.2.28

sci-libs/nemesis/nemesis-5.24.ebuild

index 8b2dfaac39a003c7507031365ec4bbe61d0d7177..5adfb9b5d3cfb82e4b32953c3dad52aa1874490d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -30,6 +30,7 @@ PATCHES=( "${FILESDIR}"/${PN}-5.22b-multilib.patch )
 src_prepare() {
        find ../exodus -delete || die
        cmake-utils_src_prepare
+       sed -i 's/exoIIv2c/NAMES exodus &/' CMakeLists.txt || die
 }
 
 src_configure() {