mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-libs/itpp: Add missing || die
Package-Manager: Portage-2.3.48, Repoman-2.3.10
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
@@ -37,8 +37,8 @@ src_prepare() {
|
||||
itpp/CMakeLists.txt || die
|
||||
|
||||
# respect gentoo libdir
|
||||
sed -i "s#/lib#/$(get_libdir)#" itpp-config.cmake.in
|
||||
sed -i "s#/lib#/$(get_libdir)#" itpp.pc.cmake.in
|
||||
sed -i "s#/lib#/$(get_libdir)#" itpp-config.cmake.in || die
|
||||
sed -i "s#/lib#/$(get_libdir)#" itpp.pc.cmake.in || die
|
||||
sed -i \
|
||||
-e "s#LIBRARY DESTINATION lib#LIBRARY DESTINATION $(get_libdir)#" \
|
||||
-e "s#ARCHIVE DESTINATION lib#ARCHIVE DESTINATION $(get_libdir)#" \
|
||||
|
||||
Reference in New Issue
Block a user