summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-01-22 16:31:51 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-01-22 16:35:25 -0800
commitc5071270d59ea9a3bb4ca00098ad8ed8c89c0293 (patch)
tree3a266a6158aca6cb0f63ec9696bb0719388506a6
parentdev-python/awscli: bump to v1.17.7 (diff)
downloadgentoo-c5071270d59ea9a3bb4ca00098ad8ed8c89c0293.tar.gz
gentoo-c5071270d59ea9a3bb4ca00098ad8ed8c89c0293.tar.bz2
gentoo-c5071270d59ea9a3bb4ca00098ad8ed8c89c0293.zip
sys-fs/zfs: fix python detection for scripts
Bug: https://bugs.gentoo.org/706108 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r--sys-fs/zfs/zfs-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild
index ccf810c825f2..1c02c0298585 100644
--- a/sys-fs/zfs/zfs-9999.ebuild
+++ b/sys-fs/zfs/zfs-9999.ebuild
@@ -115,6 +115,7 @@ src_prepare() {
src_configure() {
use custom-cflags || strip-flags
+ python_setup
local myconf=(
--bindir="${EPREFIX}/bin"
@@ -128,6 +129,7 @@ src_configure() {
--with-linux="${KV_DIR}"
--with-linux-obj="${KV_OUT_DIR}"
--with-udevdir="$(get_udevdir)"
+ --with-python="${EPYTHON}"
--with-systemdunitdir="$(systemd_get_systemunitdir)"
--with-systemdpresetdir="${EPREFIX}/lib/systemd/system-preset"
$(use_enable debug)
@@ -171,7 +173,6 @@ src_install() {
fi
# enforce best available python implementation
- python_setup
python_fix_shebang "${ED}/bin"
}