This is the mail archive of the cygwin-xfree@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] xc/config/imake/Makefile.ini


Suhaib,
I was wondering if you forwarded this patch on to the XFree86 people, or if
you could point me in the right direction to send it myself.  
The patch is needed because Cygwin, by design, returns true to a search for
file 'imake' when a file named 'imake.exe' exists, even though a file named
'imake' does not exist.  Applying this patch fixes the build bustage when
the bootstrapping steps attempt to move file 'imake' that does not exist.
Harold

Index: Makefile.ini
===================================================================
RCS file: /cvs/xc/config/imake/Makefile.ini,v
retrieving revision 3.8
diff -p -3 -r3.8 Makefile.ini
*** Makefile.ini        2000/08/26 15:28:32     3.8
--- Makefile.ini        2000/10/02 03:12:29
*************** ccimake: ccimake.c
*** 40,47 ****
  bootstrap:
        -@if [ -d bootstrap ]; then exit 0; else set -x; mkdir bootstrap; fi
        $(MV) *.o bootstrap
-       @if [ -f imake ]; then set -x; $(MV) imake bootstrap; else exit 0;
fi
        @if [ -f imake.exe ]; then set -x; $(MV) imake.exe bootstrap; else
exit 0; fi

  relink:
        $(RM) imake
--- 40,47 ----
  bootstrap:
        -@if [ -d bootstrap ]; then exit 0; else set -x; mkdir bootstrap; fi
        $(MV) *.o bootstrap
        @if [ -f imake.exe ]; then set -x; $(MV) imake.exe bootstrap; else
exit 0; fi
+       @if [ -f imake ]; then set -x; $(MV) imake bootstrap; else exit 0;
fi

  relink:
        $(RM) imake

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]