libdevmapper: update to 1.02.107
This commit is contained in:
parent
41d43d99f0
commit
07bb825b90
@ -1 +1 @@
|
||||
7ddcbf6eee4970068a0ca598fc775a75 LVM2.2.02.129.tgz
|
||||
e7ae07e413120713549cc6dd2a558c75 LVM2.2.02.130.tgz
|
||||
|
@ -1,21 +1,21 @@
|
||||
# Description: Device mapper userspace library
|
||||
# URL: http://sourceware.org/lvm2/
|
||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||
# Depends on: eudev
|
||||
# Depends on: eudev util-linux
|
||||
|
||||
name=libdevmapper
|
||||
version=1.02.106
|
||||
release=2
|
||||
source=(http://mirrors.kernel.org/sources.redhat.com/lvm2/LVM2.2.02.129.tgz)
|
||||
version=1.02.107
|
||||
release=1
|
||||
source=(http://mirrors.kernel.org/sources.redhat.com/lvm2/LVM2.2.02.130.tgz)
|
||||
|
||||
build() {
|
||||
cd LVM2.2.02.129
|
||||
cd LVM2.2.02.130
|
||||
|
||||
# needed for static linking with eudev
|
||||
export UDEV_LIBS="$(pkg-config --libs --static libudev)"
|
||||
|
||||
# needed for static linking
|
||||
export LIBS="-lpthread -luuid"
|
||||
export LIBS="-lpthread -luuid -lm"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--exec-prefix= \
|
||||
@ -37,9 +37,4 @@ build() {
|
||||
|
||||
# pkgconfig insists on /lib one or the other way...
|
||||
sed -i '/^libdir=/s|${exec_prefix}|/usr|' $PKG/usr/lib/pkgconfig/devmapper.pc
|
||||
|
||||
# fix pkg-config file
|
||||
# https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=fc35b6988d65fe3f11a3f668cd8f01fe3294b562
|
||||
sed -i '/^Requires/s/librt//' $PKG/usr/lib/pkgconfig/devmapper.pc
|
||||
echo 'Libs.private: -lm -lrt' >> $PKG/usr/lib/pkgconfig/devmapper.pc
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user