ports/core (3.1): libdevmapper: fix pkg-config file
commit 6bfb8cd6628f7e3c01eba7543a4cffd5e616a722 Author: Juergen Daubert <jue@jue.li> Date: Thu Sep 3 17:23:26 2015 +0200 libdevmapper: fix pkg-config file diff --git a/libdevmapper/Pkgfile b/libdevmapper/Pkgfile index f6cf070..cde3c9c 100644 --- a/libdevmapper/Pkgfile +++ b/libdevmapper/Pkgfile @@ -5,7 +5,7 @@ name=libdevmapper version=1.02.106 -release=1 +release=2 source=(http://mirrors.kernel.org/sources.redhat.com/lvm2/LVM2.2.02.129.tgz) build() { @@ -37,4 +37,9 @@ 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=fc35b6988d65fe3f11a3f6... + sed -i '/^Requires/s/librt//' $PKG/usr/lib/pkgconfig/devmapper.pc + echo 'Libs.private: -lm -lrt' >> $PKG/usr/lib/pkgconfig/devmapper.pc }
participants (1)
-
crux@crux.nu