ports/core (3.0): libdevmapper: update to 1.02.79
commit 817fd3bb086687acd5922fa9531d7e8477f832c7 Author: Juergen Daubert <jue@jue.li> Date: Mon Aug 19 19:35:02 2013 +0200 libdevmapper: update to 1.02.79 diff --git a/libdevmapper/.md5sum b/libdevmapper/.md5sum index 9ac0417..ca9d969 100644 --- a/libdevmapper/.md5sum +++ b/libdevmapper/.md5sum @@ -1 +1 @@ -1ce5b7f9981e1d02dfd1d3857c8d9fbe LVM2.2.02.98.tgz +9629cf5728544d7e637cafde1f73d777 LVM2.2.02.100.tgz diff --git a/libdevmapper/Pkgfile b/libdevmapper/Pkgfile index ce4439e..26c2ae8 100644 --- a/libdevmapper/Pkgfile +++ b/libdevmapper/Pkgfile @@ -4,28 +4,31 @@ # Depends on: udev name=libdevmapper -version=1.02.77 +version=1.02.79 release=1 -source=(ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.98.tgz) +source=(ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.100.tgz) build() { - cd LVM2.2.02.98 + cd LVM2.2.02.100 + # needed for static linking with eudev + export UDEV_LIBS="$(pkg-config --libs --static libudev)" + ./configure --prefix=/usr \ - --exec-prefix= \ - --datarootdir=/usr \ - --with-udev-prefix= \ - --disable-readline \ - --enable-pkgconfig \ - --enable-static_link \ - --enable-udev_sync \ - --enable-udev_rules \ - --with-{user,group}=root + --exec-prefix= \ + --datarootdir=/usr \ + --with-udev-prefix= \ + --disable-readline \ + --enable-pkgconfig \ + --enable-static_link \ + --enable-udev_sync \ + --enable-udev_rules \ + --with-{user,group}=root make device-mapper make DESTDIR=$PKG install_device-mapper install -m0644 -D udev/12-dm-permissions.rules $PKG/etc/udev/rules.d/12-dm-permissions.rules.example - #pkgconfig insists on /lib one or the other way... + # pkgconfig insists on /lib one or the other way... sed -i '/^libdir=/s|${exec_prefix}|/usr|' $PKG/usr/lib/pkgconfig/devmapper.pc }
participants (1)
-
crux@crux.nu