aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2010-06-06 07:09:26 +0800
committermaho <maho@FreeBSD.org>2010-06-06 07:09:26 +0800
commitaf0b195bd466bd1fb1223267fdb7b4bf74b81c32 (patch)
tree392078eee30a56c2d49c0858745a4e2e87c00eaf /cad
parent83efdf692304734ca7cbe801fe5c29e4961fa00b (diff)
downloadfreebsd-ports-gnome-af0b195bd466bd1fb1223267fdb7b4bf74b81c32.tar.gz
freebsd-ports-gnome-af0b195bd466bd1fb1223267fdb7b4bf74b81c32.tar.zst
freebsd-ports-gnome-af0b195bd466bd1fb1223267fdb7b4bf74b81c32.zip
Unbreak.
PR: 146746 Submitted by: Stas Timokhin
Diffstat (limited to 'cad')
-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}"+ ;' \