From owner-freebsd-current@FreeBSD.ORG Fri Oct 7 23:45:04 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0C40106566B; Fri, 7 Oct 2011 23:45:04 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 81CAB8FC15; Fri, 7 Oct 2011 23:45:04 +0000 (UTC) Received: from orion.SpringDaemons.com (207.47.0.2.static.nextweb.net [207.47.0.2]) by mx0.deglitch.com (Postfix) with ESMTPA id CC0358FC2D; Sat, 8 Oct 2011 03:45:02 +0400 (MSD) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 0BA685C36; Fri, 7 Oct 2011 16:44:12 -0700 (PDT) Date: Fri, 7 Oct 2011 16:44:11 -0700 From: Stanislav Sedov To: Mykola Dzham Message-Id: <20111007164411.554ac9c0.stas@FreeBSD.org> In-Reply-To: <20111007230336.GB3051@laptop.levsha.me> References: <20111007230336.GB3051@laptop.levsha.me> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: jilles@freebsd.org, current@freebsd.org Subject: Re: ports on 10.0-CURRENT: r226027 is incorrect fix X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2011 23:45:04 -0000 On Sat, 8 Oct 2011 02:03:37 +0300 Mykola Dzham mentioned: > Hi! > r226027 fix ( ... s/freebsd1\*)/SHOULDNOTMATCHANYTHING1)/ ...) is > incorrect: this commit breaks metaports building: > > # cd /usr/ports/print/teTeX && sudo make clean all > ===> Cleaning for teTeX-3.0_5 > ===> License check disabled, port has not defined LICENSE > ===> Found saved configuration for teTeX-3.0_2 > ===> Extracting for teTeX-3.0_5 > ===> Patching for teTeX-3.0_5 > ===> Configuring for teTeX-3.0_5 > find /tmp/ports/usr/ports/print/teTeX/work/teTeX-3.0 -type f \( -name config.libpath -o -name config.rpath -o -name configure -o -name libtool.m4 \) -exec sed -i '' -e 's/freebsd1\*)/SHOULDNOTMATCHANYTHING1)/' -e 's/freebsd\[123\]\*)/SHOULDNOTMATCHANYTHING2)/' {} + > find: /tmp/ports/usr/ports/print/teTeX/work/teTeX-3.0: No such file or directory > *** Error code 1 > > Stop in /usr/ports/print/teTeX. > *** Error code 1 > > Stop in /usr/ports/print/teTeX. > > I think this commit should be reverted. Using UNAME_r is less destructive work around > Hi! I just committed the fix that checks if the ${WRKSRC} directory exists firts. Thanks! -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments