This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Bug in cygport __postinst


-----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/

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