1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Fix the build with new glib 2.16.

Reported by:	pointyhat
This commit is contained in:
Jeremy Messenger 2008-03-26 05:03:31 +00:00
parent 74c37a3337
commit 17ea6d896a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209841
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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