From f60269ec2c3f9eaa1777b3e8b7546c4d71585fe3 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 3 Sep 2010 10:20:36 +0000 Subject: [PATCH] file: synced with noeabi. --- file/Pkgfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/file/Pkgfile b/file/Pkgfile index 13bf7a2..6cfe82b 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