diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2016-05-07 17:39:02 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2016-05-07 17:39:02 +0000 |
commit | 2dbdb9902196539c2f9a804b09e9c6f6b9672008 (patch) | |
tree | 2ea1803626db68c52549a0f687c0429a6df8ced7 /math | |
parent | f82ec91ba68026d0734353baf91e264e6c34de23 (diff) | |
download | ports-2dbdb9902196539c2f9a804b09e9c6f6b9672008.tar.gz ports-2dbdb9902196539c2f9a804b09e9c6f6b9672008.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/GiNaC/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/math/GiNaC/Makefile b/math/GiNaC/Makefile index 31c419ac5fb6..21028cedf61f 100644 --- a/math/GiNaC/Makefile +++ b/math/GiNaC/Makefile @@ -29,6 +29,11 @@ INFO= ginac ginac-examples .include <bsd.port.pre.mk> +.if ${OSVERSION} < 1000000 +USE_GCC= 4.8+ +CXXFLAGS+= -D_GLIBCXX_USE_C99 +.endif + post-patch: @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure .if ${ARCH} != "i386" |