diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
commit | bb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch) | |
tree | ac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /cad/tochnog | |
parent | Hand back to the maintainer, this time without a typo in the address. (diff) |
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes:
svn path=/head/; revision=394778
Diffstat (limited to 'cad/tochnog')
-rw-r--r-- | cad/tochnog/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile index 33c01880cb9e..b6da439c6947 100644 --- a/cad/tochnog/Makefile +++ b/cad/tochnog/Makefile @@ -71,13 +71,12 @@ pre-configure: s,%%SUPERLU%%,${SUPERLU},g ; \ s,%%BLAS_LIBS%%,-L${LOCALBASE}/lib ${BLAS_LIBS},g' \ ${WRKSRC}/makefile -.if ${PORT_OPTIONS:MTHREADS} +pre-configure-THREADS-on: ${REINPLACE_CMD} -e 's,SUPERLU_MT_USE 0,SUPERLU_MT_USE 1,' \ ${WRKSRC}/tnsuplu.h -.else # Serial +pre-configure-THREADS-off: ${REINPLACE_CMD} -e 's,SUPERLU_USE 0,SUPERLU_USE 1,' \ ${WRKSRC}/tnsuplu.h -.endif post-build: (cd ${WRKDIR}/Sources/tools && ${CXX} ${CXXFLAGS} -o aba2tn aba2tn.cc) @@ -93,10 +92,9 @@ do-install: ${STAGEDIR}${GID_PTYPES}/tochnog.gid ${INSTALL_SCRIPT} ${WRKDIR}/Sources/gid/tochnog.gid/tochnog.ba* \ ${STAGEDIR}${GID_PTYPES}/tochnog.gid -.if ${PORT_OPTIONS:MEXAMPLES} +do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${RM} -f ${WRKDIR}/Sources/test/*.orig ${INSTALL_DATA} ${WRKDIR}/Sources/test/* ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk> |