svn commit: r489730 - branches/2019Q1/math/scilab

Don Lewis truckman at FreeBSD.org
Tue Jan 8 18:05:52 UTC 2019


Author: truckman
Date: Tue Jan  8 18:05:51 2019
New Revision: 489730
URL: https://svnweb.freebsd.org/changeset/ports/489730

Log:
  MFH: r489729
  
  Make USES=gl conditional on the GUI option to unbreak build when GUI is
  disabled.  Error was:
    scilab-5.5.2_15 need to specify gl component with USE_GL.
  because USE_GL is conditional on GUI.
  
  While here, tweak Makefile statement ordering to reduce portlint warnings.
  
  PR:		234651
  Approved by:	makc (maintainer)
  
  Approved by:	portmgr (blanket: build fix)

Modified:
  branches/2019Q1/math/scilab/Makefile
Directory Properties:
  branches/2019Q1/   (props changed)

Modified: branches/2019Q1/math/scilab/Makefile
==============================================================================
--- branches/2019Q1/math/scilab/Makefile	Tue Jan  8 17:51:14 2019	(r489729)
+++ branches/2019Q1/math/scilab/Makefile	Tue Jan  8 18:05:51 2019	(r489730)
@@ -8,14 +8,14 @@ CATEGORIES=	math cad java
 MASTER_SITES=	https://www.scilab.org/download/${PORTVERSION}/
 DISTFILES=	${DISTNAME}-src${EXTRACT_SUFX}
 
+MAINTAINER=	makc at FreeBSD.org
+COMMENT=	Scientific software package for numerical computations
+
 LICENSE=	GPLv2 BSD3CLAUSE
 LICENSE_COMB=	dual
 LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
 LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/COPYING-BSD
 
-MAINTAINER=	makc at FreeBSD.org
-COMMENT=	Scientific software package for numerical computations
-
 # A partial dependencies list can be found at:
 # http://wiki.scilab.org/Dependencies_of_Scilab_5.X
 LIB_DEPENDS=	libxml2.so:textproc/libxml2 \
@@ -28,12 +28,12 @@ LIB_DEPENDS=	libxml2.so:textproc/libxml2 \
 		libamd.so:math/suitesparse
 RUN_DEPENDS=	xdg-open:devel/xdg-utils
 
-USES=		cpe desktop-file-utils fortran gettext gl gmake gnome iconv \
+USES=		cpe desktop-file-utils fortran gettext gmake gnome iconv \
 		libtool ncurses pathfix pkgconfig shared-mime-info
 USE_CXXSTD=	gnu++98
 USE_LOCALE=	en_US.UTF-8
-GNU_CONFIGURE=	yes
 
+GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -99,6 +99,7 @@ GUI_BUILD_DEPENDS=	${_GUI_DEPENDS} \
 GUI_RUN_DEPENDS=	${_GUI_DEPENDS}
 
 GUI_ALL_TARGET=	all doc
+GUI_USES=	gl
 GUI_USE=	GL=gl JAVA=yes
 GUI_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-bin-JAVA_HOME
 GUI_CONFIGURE_ON=	--with-jdk=${JAVA_HOME} \


More information about the svn-ports-all mailing list