svn commit: r483763 - head/graphics/osg
Mark Linimon
linimon at FreeBSD.org
Fri Nov 2 01:50:56 UTC 2018
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 \
More information about the svn-ports-all
mailing list