New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17684 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Postgis does not build universal binaries

Reported by: 10.50@… Owned by: frank-lists@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: universal Cc: jmr@…
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

patch_postgis_universal (740 bytes) - added by 10.50@… 4 years ago.

Change History

Changed 4 years ago by 10.50@…

comment:1 Changed 4 years ago by macsforever2000@…

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

Assigning to maintainer.

comment:2 Changed 4 years ago by 10.50@…

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 4 years ago by jmr@…

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

comment:4 Changed 4 years ago by jmr@…

  • Cc jmr@… added
  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r47760.

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.