fix includedir patches for live ebuilds of spl and zfs(referenced by issue #3)

This commit is contained in:
2012-01-29 21:52:27 +04:00
parent fb75471208
commit e1603b1a72
6 changed files with 46 additions and 4 deletions

View File

@ -0,0 +1,14 @@
diff -urN zfs-0.6.0-rc3.orig/Makefile.am zfs-0.6.0-rc3/Makefile.am
--- zfs-0.6.0-rc3.orig/Makefile.am 2011-04-07 22:31:01.000000000 +0400
+++ zfs-0.6.0-rc3/Makefile.am 2011-04-12 03:25:36.000000000 +0400
@@ -33,9 +33,7 @@
if CONFIG_KERNEL
install-data-local:
- release=$(ZFS_META_VERSION)-$(ZFS_META_RELEASE); \
- instdest=$(DESTDIR)/usr/src/zfs-$$release/$(LINUX_VERSION); \
- echo "$$release" >$$instdest/zfs.release; \
+ instdest=$(DESTDIR)/${includedir}/zfs-linux; \
for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
done