mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-analyzer/bro: fix python shebang #600266
Package-Manager: Portage-2.3.31, Repoman-2.3.9 Closes: https://bugs.gentoo.org/600266 Closes: https://github.com/gentoo/gentoo/pull/8107
This commit is contained in:
committed by
Michał Górny
parent
f7bdf03a38
commit
c1fecceec0
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -44,6 +44,12 @@ pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Disable shell script feature which sets interpreter to build time default
|
||||
find . -name "*.cmake" -exec sed -i -e "s:\${\${_shell}_interp}:/usr/bin/env ${EPYTHON}:g" {} + || die
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_DEBUG=$(usex debug true false)
|
||||
|
||||
Reference in New Issue
Block a user