aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2013-05-13 16:37:48 +0800
committeroliver <oliver@FreeBSD.org>2013-05-13 16:37:48 +0800
commitf1def1401fd28a1f83091635be1fdff59bf95493 (patch)
tree5088a00306060bb85b89a2cac7feb2a07c574672 /x11-toolkits
parent7200cf6d6fca66ab5018bf2372365a40720028a8 (diff)
downloadfreebsd-ports-gnome-f1def1401fd28a1f83091635be1fdff59bf95493.tar.gz
freebsd-ports-gnome-f1def1401fd28a1f83091635be1fdff59bf95493.tar.zst
freebsd-ports-gnome-f1def1401fd28a1f83091635be1fdff59bf95493.zip
fix compile with boost >= 1.50
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gigi/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-toolkits/gigi/Makefile b/x11-toolkits/gigi/Makefile
index 79b657c0ec40..d9f303317106 100644
--- a/x11-toolkits/gigi/Makefile
+++ b/x11-toolkits/gigi/Makefile
@@ -47,6 +47,11 @@ CMAKE_ARGS+= -DBUILD_OGRE_DRIVER:BOOL=OFF -DBUILD_OGRE_OIS_PLUGIN:BOOL=OFF
PLIST_SUB+= OGRE="@comment "
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|TIME_UTC)|TIME_UTC_)|' \
+ ${WRKSRC}/src/GUI.cpp
+ @${REINPLACE_CMD} -e 's| move_backward| ::adobe::move_backward|g' \
+ ${WRKSRC}/GG/adobe/vector.hpp
post-build:
@${REINPLACE_CMD} -Ee 's,^prefix=.*,prefix=${PREFIX},' \
${WRKSRC}/*.pc