From owner-freebsd-ports@FreeBSD.ORG Thu Sep 29 10:33:09 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85E75106566C for ; Thu, 29 Sep 2011 10:33:09 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4BBE68FC12 for ; Thu, 29 Sep 2011 10:33:08 +0000 (UTC) Received: by gyf2 with SMTP id 2so497344gyf.13 for ; Thu, 29 Sep 2011 03:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=/KwAAbuS9faobSbJU+UmDQnuXWP7zwsIoPluK3gq5aQ=; b=x5uhcGZHYMv2QDvR6ysNIYULrtydpIGmK02OC4DQI1M3pdipkpUEElvP0AhHwCl/O4 LEUsJIxpnSzLQ4dsV0HZRQ4CUpTthUIAytK53wK4gRvqIdY6y7PN1Iqb519KYeibvDC0 ytBim8QoADp/a9rIzERI2dSmOGYvyTLCpqSwU= MIME-Version: 1.0 Received: by 10.150.194.11 with SMTP id r11mr5471307ybf.392.1317290904925; Thu, 29 Sep 2011 03:08:24 -0700 (PDT) Received: by 10.151.145.18 with HTTP; Thu, 29 Sep 2011 03:08:24 -0700 (PDT) In-Reply-To: <20110929084725.GN91943@hoeg.nl> References: <20110929084725.GN91943@hoeg.nl> Date: Thu, 29 Sep 2011 03:08:24 -0700 Message-ID: From: Xin LI To: Ed Schouten Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org Subject: Re: Instafix for FreeBSD ports brokenness on 10.0? 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: Thu, 29 Sep 2011 10:33:09 -0000 On Thu, Sep 29, 2011 at 1:47 AM, Ed Schouten wrote: > Hi folks, > > Why can't we simply fix the entire ports tree at once by doing something > like this? > > find ${WRKSRC} -type f \( -name config.libpath -o \ > =C2=A0 =C2=A0 =C2=A0 =C2=A0-name config.rpath -o -name configure -o -name= libtool.m4 \) \ > =C2=A0 =C2=A0 =C2=A0 =C2=A0-exec sed -i 's/freebsd1\*)/SHOULDNOTMATCHANYT= HING)/' {} + > > Just to be safe, we can only execute this when OSVERSION is 10.0. This is not sufficient since some places it's freebsd[123], freebsd[[123]], etc... Cheers, --=20 Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die