zfs: fix cross build
This commit is contained in:
parent
5bdafb0318
commit
eacd70d42f
1 changed files with 4 additions and 0 deletions
|
@ -23,9 +23,11 @@ dkms_modules="zfs ${version/r/-}"
|
|||
depends="dkms>=2.2.0.3_9 spl>=${version}"
|
||||
|
||||
pre_configure() {
|
||||
export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/tirpc/"
|
||||
autoreconf -fi
|
||||
tar czf ../clean.tar.gz .
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense COPYRIGHT
|
||||
vlicense OPENSOLARIS.LICENSE
|
||||
|
@ -37,6 +39,7 @@ post_install() {
|
|||
rm -rf ${DESTDIR}/usr/lib/systemd
|
||||
rm -rf ${DESTDIR}/usr/share/initramfs-tools
|
||||
}
|
||||
|
||||
zfs-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc="Z File System -- development files"
|
||||
|
@ -46,6 +49,7 @@ zfs-devel_package() {
|
|||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
do_clean() {
|
||||
rm -f ../clean.tar.gz
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue