aboutsummaryrefslogtreecommitdiff
path: root/cad/calculix
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2010-06-05 23:09:26 +0000
committerMaho Nakata <maho@FreeBSD.org>2010-06-05 23:09:26 +0000
commit93bafda5301856c8de041abe8125e3ca329d4ea6 (patch)
tree8ee6e1336c56dc68abf4504b7a2303772f52e2a4 /cad/calculix
parent9aa1c42ffeda884e6fac0826f9c12572feea3c10 (diff)
downloadports-93bafda5301856c8de041abe8125e3ca329d4ea6.tar.gz
ports-93bafda5301856c8de041abe8125e3ca329d4ea6.zip
Notes
Diffstat (limited to 'cad/calculix')
-rw-r--r--cad/calculix/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile
index a1bb45959150..94fa0eeca5b4 100644
--- a/cad/calculix/Makefile
+++ b/cad/calculix/Makefile
@@ -7,7 +7,7 @@
PORTNAME= CalculiX
PORTVERSION= 2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad
MASTER_SITES= http://www.dhondt.de/
DISTFILES= ${DIST_SOURCES}
@@ -34,7 +34,6 @@ LIB_DEPENDS= arpack.1:${PORTSDIR}/math/arpack \
metis.1:${PORTSDIR}/math/metis \
taucs.1:${PORTSDIR}/math/taucs
-BROKEN= does not compile
USE_BZIP2= yes
@@ -71,6 +70,7 @@ LAPACK_LIBS= -llapack
.endif
USE_FORTRAN= yes
+USE_GCC= 4.4
.if ${ARCH} == "sparc64"
CFLAGS+= -fPIC
@@ -102,6 +102,8 @@ pre-build:
@${REINPLACE_CMD} -e 's+%%PTHREAD_CFLAGS%%+${PTHREAD_CFLAGS}+g; \
s+%%PTHREAD_LIBS%%+${PTHREAD_LIBS}+g;' \
${WRKSRC}/cgx_${PORTVERSION}/src/Makefile
+ @${REINPLACE_CMD} -e 's/c++/${CXX}/g;' \
+ ${WRKSRC}/libSNL/src/makefile
@${REINPLACE_CMD} -e 's+%%DOCSDIR%%+${DOCSDIR}+g; \
s+"mozilla"+"${BROWSER}"+ ; \
s+"ghostview"+"${PSVIEWER}"+ ;' \