CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
file: synced with noeabi.
authorVictor Martinez <pitillo@ono.com>
Fri, 3 Sep 2010 10:20:36 +0000 (10:20 +0000)
committerVictor Martinez <pitillo@ono.com>
Fri, 3 Sep 2010 10:20:36 +0000 (10:20 +0000)
file/Pkgfile

index 13bf7a2a7c9822156a0db178cc38356627d806e2..6cfe82b908cf5a07d436ec91cf319049a04d4748 100644 (file)
@@ -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