delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/29/22:31:40

X-Recipient: archive-cygwin AT delorie DOT 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 AT users DOT sourceforge DOT net>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Bug in cygport __postinst
References: <49CCFC95 DOT 6060609 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <49CCFC95.6060609@cwilson.fastmail.fm>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019