diff options
Diffstat (limited to 'sys-kernel/dracut-crypt-ssh')
-rw-r--r-- | sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.7.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.7.ebuild b/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.7.ebuild index a403202d1903..88badd7c96af 100644 --- a/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.7.ebuild +++ b/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.7.ebuild @@ -27,6 +27,15 @@ RDEPEND="${DEPEND} PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) +src_prepare() { + default + + # Fix libdir (hard-coded to "lib64") + sed "s@/lib64/@/$(get_libdir)/@" \ + -i modules/60crypt-ssh/module-setup.sh \ + || die +} + src_configure() { tc-export CC default |