Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2019 20:48:49 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494084 - head/science/v_sim
Message-ID:  <201902272048.x1RKmnCL015285@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Wed Feb 27 20:48:49 2019
New Revision: 494084
URL: https://svnweb.freebsd.org/changeset/ports/494084

Log:
  - Add USES=compiler:c11 to fix build on GCC architectures;
  
  - Add USES=gl gnome localbase:ldflags;
  
  - CUSE_GL to gl and glu.
  
  PR:		236075
  Submitted by:	pkubaj (at) anongoth.pl

Modified:
  head/science/v_sim/Makefile

Modified: head/science/v_sim/Makefile
==============================================================================
--- head/science/v_sim/Makefile	Wed Feb 27 20:35:22 2019	(r494083)
+++ head/science/v_sim/Makefile	Wed Feb 27 20:48:49 2019	(r494084)
@@ -19,14 +19,14 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig	\
 		libfreetype.so:print/freetype2	\
 		libftgl.so:graphics/ftgl
 
-USES=		fortran gmake libtool pkgconfig tar:bzip2
+USES=		compiler:c11 fortran gl gmake gnome libtool localbase:ldflags \
+		pkgconfig tar:bzip2
 USE_XORG=	x11
 USE_GNOME=	gtk20 intltool cairo
-USE_GL=		yes
+USE_GL=		gl glu
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-gtk-doc --with-html-dir=${PREFIX}/share/doc --disable-python-module
-CPPFLAGS+=	${CFLAGS} -I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+CPPFLAGS+=	${CFLAGS}
 USE_LDCONFIG=	yes
 INSTALLS_ICONS=	yes
 INSTALL_TARGET=	install-strip



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