X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49D03D0E.7000106@users.sourceforge.net>
Date: Sun, 29 Mar 2009 22:31:26 -0500
From: "Yaakov (Cygwin/X)" <yselkowitz@users.sourceforge.net>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Bug in cygport __postinst
References: <49CCFC95.6060609@cwilson.fastmail.fm>
In-Reply-To: <49CCFC95.6060609@cwilson.fastmail.fm>
Content-Type: multipart/mixed;  boundary="------------090405070607040006060904"
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

--------------090405070607040006060904
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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

--------------090405070607040006060904
Content-Type: text/x-patch;
 name="0.9.6-ncurses-manpages.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="0.9.6-ncurses-manpages.patch"

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')


--------------090405070607040006060904
Content-Type: text/plain; charset=us-ascii

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