Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2019 10:18:47 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499829 - in head/devel/simgear: . files
Message-ID:  <201904241018.x3OAIl4k041943@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Wed Apr 24 10:18:46 2019
New Revision: 499829
URL: https://svnweb.freebsd.org/changeset/ports/499829

Log:
  Fix build with Gcc and recent Boost + simplify LDFLAGS
  
  PR:		237500
  Submitted by:	pkubaj

Added:
  head/devel/simgear/files/patch-simgear_nasal_cppbind_NasalHash.hxx   (contents, props changed)
Modified:
  head/devel/simgear/Makefile

Modified: head/devel/simgear/Makefile
==============================================================================
--- head/devel/simgear/Makefile	Wed Apr 24 10:13:48 2019	(r499828)
+++ head/devel/simgear/Makefile	Wed Apr 24 10:18:46 2019	(r499829)
@@ -21,12 +21,8 @@ USES=		alias cmake compiler:c++11-lib cpe gl jpeg open
 USE_XORG=	ice sm x11 xext xi xmu xt
 USE_GL=		gl glu glut
 
-LDFLAGS_mips=	-losgDB
-LDFLAGS_mips64=	-losgDB
-LDFLAGS_powerpc64=	-losgDB
-LDFLAGS_powerpc=	-losgDB
-LDFLAGS_powerpcspe=	-losgDB
-LDFLAGS_sparc64=	-losgDB
+LDFLAGS_gcc=	-losgDB
+LDFLAGS+=	${LDFLAGS_${CHOSEN_COMPILER_TYPE}}
 
 post-patch:
 # Avoid conflict with C++20 <version> by adding .txt suffix

Added: head/devel/simgear/files/patch-simgear_nasal_cppbind_NasalHash.hxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/simgear/files/patch-simgear_nasal_cppbind_NasalHash.hxx	Wed Apr 24 10:18:46 2019	(r499829)
@@ -0,0 +1,10 @@
+--- simgear/nasal/cppbind/NasalHash.hxx.orig	2019-04-23 16:24:11 UTC
++++ simgear/nasal/cppbind/NasalHash.hxx
+@@ -23,6 +23,7 @@
+ #include "to_nasal.hxx"
+ 
+ #include <simgear/structure/map.hxx>
++#include <boost/core/enable_if.hpp>
+ #include <boost/iterator/iterator_facade.hpp>
+ 
+ namespace nasal



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