ports/core (3.3): libdevmapper: re-added pkg-config libs fix
commit ed5b915a2efcd7dd25fab0e4eff5d7382f620ec3 Author: Matt Housh <jaeger@crux.ninja> Date: Tue Oct 17 15:24:46 2017 -0500 libdevmapper: re-added pkg-config libs fix diff --git a/libdevmapper/.signature b/libdevmapper/.signature index bbee0aca..6ae3f787 100644 --- a/libdevmapper/.signature +++ b/libdevmapper/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/core.pub -RWRJc1FUaeVeqnHbk1zLwBe2UnnodFGEkUG3IQJVMdWJ2sAsbYYe+1iVpOSVwlhIoZBokFRte14kSw0uV+aRz+jUB+5+yqEDNQo= -SHA256 (Pkgfile) = 877346a34cd27f55f09bf16ab043c3680e08c8dae0077d9a9c9b410a320e7bff +RWRJc1FUaeVeqgRM5PYvJvtOf5gVSaf0yyFmcG4rysts0+VVxiaz1rUe6CmLpwXixrDY/YtPM6PUbsHOrvKd1RQV9ofN9J4e+QI= +SHA256 (Pkgfile) = 5a15c22fe7a6a74d85c0681e7993471d56e54ce5389d5a363a4ca9427e6966b2 SHA256 (.footprint) = e1b2ea187ba9d1831b4ad6cdf13ec1c7179b4bfc8a77289afa0172379a962ba3 SHA256 (LVM2.2.02.175.tgz) = 4db7a3ec6d082be212f759279b54bcdfd3c3797a5ea67605746049b004632559 diff --git a/libdevmapper/Pkgfile b/libdevmapper/Pkgfile index 49403a79..54e362e3 100644 --- a/libdevmapper/Pkgfile +++ b/libdevmapper/Pkgfile @@ -5,7 +5,7 @@ name=libdevmapper version=1.02.144 -release=1 +release=2 source=(http://mirrors.kernel.org/sources.redhat.com/lvm2/releases/LVM2.2.02.175.tgz) build() { @@ -29,10 +29,13 @@ build() { 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 - + # symlink dmsetup to dmstats and not dmsetup.static ln -sf dmsetup $PKG/sbin/dmstats - + # 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 + sed -i 's/@RT_LIB@/-lrt/' $PKG/usr/lib/pkgconfig/devmapper.pc }
participants (1)
-
crux@crux.nu