[MacPorts] #55337: mbuffer @20171011 new Portfile contribution

MacPorts noreply at macports.org
Thu Nov 16 22:05:59 UTC 2017


#55337: mbuffer @20171011 new Portfile contribution
-------------------------+-----------------
  Reporter:  hcardwell   |      Owner:
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  mbuffer     |
-------------------------+-----------------

Comment (by kencu):

 I tried a quick build on 10.6.8, and it errored out due to:
 {{{
 | #ifdef __cplusplus
 | extern "C"
 | #endif
 | char clock_gettime ();
 | int
 | main ()
 | {
 | return clock_gettime ();
 |   ;
 |   return 0;
 | }
 configure:4949: /opt/local/bin/clang-mp-3.9 -o conftest -pipe -Os -arch
 x86_64 -Wno-unused-result -I/opt/local/include -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch x86_64 conftest.c -lrt  -lpthread
 >&5
 ld: library not found for -lrt
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

 I _think_ clock_gettime() showed up in MacOS 10.12.


 It appears that for some software, at least, it's possible to use an
 alternative approach to clock_gettime(), if anyone is interested in
 exploring that idea.
 <https://gist.github.com/jbenet/1087739>

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


More information about the macports-tickets mailing list