summaryrefslogtreecommitdiff
path: root/math/GiNaC
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/GiNaC
parentmultimedia/libquicktime: unbreak build with ffmpeg 3.0 (diff)
- One more attempt to make it work with FreeBSD-9.
Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Notes
Notes: svn path=/head/; revision=414779
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"