diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2015-09-01 15:40:32 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2015-09-01 15:40:32 +0000 |
commit | 9ef8e3b8c3a70afa8aa3eb1a98cf710486187735 (patch) | |
tree | c3e28db67ff7bea6ae1c2404282225ac7c1ece59 /math | |
parent | 7b2281ada731acbbe18663e9b982fa7395288774 (diff) | |
download | ports-9ef8e3b8c3a70afa8aa3eb1a98cf710486187735.tar.gz ports-9ef8e3b8c3a70afa8aa3eb1a98cf710486187735.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/gringo/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/math/gringo/Makefile b/math/gringo/Makefile index f6d8fa3d1ae6..576e13c9103d 100644 --- a/math/gringo/Makefile +++ b/math/gringo/Makefile @@ -14,22 +14,19 @@ LICENSE= GPLv3 BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c -USES= scons bison compiler:c++11-lang +USES= bison compiler:c++11-lib scons MAKE_ARGS+= ${MAKE_ENV} CXXFLAGS+= -std=c++11 MAKE_ENV+= WITH_LUA=no -PLIST_FILES= bin/${PORTNAME} bin/clingo - -.include <bsd.port.pre.mk> +# Unhide std::to_string() with GCC < 4.9 (ports/193528) +CXXFLAGS+= -D_GLIBCXX_USE_C99 -.if ${OSVERSION} < 1000000 -USE_GCC= yes -.endif +PLIST_FILES= bin/${PORTNAME} bin/clingo do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/build/debug/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/build/debug/clingo ${STAGEDIR}${PREFIX}/bin/clingo -.include <bsd.port.post.mk> +.include <bsd.port.mk> |