From: Jose V Beneyto Date: Wed, 31 Mar 2010 07:10:50 +0000 (+0200) Subject: file: modified Pkgfile to fix compilation (noeabi) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=15298a97633866e4491c78310ad24b1e6d66d08a;p=attic%2Fports%2Fcore-cross.git file: modified Pkgfile to fix compilation (noeabi) --- 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