From owner-svn-ports-all@freebsd.org Thu Jul 12 14:11:31 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CB65103D300; Thu, 12 Jul 2018 14:11:31 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE8ED934FE; Thu, 12 Jul 2018 14:11:30 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CEF2F2274C; Thu, 12 Jul 2018 14:11:30 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6CEBUio073524; Thu, 12 Jul 2018 14:11:30 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6CEBUQT073523; Thu, 12 Jul 2018 14:11:30 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201807121411.w6CEBUQT073523@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 12 Jul 2018 14:11:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474519 - head/x11-toolkits/fltk-devel X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/x11-toolkits/fltk-devel X-SVN-Commit-Revision: 474519 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 14:11:31 -0000 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