From: Victor Martinez Date: Fri, 3 Sep 2010 10:20:36 +0000 (+0000) Subject: file: synced with noeabi. X-Git-Url: http://gitweb/?a=commitdiff_plain;h=f60269ec2c3f9eaa1777b3e8b7546c4d71585fe3;p=attic%2Fports%2Fcore-cross.git file: synced with noeabi. --- 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