aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkmm20/Makefile
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2008-03-26 13:03:31 +0800
committermezz <mezz@FreeBSD.org>2008-03-26 13:03:31 +0800
commit3038785d745552484a96bb1d75ed17ddcb4186e8 (patch)
tree66481516bea5f7ad9a79f50f070cd7bed366f2ce /x11-toolkits/gtkmm20/Makefile
parentb22d757b629dcd77de2ee0a23ff7565e273c9c01 (diff)
downloadfreebsd-ports-gnome-3038785d745552484a96bb1d75ed17ddcb4186e8.tar.gz
freebsd-ports-gnome-3038785d745552484a96bb1d75ed17ddcb4186e8.tar.zst
freebsd-ports-gnome-3038785d745552484a96bb1d75ed17ddcb4186e8.zip
Fix the build with new glib 2.16.
Reported by: pointyhat
Diffstat (limited to 'x11-toolkits/gtkmm20/Makefile')
-rw-r--r--x11-toolkits/gtkmm20/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11-toolkits/gtkmm20/Makefile b/x11-toolkits/gtkmm20/Makefile
index acb65dcf3da5..5d8b7f172589 100644
--- a/x11-toolkits/gtkmm20/Makefile
+++ b/x11-toolkits/gtkmm20/Makefile
@@ -35,6 +35,10 @@ CONFIGURE_ARGS= --enable-static=yes \
--with-sigc-prefix=${LOCALBASE}
post-patch:
+ @${REINPLACE_CMD} -e 's|glib/gmessages.h|glib/gtestutils.h|g' \
+ ${WRKSRC}/glib/src/*.ccg ${WRKSRC}/glib/glibmm/*.* \
+ ${WRKSRC}/gtk/src/*.* ${WRKSRC}/gtk/gtkmm/*.* \
+ ${WRKSRC}/demos/gtk-demo/*.cc
.for d in docs examples tests
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/${d}//' ${WRKSRC}/Makefile.in
.endfor