From a0477cc203aca73e775799ce0c1e754cfeec3b2b Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Tue, 25 Jun 2013 11:31:50 +0200 Subject: [PATCH] keyutils: aligned with 2.8 branch --- keyutils/Pkgfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/keyutils/Pkgfile b/keyutils/Pkgfile index 45535c8..fa4e558 100644 --- a/keyutils/Pkgfile +++ b/keyutils/Pkgfile @@ -10,9 +10,12 @@ source=(http://people.redhat.com/~dhowells/$name/$name-$version.tar.bz2) build () { cd $name-$version - # We remove -m32 flag - sed "61d" -i Makefile + + # remove -m32 flag + sed -i 's|CFLAGS.*-m32$||' Makefile + sed -i "/^MAN[1-9]/s|share/||;/^CFLAGS/s/-g/$CFLAGS/;s|/lib64|/lib|" Makefile + make -j1 make DESTDIR=$PKG install } -- 2.26.2