This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bug in cygport __postinst
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 29 Mar 2009 22:31:26 -0500
- Subject: Re: Bug in cygport __postinst
- References: <49CCFC95.6060609@cwilson.fastmail.fm>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Charles Wilson wrote:
> It looks like the fact that ncurses' install procedure already gzipped
> the "real" manpages, and named the symlinks with a trailing .gz,
> confuses cygport's __postinst procedure a bit. I've worked around it in
> the latest ncurses release(s), but just wanted to re-report the issue.
Does the attached patch for 0.9.5 work for you?
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAknQPQ4ACgkQpiWmPGlmQSOJkQCgkrobUYGcJg1qTFb1siQKONAD
rfgAn1oXIIzPtAf9UJcn/cthzKtF9RYZ
=lDaS
-----END PGP SIGNATURE-----
Index: bin/cygport.in
===================================================================
--- bin/cygport.in (revision 6005)
+++ bin/cygport.in (working copy)
@@ -1293,8 +1293,9 @@
for manlink in $(find ${D}/usr/share/man -type l)
do
manref=$(readlink ${manlink})
+ manref=${manref##*/};
rm -f ${manlink};
- echo ".so ${manref##*/}" > ${manlink};
+ echo ".so ${manref%.gz}" > ${manlink%.gz};
done
for manpage in $(find ${D}/usr/share/man -type f ! -name '*.gz' ! -name '*.bz2' ! -name '*.lzma')
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/