summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/libYGP/Makefile2
-rw-r--r--games/galaxyhack/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/devel/libYGP/Makefile b/devel/libYGP/Makefile
index 20e8476aa711..8a09ca10e2ec 100644
--- a/devel/libYGP/Makefile
+++ b/devel/libYGP/Makefile
@@ -27,6 +27,8 @@ CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE} --with-gmp\
--disable-static --disable-rpath --enable-network-trav
USE_GMAKE= yes
+CXXFLAGS+= -DBOOST_FILESYSTEM_VERSION=2
+
.if ${PORTNAME:M*XGP}
LIB_DEPENDS+= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
PLIST_SUB= YGP="@comment " XGP=""
diff --git a/games/galaxyhack/Makefile b/games/galaxyhack/Makefile
index f4950a11e82e..b343dc1fdeae 100644
--- a/games/galaxyhack/Makefile
+++ b/games/galaxyhack/Makefile
@@ -25,6 +25,8 @@ USE_GMAKE= yes
USE_SDL= gfx image mixer sdl
WRKSRC= ${WRKDIR}/${PORTNAME}/src
+CXXFLAGS+= -DBOOST_FILESYSTEM_VERSION=2
+
OPTIONS= FLEETS "Install additional fleets" off \
OPTIMIZED_CFLAGS "Enable compilation optimizations" on