Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=e92547a615c68602285e41d3718f6ebfb548054f

commit e92547a615c68602285e41d3718f6ebfb548054f
Author: Daniel Exner <[email protected]>
Date:   Tue Nov 29 11:42:21 2011 +0100

keyutils-1.5.3-1-i686

* added arm architecture

diff --git a/source/apps-extra/keyutils/FrugalBuild 
b/source/apps-extra/keyutils/FrugalBuild
index e3dc378..2e561d8 100644
--- a/source/apps-extra/keyutils/FrugalBuild
+++ b/source/apps-extra/keyutils/FrugalBuild
@@ -7,11 +7,14 @@ pkgrel=1
pkgdesc="Keyutils is a set of utilities for managing the key retention facility 
in the kernel"
url="https://rhn.redhat.com/errata/RHEA-2006-0090.html";
depends=()
-archs=('i686' 'x86_64')
+archs=('i686' 'x86_64' 'arm')
groups=('apps-extra')
-source=(http://people.redhat.com/~dhowells/keyutils/keyutils-$pkgver.tar.bz2)
+source=(http://people.redhat.com/~dhowells/keyutils/keyutils-$pkgver.tar.bz2 \
+       cflags.patch)
up2date="lynx -dump http://people.redhat.com/~dhowells/keyutils/ | Flasttar"
-sha1sums=('622f1f6405a8aa99aa2a3ce7e87045794eeaa11e')
+sha1sums=('622f1f6405a8aa99aa2a3ce7e87045794eeaa11e' \
+          '92eb5cf5a840382d1404791d91f22609a4c40976')
+

build() {
Fsed '/lib64' '/lib' Makefile
diff --git a/source/apps-extra/keyutils/cflags.patch 
b/source/apps-extra/keyutils/cflags.patch
new file mode 100644
index 0000000..866c8c9
--- /dev/null
+++ b/source/apps-extra/keyutils/cflags.patch
@@ -0,0 +1,15 @@
+--- keyutils-1.5.3.old/Makefile        2011-11-29 11:39:49.000000000 +0100
++++ keyutils-1.5.3/Makefile    2011-11-29 11:40:10.000000000 +0100
+@@ -56,12 +56,10 @@
+ LNS           := ln -sf
+
+ ifeq ($(BUILDFOR),32-bit)
+-CFLAGS                += -m32
+ LIBDIR                := /lib
+ USRLIBDIR     := /usr/lib
+ else
+ ifeq ($(BUILDFOR),64-bit)
+-CFLAGS                += -m64
+ LIBDIR                := /lib
+ USRLIBDIR     := /usr/lib
+ endif
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to