[MacPorts] #38880: zmq: Use macports libtool to support compilation against libc++
#38880: zmq: Use macports libtool to support compilation against libc++ --------------------+---------------------- Reporter: dh@… | Owner: merijn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: zmq --------------------+---------------------- I am currently attempting to build various ports (in a separate tree) against `libc++` rather than the default `libstdc++`. Currently `zmq` builds using its own `libtool` which does not support linking against `libc++` (as it discards any `-stdlib` option passed). The following patch makes `zmq` use the macports provided `libtool` which correctly handles the `-stdlib` option. {{{ Index: Portfile =================================================================== --- Portfile (revision 105277) +++ Portfile (working copy) @@ -40,3 +40,7 @@ livecheck.type regex livecheck.url ${homepage}area:download livecheck.regex zeromq-(\[0-9.\]+)${extract.suffix} + +# macports libtool allows linking against libc++, the libtool in the distribution does not +depends_build port:libtool +build.args LIBTOOL=${prefix}/bin/glibtool }}} -- Ticket URL: <https://trac.macports.org/ticket/38880> MacPorts <http://www.macports.org/> Ports system for OS X
#38880: zmq: Use macports libtool to support compilation against libc++ ---------------------+---------------------- Reporter: dh@… | Owner: merijn@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: zmq | ---------------------+---------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: In r106140 by stromnov@. -- Ticket URL: <https://trac.macports.org/ticket/38880#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts