[112434] trunk/dports/multimedia/libmatroska/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Oct 22 18:29:43 PDT 2013
Revision: 112434
https://trac.macports.org/changeset/112434
Author: jeremyhu at macports.org
Date: 2013-10-22 18:29:43 -0700 (Tue, 22 Oct 2013)
Log Message:
-----------
libmatroska: Build for the correct C++ runtime
Modified Paths:
--------------
trunk/dports/multimedia/libmatroska/Portfile
Modified: trunk/dports/multimedia/libmatroska/Portfile
===================================================================
--- trunk/dports/multimedia/libmatroska/Portfile 2013-10-23 01:26:22 UTC (rev 112433)
+++ trunk/dports/multimedia/libmatroska/Portfile 2013-10-23 01:29:43 UTC (rev 112434)
@@ -4,6 +4,7 @@
name libmatroska
version 1.4.0
+revision 1
categories multimedia
license LGPL-2+
maintainers nomaintainer
@@ -37,10 +38,17 @@
set archflags ${configure.cxx_archflags}
}
+set cxx_stdlibflags {}
+if {[info exists configure.cxx_stdlib] &&
+ ${configure.cxx_stdlib} ne {} &&
+ [string match *clang* ${configure.cxx}]} {
+ set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
+}
+
build.dir ${worksrcpath}/make/darwin
build.args prefix=${prefix} \
CXX=${configure.cxx} \
- CXXFLAGS="${archflags}" \
+ CXXFLAGS="${archflags} ${cxx_stdlibflags}" \
LIBEBML_INCLUDE_DIR=${prefix}/include \
LIBEBML_LIB_DIR=${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131022/6ea1dd08/attachment.html>
More information about the macports-changes
mailing list