svn commit: r392721 - head/math/scilab

Max Brazhnikov makc at FreeBSD.org
Thu Jul 23 13:26:11 UTC 2015


Author: makc
Date: Thu Jul 23 13:26:09 2015
New Revision: 392721
URL: https://svnweb.freebsd.org/changeset/ports/392721

Log:
  math/scilab:
  - Add check for OpenMP support [1]
  - Add check for unsupported combination of options
  
  PR:		201339 [1]
  Submitted by:	truckman

Modified:
  head/math/scilab/Makefile

Modified: head/math/scilab/Makefile
==============================================================================
--- head/math/scilab/Makefile	Thu Jul 23 13:21:05 2015	(r392720)
+++ head/math/scilab/Makefile	Thu Jul 23 13:26:09 2015	(r392721)
@@ -110,8 +110,16 @@ TK_CONFIGURE_ON=	--with-tk-library=${LOC
 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


More information about the svn-ports-all mailing list