[MacPorts] #54124: guile @2.2.2 won't build on PPC Leopard, Mac OS X 10.5.8, because is uses non-existing /lib/cpp as C preprocessor

MacPorts noreply at macports.org
Sat Sep 5 22:58:11 UTC 2020


#54124: guile @2.2.2 won't build on PPC Leopard, Mac OS X 10.5.8, because is uses
non-existing /lib/cpp as C preprocessor
------------------------+---------------------------------------
  Reporter:  ballapete  |      Owner:  kencu
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:             |   Keywords:  tiger leopard snowleopard
      Port:  guile      |
------------------------+---------------------------------------

Comment (by ballapete):

 I have this in my version `Guile`'s `Portfile`:

 {{{
  26 platform darwin powerpc {
  27     version             2.2.7
  28     revision            0
  29     checksums           rmd160
 309ee96ba266668fa90aa05beb34470fa4fa7296 \
  30                         sha256
 dd4837f8c2465a98e8d12cf25f88cb6330195670516cd60baf06c6b5142a5c1c \
  31                         size    22108594
  32     compiler.c_standard 1989
  33
  34     post-patch {
  35         move ${worksrcpath}/prebuilt/32-bit-big-endian
 ${worksrcpath}/prebuilt/32-bit-big-endian-broken
  36     }
  37 }
  }}}

 I think the `compiler.c_standard 1989` statement should be removed in
 order to allow `configure` to determine the `C pre-processor`, which does
 not seem to work with standard `GCC 4.2`. The recent versions of `GCC 6`
 or `GCC 7` are certainly `compiler.c_standard 2011`.

-- 
Ticket URL: <https://trac.macports.org/ticket/54124#comment:50>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list