[112433] trunk/dports/textproc/libebml/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Tue Oct 22 18:26:22 PDT 2013
Revision: 112433
https://trac.macports.org/changeset/112433
Author: jeremyhu at macports.org
Date: 2013-10-22 18:26:22 -0700 (Tue, 22 Oct 2013)
Log Message:
-----------
libebml: Use correct C++ runtime
Modified Paths:
--------------
trunk/dports/textproc/libebml/Portfile
Modified: trunk/dports/textproc/libebml/Portfile
===================================================================
--- trunk/dports/textproc/libebml/Portfile 2013-10-22 23:11:06 UTC (rev 112432)
+++ trunk/dports/textproc/libebml/Portfile 2013-10-23 01:26:22 UTC (rev 112433)
@@ -5,6 +5,7 @@
name libebml
version 1.3.0
+revision 1
categories textproc
license LGPL-2.1+
maintainers nomaintainer
@@ -35,10 +36,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}"
# We need -p for install because ld will ask for ranlib if the modification date changes.
destroot.args INSTALL_OPTS_LIB='-m 644 -p'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131022/e6288840/attachment.html>
More information about the macports-changes
mailing list