diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-10-26 21:58:58 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-10-26 21:58:58 +0000 |
commit | 1117968e5b712b7ce591c82c791dc37459e41ecb (patch) | |
tree | 02847d4099bb2ec970517f3f50c27ef8333cbf6c /cad/tochnog | |
parent | 8412bbffb5e884813e18dd0a6a6b1fe05b7ddb8c (diff) | |
download | ports-1117968e5b712b7ce591c82c791dc37459e41ecb.tar.gz ports-1117968e5b712b7ce591c82c791dc37459e41ecb.zip |
Notes
Diffstat (limited to 'cad/tochnog')
-rw-r--r-- | cad/tochnog/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile index 2fd45094fe31..05fa8444ce43 100644 --- a/cad/tochnog/Makefile +++ b/cad/tochnog/Makefile @@ -17,23 +17,17 @@ COMMENT= A free explicit/implicit Finite Element Program BUILD_DEPENDS= ${LOCALBASE}/lib/libf2c.a:${PORTSDIR}/lang/f2c \ ${LOCALBASE}/lib/libf77blas.a:${PORTSDIR}/math/atlas -.ifdef USE_THREADS +.ifdef WITH_THREADS BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu_mt.a:${PORTSDIR}/math/superlu_mt .else BUILD_DEPENDS+= ${LOCALBASE}/lib/libsuperlu.a:${PORTSDIR}/math/superlu .endif -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500113 -USE_GCC= 2.95 # 3.2 should also work !! -.endif - USE_REINPLACE= yes WRKSRC= ${WRKDIR}/${PORTNAME}/src MAKEFILE= makefile -.ifdef USE_THREADS +.ifdef WITH_THREADS BLAS_LIBS= -L${LOCALBASE}/lib -lptf77blas -latlas_r SUPERLU= superlu_mt ALL_TARGET= freebsd_parallel @@ -43,9 +37,9 @@ SUPERLU= superlu ALL_TARGET= freebsd_old .endif -.ifndef USE_THREADS +.ifndef WITH_THREADS pre-everything:: - @${ECHO_MSG} "make USE_THREADS=yes for threaded version" + @${ECHO_MSG} "make WITH_THREADS=yes for threaded version" .endif post-patch: @@ -54,7 +48,7 @@ post-patch: s,%%SUPERLU%%,${SUPERLU},g ; \ s,%%BLAS_LIBS%%,${BLAS_LIBS},g' \ ${WRKSRC}/makefile -.ifdef USE_THREADS +.ifdef WITH_THREADS @${REINPLACE_CMD} -e 's,SUPERLU_MT_USE 0,SUPERLU_MT_USE 1,' \ ${WRKSRC}/tnsuplu.h .else @@ -75,4 +69,4 @@ do-install: ${INSTALL_DATA} ${WRKDIR}/tochnog/test/* ${DOCSDIR}/test .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |