[MacPorts] #38880: zmq: Use macports libtool to support compilation against libc++
MacPorts
noreply at macports.org
Sun Apr 21 21:30:24 PDT 2013
#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
More information about the macports-tickets
mailing list