summaryrefslogtreecommitdiffstats
path: root/udev/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'udev/Pkgfile')
-rw-r--r--udev/Pkgfile9
1 files changed, 3 insertions, 6 deletions
diff --git a/udev/Pkgfile b/udev/Pkgfile
index 104c479c5..5dd8e10aa 100644
--- a/udev/Pkgfile
+++ b/udev/Pkgfile
@@ -7,14 +7,14 @@
name=udev
version=182
-release=1
+release=2
_lfs_release=20100128
source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/$name-$version.tar.xz
http://www.linuxfromscratch.org/lfs/downloads/development/udev-config-${_lfs_release}.tar.bz2)
build() {
if ( pkginfo -i|grep "^glib " > /dev/null) then
- EXTRA="--with-pci-ids-path=/usr/share/pci.ids.gz --enable-udev_acl"
+ EXTRA="--with-pci-ids-path=/usr/share/pci.ids"
else
EXTRA="--disable-extras --disable-introspection --disable-hwdb --disable-keymap"
fi
@@ -27,10 +27,6 @@ build() {
ln -s /proc/self/fd/2 $PKG/lib/udev/devices/stderr
ln -s /proc/kcore $PKG/lib/udev/devices/core
- BLKID_CFLAGS="-I/usr/include/blkid" \
- BLKID_LIBS="-L/lib -lblkid" \
- KMOD_CFLAGS="-I/usr/include" \
- KMOD_LIBS="-L/lib -lkmod" \
./configure --prefix=/usr \
--with-rootlibdir=/lib \
--docdir=/usr/share/doc/udev-$version \
@@ -41,6 +37,7 @@ build() {
--libexecdir=/lib \
--enable-rule_generator \
--with-systemdsystemunitdir=no \
+ --with-firmware-path=/lib/firmware \
$EXTRA
make
make install DESTDIR=$PKG mandir="/usr/share/man"