Re: macports and brew postgresql --universal builds

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Doug Coleman <doug(dot)coleman(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: macports and brew postgresql --universal builds
Date: 2012-08-11 02:04:26
Message-ID: 5025BDAA.7020004@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 08/10/2012 06:44 PM, Tom Lane wrote:
> Doug Coleman <doug(dot)coleman(at)gmail(dot)com> writes:
>> The MacPorts Project (http://www.macports.org/) supports building
>> universal binaries (32/64bit binaries in one file) for most projects.
>> For PostgreSQL, they apply two patches after the configure script to
>> correct some of the typedefs. Otherwise, the build fails in compiling
>> a switch statement with duplicate cases.
>> The HomeBrew Project (http://mxcl.github.com/homebrew/) is a worthy
>> successor to MacPorts, but they don't yet support a --universal
>> argument for building PostgreSQL. There is currently a pull request on
>> github to add universal support, but it's based on the patches from
>> the MacPorts project.
> The files you link to don't make much sense to me (they do not look
> like patch diffs)

OMG, I think they are ed scripts, possibly produced using "diff -e". I'm
having flashbacks to when I used such stuff twenty or so years ago.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-08-11 07:33:17 Re: Prevent restored WAL files from being archived again Re: Unnecessary WAL archiving after failover
Previous Message Bruce Momjian 2012-08-11 01:25:23 Re: -Wformat-zero-length