aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2016-05-07 17:39:02 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2016-05-07 17:39:02 +0000
commit2dbdb9902196539c2f9a804b09e9c6f6b9672008 (patch)
tree2ea1803626db68c52549a0f687c0429a6df8ced7 /math
parentf82ec91ba68026d0734353baf91e264e6c34de23 (diff)
downloadports-2dbdb9902196539c2f9a804b09e9c6f6b9672008.tar.gz
ports-2dbdb9902196539c2f9a804b09e9c6f6b9672008.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/GiNaC/Makefile5
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"