1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

math/scilab:

- Add check for OpenMP support [1]
- Add check for unsupported combination of options

PR:		201339 [1]
Submitted by:	truckman
This commit is contained in:
Max Brazhnikov 2015-07-23 13:26:09 +00:00
parent 43e9362f36
commit d6961ff5bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392721

View File

@ -110,8 +110,16 @@ TK_CONFIGURE_ON= --with-tk-library=${LOCALBASE}/lib \
TK_USES= tk
TK_USE= XORG=x11
.if !exists(/usr/include/omp.h)
CONFIGURE_ARGS+= --without-openmp
.endif
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOCAML} && empty(PORT_OPTIONS:MGUI)
IGNORE= with OCAML option requies GUI. Please rerun 'make config' and select GUI
.endif
.if ${PORT_OPTIONS:MGUI}
USE_JAVA= yes
# bsdjava (ie java/jdk16) doesn't have some "extra" classes that aren't in