From owner-freebsd-ports@FreeBSD.ORG Sat Feb 14 18:55:21 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 749BF1065679 for ; Sat, 14 Feb 2009 18:55:21 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44]) by mx1.freebsd.org (Postfix) with ESMTP id EFFDA8FC2C for ; Sat, 14 Feb 2009 18:55:20 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail-in-20-z2.arcor-online.net (mail-in-20-z2.arcor-online.net [151.189.8.85]) by mx.arcor.de (Postfix) with ESMTP id 96F9A33AAC6; Sat, 14 Feb 2009 19:24:15 +0100 (CET) Received: from mail-in-16.arcor-online.net (mail-in-16.arcor-online.net [151.189.21.56]) by mail-in-20-z2.arcor-online.net (Postfix) with ESMTP id 86DE9107809; Sat, 14 Feb 2009 19:24:15 +0100 (CET) Received: from lorvorc.mips.inka.de (dslb-092-075-194-175.pools.arcor-ip.net [92.75.194.175]) by mail-in-16.arcor-online.net (Postfix) with ESMTPS id 0EBB92573FF; Sat, 14 Feb 2009 19:24:14 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.6.0 mail-in-16.arcor-online.net 0EBB92573FF Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.3/8.14.3) with ESMTP id n1EIOEwE036263; Sat, 14 Feb 2009 19:24:14 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.14.3/8.14.3/Submit) id n1EIOEcT036262; Sat, 14 Feb 2009 19:24:14 +0100 (CET) (envelope-from naddy) Date: Sat, 14 Feb 2009 19:24:14 +0100 From: Christian Weisgerber To: Lars Eighner Message-ID: <20090214182414.GA35805@lorvorc.mips.inka.de> References: <20090213172925.R97999@qroenaqrq.6qbyyneqvnyhc.pbz> <20090214112354.S87224@qroenaqrq.6qbyyneqvnyhc.pbz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20090214112354.S87224@qroenaqrq.6qbyyneqvnyhc.pbz> User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV 0.94.2/8992/Sat Feb 14 16:43:07 2009 on mail-in-16.arcor-online.net X-Virus-Status: Clean Cc: dnelson@allantgroup.com, freebsd-ports@freebsd.org Subject: Re: Sox in 7.1 broken or corrupt? 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: Sat, 14 Feb 2009 18:55:21 -0000 Lars Eighner: > >> It appears to me the audio/sox port is broken. During configure the > >> screen breaks up with a bunch of ANSI garbage. >=20 > Oh, I see. The config script looks for something it calls "distro name" = in > /etc/issue . I don't think this is the right way to get this information; Oh my. This appears to be a desperate attempt to figure out on which flavor of Linux sox is being built, since Linux distributions are all different but you can't distinguish them by uname. We should just disable the whole test. I'll commit this patch if the maintainer approves. Index: files/patch-configure =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: files/patch-configure diff -N files/patch-configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure 14 Feb 2009 18:17:51 -0000 @@ -0,0 +1,11 @@ +--- configure.orig 2009-02-14 19:08:53.000000000 +0100 ++++ configure 2009-02-14 19:09:06.000000000 +0100 +@@ -20805,7 +20805,7 @@ +=20 +=20 +=20 +-if test -r /etc/issue; then ++if false && test -r /etc/issue; then + { $as_echo "$as_me:$LINENO: checking distro name" >&5 + $as_echo_n "checking distro name... " >&6; } + DISTRO=3D`sed -e "s/=1B.0-90-9;*mJH//g" < /etc/issue|tr "\n" " " | sed = -e "s/(\\\\?\\\\\\\\.*//" -e "s/ */ /g" -e "s/^ //" -e "s/ $//"` --=20 Christian "naddy" Weisgerber naddy@mips.inka.de