aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2018-02-18 01:33:54 +0800
committerriggs <riggs@FreeBSD.org>2018-02-18 01:33:54 +0800
commitf61901210219e1e4a4eba4c5c4bb32429d54c6f8 (patch)
treea2b42335b1b82e6780523490b2c20c0af5f0c092 /cad
parent78c91ea7d68fda7c137b2ced906fe3eb748bb9ff (diff)
downloadfreebsd-ports-gnome-f61901210219e1e4a4eba4c5c4bb32429d54c6f8.tar.gz
freebsd-ports-gnome-f61901210219e1e4a4eba4c5c4bb32429d54c6f8.tar.zst
freebsd-ports-gnome-f61901210219e1e4a4eba4c5c4bb32429d54c6f8.zip
Fix build with clang 6.0.0
PR: 225209 Submitted by: pfg (maintainer)
Diffstat (limited to 'cad')
-rw-r--r--cad/calculix/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile
index f44da9aabf55..c9105838f167 100644
--- a/cad/calculix/Makefile
+++ b/cad/calculix/Makefile
@@ -3,6 +3,7 @@
PORTNAME= calculix
PORTVERSION= 2.13
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://www.dhondt.de/
DISTFILES= ${DIST_SOURCES}
@@ -33,6 +34,8 @@ USE_GL= gl glu # uses its own glut
BROWSER?= firefox
PSVIEWER?= gv
+CXXFLAGS+= -std=c++98
+
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>