From owner-freebsd-ports@FreeBSD.ORG Mon Mar 5 17:31:09 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F8CA106566B for ; Mon, 5 Mar 2012 17:31:09 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by mx1.freebsd.org (Postfix) with ESMTP id AA1378FC1E for ; Mon, 5 Mar 2012 17:31:08 +0000 (UTC) Received: from eastrmimpo209.cox.net ([68.230.241.224]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120305173102.ZFCE26743.eastrmfepo102.cox.net@eastrmimpo209.cox.net> for ; Mon, 5 Mar 2012 12:31:02 -0500 Received: from serene.no-ip.org ([98.164.84.176]) by eastrmimpo209.cox.net with bizsmtp id htX21i0083oG0Ji02tX23N; Mon, 05 Mar 2012 12:31:02 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020207.4F54F856.013F,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=bROEq2r9+Eyg9X7I3fQYdQhRp8F2m1l/XupKbT1znJs= c=1 sm=1 a=W28qOAfSpUQA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=qwmwShWo9LG1Fa0ONy89vg==:17 a=kviXuzpPAAAA:8 a=FP58Ms26AAAA:8 a=dsxnsd64bBK1RC3tW6gA:9 a=CjuIK1q_8ugA:10 a=4vB-4DCPJfMA:10 a=qwmwShWo9LG1Fa0ONy89vg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q25HV2hD012697 for ; Mon, 5 Mar 2012 11:31:02 -0600 (CST) (envelope-from conrads@cox.net) Date: Mon, 5 Mar 2012 11:30:57 -0600 From: "Conrad J. Sabatier" To: freebsd-ports@freebsd.org Message-ID: <20120305113057.0f972d3f@cox.net> In-Reply-To: <20120305071600.21ee18ac@cox.net> References: <20120304172036.3963aafc@cox.net> <20120304172825.18de3735@cox.net> <4F5488F7.7080003@infracaninophile.co.uk> <20120305071600.21ee18ac@cox.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Unexpected results from "make index" on a ports tree in a non-standard location, X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 17:31:09 -0000 On Mon, 5 Mar 2012 07:16:00 -0600 "Conrad J. Sabatier" wrote: > I've worked it out now. The only place the canonical path is needed > is when searching the index. Anywhere else, the real path is fine to > use. > > Turned out to be a very simple fix. > > I uploaded mkreadmes-1.1.tar.bz2 to Sourceforge yesterday. Still > awaiting the port update's commit. Anyone using this thing really > should get the latest version, even if your ports tree is not in a > non-standard location, as I also added some checking of the index file > to catch any errors in the format of the lines. Two rather important > fixes. > > http://sourceforge.net/projects/mkreadmes/files/mkreadmes-1.1.tar.bz2/download Missed a bug that crept into the above version, a missing "/" in category pathnames. Darn it, wouldn't you know? This is what I get for submitting a patch after working all day on a port. :-) Final version, just uploaded to Sourceforge is now version 1.1.1: http://sourceforge.net/projects/mkreadmes/files/mkreadmes-1.1.1.tar.bz2/download Lesson learned. I *will* be more thorough in my testing from now on. :-) Sorry for the inconvenience, folks. Conrad -- Conrad J. Sabatier conrads@cox.net