[140439] trunk/dports/math/gringo/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Sep 19 09:48:53 PDT 2015
Revision: 140439
https://trac.macports.org/changeset/140439
Author: ryandesign at macports.org
Date: 2015-09-19 09:48:53 -0700 (Sat, 19 Sep 2015)
Log Message:
-----------
gringo: ensure we're UsingTheRightCompiler and -arch flags, add universal variant, enforce C++11 compiler (#47949)
Modified Paths:
--------------
trunk/dports/math/gringo/Portfile
Modified: trunk/dports/math/gringo/Portfile
===================================================================
--- trunk/dports/math/gringo/Portfile 2015-09-19 16:46:26 UTC (rev 140438)
+++ trunk/dports/math/gringo/Portfile 2015-09-19 16:48:53 UTC (rev 140439)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+PortGroup cxx 1.0
name gringo
version 4.4.0
@@ -30,10 +31,12 @@
use_configure no
use_parallel_build no
-# needs compiler with C++11 support -- currently does not build on OS X < 10.9
+variant universal {}
+
build.cmd ${prefix}/bin/scons
-build.args --build-dir=release
build.target gringo clingo
+build.args --build-dir=release \
+ CXX="${configure.cxx} [get_canonical_archflags cxx]"
destroot {
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150919/c934438a/attachment.html>
More information about the macports-changes
mailing list