Changeset 77678 for trunk/dports


Ignore:
Timestamp:
Apr 8, 2011, 11:50:02 PM (13 years ago)
Author:
jmr@…
Message:

file: fix build with with_text_magic_file variant (#23710)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/file/files/patch-magic-Makefile.in.diff

    r63566 r77678  
    11--- magic/Makefile.in.orig      2010-01-22 13:44:34.000000000 -0800
    22+++ magic/Makefile.in   2010-02-08 16:43:06.000000000 -0800
    3 @@ -171,7 +171,7 @@
     3@@ -175,7 +175,7 @@
    44 MAGIC_FRAGMENT_BASE = Magdir
    55 MAGIC_DIR = $(top_srcdir)/magic
     
    1010 $(MAGIC_DIR)/Header \
    1111 $(MAGIC_DIR)/Localstuff \
    12 @@ -585,6 +585,15 @@
    13         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
    14         uninstall uninstall-am uninstall-pkgdataDATA
    15  
    16 +magic: $(EXTRA_DIST)
     12@@ -606,6 +606,17 @@
     13        @mkdir magic && cp -p $(EXTRA_DIST) magic
     14        $(FILE_COMPILE) -C -m magic
     15        @rm -fr magic
     16+
     17+magic: $(EXTRA_DIST) ${MAGIC}
    1718+       for frag in $(EXTRA_DIST); do \
    1819+               if test -f $(srcdir)/$$frag; then \
     
    2324+               cat $$f; \
    2425+       done >> $@
    25  
    26  ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
    27         @mkdir magic && cp -p $(EXTRA_DIST) magic
     26+
     27 # Tell versions [3.59,3.63) of GNU make to not export all variables.
     28 # Otherwise a system limit (for SysV at least) may be exceeded.
     29 .NOEXPORT:
Note: See TracChangeset for help on using the changeset viewer.