Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 22:23:13 -0600
From:      John Hein <jhein@timing.com>
To:        Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
Cc:        mono@freebsd.org
Subject:   Re: [patch] fix lang/mono-basic to obey PREFIX
Message-ID:  <19009.43569.954062.929830@gromit.timing.com>
In-Reply-To: <20090623193330.GA56306@blogreen.org>
References:  <19009.7171.561005.156768@gromit.timing.com> <20090623193330.GA56306@blogreen.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19009.43569.954062.929830>