[111029] trunk/dports/lang
larryv at macports.org
larryv at macports.org
Fri Sep 13 14:22:03 PDT 2013
Revision: 111029
https://trac.macports.org/changeset/111029
Author: larryv at macports.org
Date: 2013-09-13 14:22:03 -0700 (Fri, 13 Sep 2013)
Log Message:
-----------
dragonegg-3.{3,4}*: Pass -stdlib to build, if necessary (timeout, #40394).
Modified Paths:
--------------
trunk/dports/lang/dragonegg-3.3/Portfile
trunk/dports/lang/dragonegg-3.4/Portfile
Modified: trunk/dports/lang/dragonegg-3.3/Portfile
===================================================================
--- trunk/dports/lang/dragonegg-3.3/Portfile 2013-09-13 21:06:14 UTC (rev 111028)
+++ trunk/dports/lang/dragonegg-3.3/Portfile 2013-09-13 21:22:03 UTC (rev 111029)
@@ -117,11 +117,15 @@
}
}
+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.env-append \
LLVM_CONFIG=${prefix}/bin/llvm-config-mp-${llvm_version} \
GCC=${prefix}/bin/gcc-mp-${gcc_version} \
CC="${configure.cc} ${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \
- CXX="${configure.cxx} ${configure.cppflags} ${configure.cxxflags} [get_canonical_archflags cxx]"
+ CXX="${configure.cxx} ${configure.cppflags} ${configure.cxxflags} ${cxx_stdlibflags} [get_canonical_archflags cxx]"
destroot {
xinstall -m 755 -d ${destroot}${prefix}/libexec/dragonegg
Modified: trunk/dports/lang/dragonegg-3.4/Portfile
===================================================================
--- trunk/dports/lang/dragonegg-3.4/Portfile 2013-09-13 21:06:14 UTC (rev 111028)
+++ trunk/dports/lang/dragonegg-3.4/Portfile 2013-09-13 21:22:03 UTC (rev 111029)
@@ -122,11 +122,15 @@
}
}
+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.env-append \
LLVM_CONFIG=${prefix}/bin/llvm-config-mp-${llvm_version} \
GCC=${prefix}/bin/gcc-mp-${gcc_version} \
CC="${configure.cc} ${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \
- CXX="${configure.cxx} ${configure.cppflags} ${configure.cxxflags} [get_canonical_archflags cxx]"
+ CXX="${configure.cxx} ${configure.cppflags} ${configure.cxxflags} ${cxx_stdlibflags} [get_canonical_archflags cxx]"
destroot {
xinstall -m 755 -d ${destroot}${prefix}/libexec/dragonegg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130913/f5eca184/attachment.html>
More information about the macports-changes
mailing list