From: Georgy Yakovlev Date: Thu, 23 Jan 2020 00:31:51 +0000 (-0800) Subject: sys-fs/zfs: fix python detection for scripts X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c5071270d59ea9a3bb4ca00098ad8ed8c89c0293;p=gentoo.git 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 --- 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" }