diff options
author | mezz <mezz@FreeBSD.org> | 2008-03-26 13:03:31 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2008-03-26 13:03:31 +0800 |
commit | 3038785d745552484a96bb1d75ed17ddcb4186e8 (patch) | |
tree | 66481516bea5f7ad9a79f50f070cd7bed366f2ce | |
parent | b22d757b629dcd77de2ee0a23ff7565e273c9c01 (diff) | |
download | freebsd-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
-rw-r--r-- | x11-toolkits/gtkmm20/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/gtkmm30/Makefile | 4 |
2 files changed, 8 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 diff --git a/x11-toolkits/gtkmm30/Makefile b/x11-toolkits/gtkmm30/Makefile index acb65dcf3da5..5d8b7f172589 100644 --- a/x11-toolkits/gtkmm30/Makefile +++ b/x11-toolkits/gtkmm30/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 |