Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2018 14:11:30 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474519 - head/x11-toolkits/fltk-devel
Message-ID:  <201807121411.w6CEBUQT073523@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jul 12 14:11:30 2018
New Revision: 474519
URL: https://svnweb.freebsd.org/changeset/ports/474519

Log:
  - Fix build with clang 6
  - Pet portlint

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

Modified: head/x11-toolkits/fltk-devel/Makefile
==============================================================================
--- head/x11-toolkits/fltk-devel/Makefile	Thu Jul 12 14:11:01 2018	(r474518)
+++ head/x11-toolkits/fltk-devel/Makefile	Thu Jul 12 14:11:30 2018	(r474519)
@@ -17,26 +17,28 @@ LIB_DEPENDS=	libpng.so:graphics/png \
 		libfreetype.so:print/freetype2 \
 		libfontconfig.so:x11-fonts/fontconfig
 
-OPTIONS_DEFINE=	EXAMPLES
-EXAMPLES_CMAKE_OFF=	-DOPTION_BUILD_EXAMPLES:BOOL=OFF
-
+USES=		cmake:outsource jpeg
 USE_XORG=	xft
 USE_GL=		glu
 USE_LDCONFIG=	${PREFIX}/lib/fltk-devel
-USES+=		cmake:outsource jpeg
-LDFLAGS+=	-L${LOCALBASE}/lib
-CMAKE_ARGS+=	-DOPTION_BUILD_SHARED_LIBS:BOOL=ON \
+CMAKE_ARGS=	-DOPTION_BUILD_SHARED_LIBS:BOOL=ON \
 		-DPREFIX_BIN:PATH=${PREFIX}/bin/fltk-devel \
 		-DPREFIX_DATA:PATH=${PREFIX}/share/fltk-devel \
 		-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=	*
 EXAMPLESDIR=	${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX}
 
 PORTSCOUT=	limit:1.3.*
+
+OPTIONS_DEFINE=	EXAMPLES
+EXAMPLES_CMAKE_OFF=	-DOPTION_BUILD_EXAMPLES:BOOL=OFF
 
 post-install:
 	${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/fltk-config ${STAGEDIR}${PREFIX}/bin/fltk-devel



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