From owner-freebsd-ports@FreeBSD.ORG Fri Mar 23 13:03:11 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 616CB16A400 for ; Fri, 23 Mar 2007 13:03:11 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from relay-er5.mbrd.ru (relay-er5.mbrd.ru [195.128.66.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0CC8313C4B8 for ; Fri, 23 Mar 2007 13:03:10 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from msd.mbrd.ru ([172.16.33.193]) by relay-er5.mbrd.ru with esmtpa (Exim 4.x) id 1HUjQC-000IjD-7G; Fri, 23 Mar 2007 16:03:08 +0300 Message-ID: <4603D00B.3080406@FreeBSD.org> Date: Fri, 23 Mar 2007 16:03:07 +0300 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Danny Pansters References: <1174330341.26866.32.camel@shumai.marcuscom.com> <46001864.8050005@FreeBSD.org> <200703222325.43113.danny@ricin.com> In-Reply-To: <200703222325.43113.danny@ricin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Problems running pkgdb -fF 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: Fri, 23 Mar 2007 13:03:11 -0000 Danny Pansters wrote: > There should be single (or escaped double) quotes inside the "" for the sed > argument. Seems to be caused by the combination of [ ] with \t. Observe: > > desktop# cat /COPYRIGHT | sed s/[ \t]// > sed: 1: "s/[": unbalanced brackets ([]) > > But cat /COPYRIGHT | sed 's/[ \t]//' is OK. > So "s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|" should be replaced > by "'s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|'" > > Not tested as I'm not in sync with latest portstree and I don't know Ruby. No. Renew the ports tree and update portupgrade. I've removed a patch caused the problem. -- Dixi. Sem.