From 93bafda5301856c8de041abe8125e3ca329d4ea6 Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Sat, 5 Jun 2010 23:09:26 +0000 Subject: [PATCH] Unbreak. PR: 146746 Submitted by: Stas Timokhin --- cad/calculix/Makefile | 6 ++++-- 1 file 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}"+ ;' \