Submitted By: Jim Gifford (jim at cross-lfs dot org) Date: 2009-01-05 Initial Package Version: 4.26 Origin: T2 Project Upstream Status: Unknown Description: When Cross Compiling magic.mgc doesn't get generated properly. This patch corrects the issue diff -Naur file-4.26.orig/magic/Makefile.am file-4.26/magic/Makefile.am --- file-4.26.orig/magic/Makefile.am 2008-08-08 01:24:06.000000000 -0700 +++ file-4.26/magic/Makefile.am 2009-01-05 09:59:19.000000000 -0800 @@ -231,6 +231,6 @@ FILE_COMPILE_DEP = $(FILE_COMPILE) endif -${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP) +${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE) -C -m $(MAGIC_FRAGMENT_DIR) @mv $(MAGIC_FRAGMENT_BASE).mgc $@ diff -Naur file-4.26.orig/magic/Makefile.in file-4.26/magic/Makefile.in --- file-4.26.orig/magic/Makefile.in 2008-08-30 03:01:42.000000000 -0700 +++ file-4.26/magic/Makefile.in 2009-01-05 09:59:20.000000000 -0800 @@ -578,7 +578,7 @@ uninstall uninstall-am uninstall-pkgdataDATA -${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP) +${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE) -C -m $(MAGIC_FRAGMENT_DIR) @mv $(MAGIC_FRAGMENT_BASE).mgc $@ # Tell versions [3.59,3.63) of GNU make to not export all variables.