aboutsummaryrefslogtreecommitdiffstats
path: root/cad/calculix/Makefile
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2005-02-06 11:09:06 +0800
committermaho <maho@FreeBSD.org>2005-02-06 11:09:06 +0800
commitd0a47f4e0919385e86a5bb657838ff49bfa5e99a (patch)
treefb80d16e1f14e8ca3cd8f7a65a8229459803675e /cad/calculix/Makefile
parent921f01c312962175b669258ec9736f041a6fa72c (diff)
downloadfreebsd-ports-gnome-d0a47f4e0919385e86a5bb657838ff49bfa5e99a.tar.gz
freebsd-ports-gnome-d0a47f4e0919385e86a5bb657838ff49bfa5e99a.tar.zst
freebsd-ports-gnome-d0a47f4e0919385e86a5bb657838ff49bfa5e99a.zip
Fix build with math/spooles
Diffstat (limited to 'cad/calculix/Makefile')
-rw-r--r--cad/calculix/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/cad/calculix/Makefile b/cad/calculix/Makefile
index f7db85e1378d..d4ecc456c9c6 100644
--- a/cad/calculix/Makefile
+++ b/cad/calculix/Makefile
@@ -22,7 +22,6 @@ DIST_SUBDIR= calculix
MAINTAINER= maho@FreeBSD.org
COMMENT= A Three-Dimensional Structural Finite Element Program
-# These are required to build Crunchix (ccx)
BUILD_DEPENDS= ${LOCALBASE}/lib/libspooles.a:${PORTSDIR}/math/spooles \
${LOCALBASE}/lib/libarpack.a:${PORTSDIR}/math/arpack
LIB_DEPENDS= atlas.1:${PORTSDIR}/math/atlas
@@ -31,6 +30,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GL= yes
USE_REINPLACE= yes
BLAS_LIBS= -lf77blas -latlas
+
BROWSER?= mozilla
PSVIEWER?= gv
@@ -47,6 +47,8 @@ pre-everything::
pre-build:
@${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%CC%%+${CC}+g ; \
+ s+%%PTHREAD_CFLAGS%%+${PTHREAD_CFLAGS} -DUSE_MT+g; \
+ s+%%PTHREAD_LIBS%%+${PTHREAD_LIBS}+g; \
s+%%BLAS_LIBS%%+${BLAS_LIBS}+ ; \
s+%%LOCALBASE%%+${LOCALBASE}+g;' \
${WRKSRC}/ccx_${PORTVERSION}/src/Makefile