1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

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)
This commit is contained in:
Mark Linimon 2018-11-02 01:50:55 +00:00
parent 72cfb160c8
commit 5dbe545b9b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483763

View File

@ -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 \