From owner-freebsd-mono@FreeBSD.ORG Wed Jun 24 04:25:07 2009 Return-Path: Delivered-To: mono@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1200106564A for ; Wed, 24 Jun 2009 04:25:07 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id A42148FC1B for ; Wed, 24 Jun 2009 04:25:07 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id n5O4NI29060800; Tue, 23 Jun 2009 22:23:18 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.3/8.14.3) with ESMTP id n5O4NEXf016842; Tue, 23 Jun 2009 22:23:14 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.3/8.14.3/Submit) id n5O4NEYD016835; Tue, 23 Jun 2009 22:23:14 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <19009.43569.954062.929830@gromit.timing.com> Date: Tue, 23 Jun 2009 22:23:13 -0600 From: John Hein To: Romain =?iso-8859-1?Q?Tarti=E8re?= In-Reply-To: <20090623193330.GA56306@blogreen.org> References: <19009.7171.561005.156768@gromit.timing.com> <20090623193330.GA56306@blogreen.org> X-Mailer: VM 7.19 under Emacs 22.3.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: mono@freebsd.org Subject: Re: [patch] fix lang/mono-basic to obey PREFIX X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 04:25:08 -0000 Romain Tarti=E8re wrote at 21:33 +0200 on Jun 23, 2009: > I can't tell why I changed GNU_CONFIGURE to HAS_CONFIGURE at r233, and= I > think it's a typo. I reverted HAS_CONFIGURE to GNU_CONFIGURE in the > BSD# repository. > = > Is this Ok for you? Well, the configure script for mono-basic is not really a "gnu" configure script. bsd.port.mk tries to add certain args if GNU_CONFIGURE=3Dyes. It tries to use configure --help to see what args it should add. The configure script that is part of the mono-basic distribution doesn't support --help and will whin like so: Unknown argument --help =2E.. and then actually continue on with the configure script. You don't see this output since bsd.port.mk does 'configure --help 2>&1 | grep ...' bsd.port.mk will try that a few times. What you do see is this if you try to build mono-basic with GNU_CONFIGURE=3Dyes: Unknown argument --build=3Di386-portbld-freebsd7.2 So using GNU_CONFIGURE won't break anything and will work get the port to obey PREFIX, but it doesn't seem quite right. I think HAS_CONFIGURE=3Dyes & CONFIGURE_ARGS+=3D--prefix=3D${PREFIX} seems better.