[MacPorts] #71938: postgresql12 @12.22_1 does not build on PPC Mac OS X 10.4.11, Tiger, because /usr/bin/gnumake sees Extraneous text after `else' directive

MacPorts noreply at macports.org
Sun Jan 26 08:35:08 UTC 2025


#71938: postgresql12 @12.22_1 does not build on PPC Mac OS X 10.4.11, Tiger,
because /usr/bin/gnumake sees Extraneous text after `else' directive
---------------------------+-----------------------
  Reporter:  ballapete     |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:  tiger ppc
      Port:  postgresql12  |
---------------------------+-----------------------

Comment (by ballapete):

 {{{
 tiger pete 223 /\  gnumake --version
 GNU Make 3.80
 Copyright (C) 2002  Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.
 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE.
 }}}

 {{{
 tiger pete 224 /\  gmake --version
 GNU Make 4.4.1
 Gebaut für powerpc-apple-darwin8.11.0
 Copyright (C) 1988-2023 Free Software Foundation, Inc.
 Lizenz GPLv3+: GNU GPL Version 3 oder später
 <https://gnu.org/licenses/gpl.html>
 Dies ist freie Software: Sie können sie nach Belieben ändern und weiter
 verteilen.
 Soweit es die Gesetze erlauben, gibt es KEINE GARANTIE.
 tiger pete 225 /\  which gmake gnumake
 /opt/local/bin/gmake
 /usr/bin/gnumake
 }}}

 Documented is (for me at least):

 {{{
 5.3.8. Build Phase Keywords
 The list of keywords related to the build phase.

 build.cmd
 Make command to run in ${worksrcdir}. Only use it if you can't use
 build.type.

 Default: make

 Example:

 build.cmd           scons
 build.type
 Defines which build software is required and sets ${build.cmd}
 accordingly. The available options are BSD Make, GNU Make, and Xcode.

 Default: default (the default Make on the current platform)

 Values: default bsd gnu xcode

 Example:

 build.type          bsd
 }}}

 With "`platform darwin 8` block" you mean the following?

 {{{
 platform darwin 8 {
     build.type          gmake
 }
 }}}

 Or better:

 {{{
 platform darwin 8 {
     build.type          gmake
 } else {
     build.type          gnu
 }
 }}}

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


More information about the macports-tickets mailing list