Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17684 closed defect (fixed)

Postgis does not build universal binaries

Reported by: Veence (Vincent) Owned by: frank-lists@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: universal Cc: jmroot (Joshua Root)
Port: postgis

Description

Postgis does not build universal binaries because the configure/build system is buggy and does not take into account CFLAGS or CXXFLAGS. The workaround is to append directly these flags to CC and CXX definition.

Please find an appended patch

Attachments (1)

patch_postgis_universal (740 bytes) - added by Veence (Vincent) 16 years ago.

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by Veence (Vincent)

Attachment: patch_postgis_universal added

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Keywords: postgis removed
Owner: changed from macports-tickets@… to frank-lists@…

Assigning to maintainer.

comment:2 Changed 16 years ago by Veence (Vincent)

There is a bug in the patch file. The CXXFLAGS should read CXX, but it is irrelavant anyway, since postgis does not use g++.

comment:3 Changed 16 years ago by jmroot (Joshua Root)

This should actually just require patching Makefile.config.in to add CFLAGS=@CFLAGS@.

comment:4 Changed 16 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Resolution: fixed
Status: newclosed

Fixed in r47760.

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.