Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2015 13:26:10 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r392721 - head/math/scilab
Message-ID:  <201507231326.t6NDQAk7063623@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507231326.t6NDQAk7063623>