From 15298a97633866e4491c78310ad24b1e6d66d08a Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Wed, 31 Mar 2010 09:10:50 +0200 Subject: [PATCH] file: modified Pkgfile to fix compilation (noeabi) --- file/Pkgfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/file/Pkgfile b/file/Pkgfile index 6237218..b60f365 100644 --- a/file/Pkgfile +++ b/file/Pkgfile @@ -6,16 +6,21 @@ name=file version=5.04 -release=1 +release=2 source=(ftp://ftp.fu-berlin.de/unix/tools/file/$name-$version.tar.gz) build() { cd $name-$version + + sed -i magic/Makefile.am magic/Makefile.in \ + -e 's|-C -m magic|-C -m magic/magic|' + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --mandir=/usr/man \ - --enable-fsect-man5 + --enable-fsect-man5 + make make DESTDIR=$PKG install rmdir $PKG/usr/man/man4 -- 2.26.2