From owner-svn-ports-all@freebsd.org Fri Nov 2 01:50:56 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 C62D410E0DFB; Fri, 2 Nov 2018 01:50:56 +0000 (UTC) (envelope-from linimon@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 7CAD370E04; Fri, 2 Nov 2018 01:50:56 +0000 (UTC) (envelope-from linimon@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 5DCAD240C1; Fri, 2 Nov 2018 01:50:56 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA21ouKD044720; Fri, 2 Nov 2018 01:50:56 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA21ouRw044719; Fri, 2 Nov 2018 01:50:56 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811020150.wA21ouRw044719@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Fri, 2 Nov 2018 01:50:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483763 - head/graphics/osg X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/graphics/osg X-SVN-Commit-Revision: 483763 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.29 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: Fri, 02 Nov 2018 01:50:56 -0000 Author: linimon Date: Fri Nov 2 01:50:55 2018 New Revision: 483763 URL: https://svnweb.freebsd.org/changeset/ports/483763 Log: USES=compiler:c++11-lang is necessary to link against libosg on GCC-based architectures. To make it build, also add CXXFLAGS_${ARCH}=-Wno-narrowing. PR: 232826 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/graphics/osg/Makefile Modified: head/graphics/osg/Makefile ============================================================================== --- head/graphics/osg/Makefile Fri Nov 2 01:48:33 2018 (r483762) +++ head/graphics/osg/Makefile Fri Nov 2 01:50:55 2018 (r483763) @@ -24,10 +24,16 @@ GH_PROJECT= OpenSceneGraph CONFLICTS= osg-devel-[0-9]* -USES= alias cmake:outsource jpeg pkgconfig +USES= alias cmake:outsource compiler:c++11-lang jpeg pkgconfig USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes +CXXFLAGS_mips= -Wno-narrowing +CXXFLAGS_mips64= -Wno-narrowing +CXXFLAGS_powerpc64= -Wno-narrowing +CXXFLAGS_powerpc= -Wno-narrowing +CXXFLAGS_powerpcspe= -Wno-narrowing +CXXFLAGS_sparc64= -Wno-narrowing PLIST_SUB= OSG_VERSION=${PORTVERSION} \ OSG_SHLIBVER=131 \