[Tcsh] [PATCH] Fix Cygwin build

Corinna Vinschen vinschen at redhat.com
Sun Dec 4 18:35:35 UTC 2022


The Makefile changes after 6.24.03 break the build on targets defining
EXEEXT as a non-empty string.  EXEEXT is defined too late in the
Makefile so it's not picked up by the "all" target:

$ make
make: *** No rule to make target tcsh, needed by all.  Stop.

Fix that by moving EXEEXT to the front of Makefile.in.
---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index 2f37a3b9109a..6050c5a4153b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -9,6 +9,7 @@ SHELL=/bin/sh
 ENVCMD=/usr/bin/env
 VERSION=@PACKAGE_VERSION@
 BUILD=tcsh$(EXEEXT)
+EXEEXT=@EXEEXT@
 INSTALL=@INSTALL@
 INSTALL_DATA=@INSTALL_DATA@
 INSTALL_PROGRAM=@INSTALL_PROGRAM@
@@ -457,7 +458,6 @@ DESTMAN=${DESTDIR}${mandir}/man${MANSECT}
 # DESTMAN=${DESTDIR}/usr/share/man/man${MANSECT}
 # Amiga unix (SysVR4)
 # DESTMAN=/usr/catman/1l
-EXEEXT=@EXEEXT@
 
 BUILD_CATALOGS = @BUILD_CATALOGS@
 
-- 
2.38.1



More information about the Tcsh mailing list