summaryrefslogtreecommitdiff
path: root/math/GiNaC
diff options
context:
space:
mode:
Diffstat (limited to 'math/GiNaC')
-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"