kernel-libc-headers: scsi/scsi.h doesn't need linux/scatterlist.h include.

--HG--
branch : gnome3
This commit is contained in:
Juan RP 2011-03-26 11:19:48 +01:00
parent 4528bfe25e
commit 0c6030874a

View file

@ -2,7 +2,7 @@
. ${XBPS_SRCPKGDIR}/kernel/common-vars . ${XBPS_SRCPKGDIR}/kernel/common-vars
pkgname=kernel-libc-headers pkgname=kernel-libc-headers
#revision=1 revision=1
build_style=custom-install build_style=custom-install
short_desc="The Linux kernel headers for development" short_desc="The Linux kernel headers for development"
long_desc=" long_desc="
@ -13,14 +13,15 @@ nostrip=yes
do_build() do_build()
{ {
make headers_check || return 1 make headers_check
} }
do_install() do_install()
{ {
make INSTALL_HDR_PATH=${DESTDIR}/usr headers_install || return 1 make INSTALL_HDR_PATH=${DESTDIR}/usr headers_install
# Install scsi/scsi.h header, required by eject and others. # Install scsi/scsi.h header, required by eject and others.
install -m644 ${wrksrc}/include/scsi/scsi.h ${DESTDIR}/usr/include/scsi sed -i -e "/^\#include <linux\/scatterlist.h>$/d" include/scsi/scsi.h
install -m644 include/scsi/scsi.h ${DESTDIR}/usr/include/scsi
} }
post_install() post_install()