aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2011-06-16 16:39:14 +0800
committermaho <maho@FreeBSD.org>2011-06-16 16:39:14 +0800
commit668e7ff03313c568db16487c6f93fdad5d284a4b (patch)
tree9d7f17ec9d0b7cf817323d1ea06e26e8325868f3 /cad
parentc639316959bd69576338a7422708a8c6c8ac0fb5 (diff)
downloadfreebsd-ports-gnome-668e7ff03313c568db16487c6f93fdad5d284a4b.tar.gz
freebsd-ports-gnome-668e7ff03313c568db16487c6f93fdad5d284a4b.tar.zst
freebsd-ports-gnome-668e7ff03313c568db16487c6f93fdad5d284a4b.zip
Make multithreading works.
Bump PORTREVIISON. Submitted by: Pierre Smars <smars@yuntech.edu.tw>
Diffstat (limited to 'cad')
-rw-r--r--cad/calculix/Makefile1
-rw-r--r--cad/calculix/files/patch-ccx_VER+src+Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile
index 46020ef0dd54..5df49fd6a295 100644
--- a/cad/calculix/Makefile
+++ b/cad/calculix/Makefile
@@ -7,6 +7,7 @@
PORTNAME= CalculiX
PORTVERSION= 2.3
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://www.dhondt.de/
DISTFILES= ${DIST_SOURCES}
diff --git a/cad/calculix/files/patch-ccx_VER+src+Makefile b/cad/calculix/files/patch-ccx_VER+src+Makefile
index 522d5be57c03..0df67d30cff4 100644
--- a/cad/calculix/files/patch-ccx_VER+src+Makefile
+++ b/cad/calculix/files/patch-ccx_VER+src+Makefile
@@ -3,7 +3,7 @@
@@ -1,9 +1,9 @@
-CFLAGS = -Wall -O -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE
-+CFLAGS = -Wall -O3 -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/spooles -DARCH="FreeBSD" -DSPOOLES -DARPACK -DMATRIXSTORAGE
++CFLAGS = -Wall -O3 -I%%LOCALBASE%%/include -I%%LOCALBASE%%/include/spooles -DARCH="FreeBSD" -DSPOOLES -DUSE_MT -DARPACK -DMATRIXSTORAGE
FFLAGS = -Wall -O -fopenmp
-CC=cc