[MacPorts] #55415: cmake @3.10.0 does not build on PPC Tiger, Mac OS X 10.4.11, because error: void value not ignored as it ought to be

MacPorts noreply at macports.org
Sun Nov 26 21:43:43 UTC 2017


#55415: cmake @3.10.0 does not build on PPC Tiger, Mac OS X 10.4.11, because error:
void value not ignored as it ought to be
------------------------+-----------------------
  Reporter:  ballapete  |      Owner:  michaelld
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:  tiger
      Port:  cmake      |
------------------------+-----------------------

Comment (by ballapete):

 My `Postfile` has two interesting ranges:

 {{{
     147 # Tiger has issues with system libraries;
     148 # just use the ones internal to cmake instead.
     149 platform darwin 8 {
     150     configure.args-delete --system-libs
     151     configure.args-append --no-system-libs
     152     depends_lib-delete \
     153         path:lib/pkgconfig/libuv.pc:libuv \
     154         port:curl \
     155         port:expat \
     156         port:zlib \
     157         port:bzip2 \
     158         port:libarchive \
     159         port:ncurses
     160 }
 }}}

 and

 {{{
     173 platform darwin {
     174     # TODO: Figure out why using libc++ fails on Lion and fix the
 bootstrap
     175     #       script to honor CMAKE_OSX_SYSROOT and
 CMAKE_OSX_DEPLOYMENT_TARGET.
     176     #       Since nothing links against cmake and cmake is just
 using the STL,
     177     #       we're safe to force libstdc++
     178     #
     179     #       https://cmake.org/Bug/view.php?id=15039&nbn=16
     180     if {${os.major} < 12} {
     181         configure.cxx_stdlib libstdc++
     182     }
     183 }
 }}}

 I'll add the statement below line #151. Right now another update is going
 on…

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


More information about the macports-tickets mailing list