mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Native pg_conf failing on FreeBSD


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Native pg_conf failing on FreeBSD
Date: Mon, 15 Feb 2010 20:39:20 +1100

On 15 February 2010 12:46, Volker Grabsch <address@hidden> wrote:
> Tony Theodore <address@hidden> schrieb:
>> FreeBSD was failing at the native pg_conf build step with errors along
>> the lines of:
> [...]
>>      # Build a native pg_config.
>> -    echo '/* empty */' >'$(1)'/src/include/pg_config_os.h
>> +    cd '$(1)' && ./configure
>
> That wouldn't work, because ./configure does "too much". The generated
> pg_config would return information about the native build instead of
> the cross build.
>
> However, I think I found a solution that works.
>
>    http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/2900ac4f38c0
>
> Please check whether that solves the issue.

Yes, it does - thanks.

The attached patch puts the common options into a
$(PKG)_CONFIGURE_OPTIONS variable (much the same as gcc.mk), so
keeping the two aligned will be simpler.

Tony

Attachment: postgresql-conf-opts.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]