svn commit: r499829 - in head/devel/simgear: . files

Ganael LAPLANCHE martymac at FreeBSD.org
Wed Apr 24 10:18:48 UTC 2019


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


More information about the svn-ports-all mailing list