Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2019 05:04:54 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490446 - head/x11-toolkits/fltk-devel
Message-ID:  <201901160504.x0G54smp073873@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Wed Jan 16 05:04:54 2019
New Revision: 490446
URL: https://svnweb.freebsd.org/changeset/ports/490446

Log:
  Base GCC doesn't support -Wno-c++11-narrowing.  Replace it with
  USE_CXXSTD=c++98.
  
  While here, add now-recommended USES=gl, and tidy up by using
  localbase:ldflags.
  
  PR:		234928
  Submitted by:	Piotr Kubaj

Modified:
  head/x11-toolkits/fltk-devel/Makefile

Modified: head/x11-toolkits/fltk-devel/Makefile
==============================================================================
--- head/x11-toolkits/fltk-devel/Makefile	Wed Jan 16 04:59:46 2019	(r490445)
+++ head/x11-toolkits/fltk-devel/Makefile	Wed Jan 16 05:04:54 2019	(r490446)
@@ -17,7 +17,8 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libfreetype.so:print/freetype2 \
 		libfontconfig.so:x11-fonts/fontconfig
 
-USES=		cmake jpeg
+USES=		cmake gl jpeg localbase:ldflags
+USE_CXXSTD=	c++98
 USE_XORG=	xft
 USE_GL=		glu
 USE_LDCONFIG=	${PREFIX}/lib/fltk-devel
@@ -27,9 +28,6 @@ CMAKE_ARGS=	-DOPTION_BUILD_SHARED_LIBS:BOOL=ON \
 		-DPREFIX_DOC:PATH=${PREFIX}/share/examples/fltk-devel \
 		-DPREFIX_INCLUDE:PATH=${PREFIX}/include/fltk-devel \
 		-DPREFIX_LIB:PATH=${PREFIX}/lib/fltk-devel
-
-CXXFLAGS+=	-Wno-c++11-narrowing
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 SNAPSHOT_VERS=	10370
 PORTEXAMPLES=	*



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