summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/zfs')
-rw-r--r--sys-fs/zfs/zfs-0.6.5.2-r1.ebuild (renamed from sys-fs/zfs/zfs-0.6.5.2.ebuild)6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-fs/zfs/zfs-0.6.5.2.ebuild b/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild
index 54dd3410ffc3..83049e7f4ec0 100644
--- a/sys-fs/zfs/zfs-0.6.5.2.ebuild
+++ b/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild
@@ -86,6 +86,12 @@ pkg_setup() {
}
src_prepare() {
+if [ ${PV} != "9999" ]
+ then
+ # Fix OpenRC scripts
+ epatch "${FILESDIR}/zfs-0.6.5-fix-openrc-scripts.patch"
+ fi
+
# Update paths
sed -e "s|/sbin/lsmod|/bin/lsmod|" \
-e "s|/usr/bin/scsi-rescan|/usr/sbin/rescan-scsi-bus|" \