Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2018 01:50:56 +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: r483763 - head/graphics/osg
Message-ID:  <201811020150.wA21ouRw044719@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



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