source: patches/file-5.03-cross_compile-1.patch@ 0d1a5774

clfs-1.2
Last change on this file since 0d1a5774 was 756efbd, checked in by Jim Gifford <clfs@…>, 15 years ago

Updated to File 5.03

  • Property mode set to 100644
File size: 1.2 KB
  • magic/Makefile.am

    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
    old new  
    231231FILE_COMPILE_DEP = $(FILE_COMPILE)
    232232endif
    233233
    234 ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
     234${MAGIC}: $(EXTRA_DIST)
    235235        $(FILE_COMPILE) -C -m $(MAGIC_FRAGMENT_DIR)
    236236        @mv $(MAGIC_FRAGMENT_BASE).mgc $@
  • magic/Makefile.in

    diff -Naur file-4.26.orig/magic/Makefile.in file-4.26/magic/Makefile.in
    old new  
    578578        uninstall uninstall-am uninstall-pkgdataDATA
    579579
    580580
    581 ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
     581${MAGIC}: $(EXTRA_DIST)
    582582        $(FILE_COMPILE) -C -m $(MAGIC_FRAGMENT_DIR)
    583583        @mv $(MAGIC_FRAGMENT_BASE).mgc $@
    584584# Tell versions [3.59,3.63) of GNU make to not export all variables.
Note: See TracBrowser for help on using the repository browser.