X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Dean Scarff Subject: Cygport bug: autoconf 2.6x check fails 2.61. Date: Sat, 08 Dec 2007 02:09:04 +0900 Lines: 39 Message-ID: References: <82wsrubplj DOT fsf AT vzell-de DOT de DOT oracle DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Volker wrote: > There is a /usr/share/doc/html directory which should be under > /usr/share/doc/nasm-2.00 This appears to be a cygport bug (although I should have seen it before uploading the package). Cygport claims in the README that cygconf should call configure with --docdir=/usr/share/doc/${P} for autoconf 2.60 configure scripts. I assume the intention is there to support 2.6x too; but it doesn't work. I've attached a patch that fixes it with the magic of wildcards; although relying on side-effect undocumented insertions into configure scripts isn't robust at all IMO. -- Dean --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=cygport-patch --- cygport-0.2.10 2007-12-08 01:05:11.892666000 +0900 +++ cygport 2007-12-08 01:05:53.720791000 +0900 @@ -802,7 +802,7 @@ fi case "x$(grep -m 1 'GNU Autoconf' ${confdir}/configure | cut -d ' ' -f 6)" in - x2.6[0-9]) + x2.6[0-9]*) confargs+=" --datarootdir=/usr/share --docdir=/usr/share/doc/${P}" ;; *) --=-=-= 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/ --=-=-=--