| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Dean Scarff <dos AT scarff DOT id DOT au> |
| Subject: | Cygport bug: autoconf 2.6x check fails 2.61. |
| Date: | Sat, 08 Dec 2007 02:09:04 +0900 |
| Lines: | 39 |
| Message-ID: | <m2ir3ah1ov.fsf_-_@scarff.id.au> |
| References: | <announce DOT E2260BB9-DDD1-42BD-9916-9A23DEDF97F9 AT scarff DOT id DOT au> <82wsrubplj DOT fsf AT vzell-de DOT de DOT oracle DOT com> <m21w9yilga DOT fsf AT scarff DOT id DOT au> |
| Mime-Version: | 1.0 |
| 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: | <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 |
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/
--=-=-=--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |