bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Cygwin build bug in tar-1.15.1


From: Eric Blake
Subject: [Bug-tar] Cygwin build bug in tar-1.15.1
Date: Sat, 13 Aug 2005 13:35:47 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

rmt/Makefile.am does not properly account for $(EXEEXT) in its
rmt_PROGRAMS rule, so GNU make's default rule for rmt.c to rmt compilation
kicks in instead of the desired rmt.c to rmt.exe rules on cygwin.  My
approach to patching this was to fix the definition of PU_RMT_PROG as
follows, although you may decide there is a better approach for patching
this in the Makefile.am instead of the .m4 file:

2005-08-13  Eric Blake  <address@hidden>

        * m4/rmt.m4 (PU_RMT): Account for $EXEEXT when building rmt.

diff -ubr tar-1.15.1.orig/m4/rmt.m4 tar-1.15.1/m4/rmt.m4
- --- tar-1.15.1.orig/m4/rmt.m4   2004-09-06 07:49:41.000000000 -0600
+++ tar-1.15.1/m4/rmt.m4        2005-08-13 13:11:38.389000000 -0600
@@ -10,7 +10,7 @@
 #include <sys/socket.h>],
       pu_cv_header_rmt=yes,
       pu_cv_header_rmt=no)])
- -      test $pu_cv_header_rmt = yes && PU_RMT_PROG='rmt'
+      test $pu_cv_header_rmt = yes && PU_RMT_PROG='rmt$(EXEEXT)'
       AC_SUBST(PU_RMT_PROG)
     fi
   }

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC/kuS84KuGfSFAYARAsOrAKCliOrd4M5nR89CMXmLyFeh+dQj6QCgxhPD
ysiMfFkyLzwFcA+4UflQPjU=
=L6k1
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]