aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-04-01 17:53:00 +0800
committerkwm <kwm@FreeBSD.org>2013-04-01 17:53:00 +0800
commitc1c33897857a19e87870d3eccfaa32e47c253340 (patch)
tree71b1a372955a6b5924e7962a109da0a23fa6e8a1 /deskutils
parent332d8ec3fe0aca2f141ea69e2240ca6bbdcc0b65 (diff)
downloadfreebsd-ports-graphics-c1c33897857a19e87870d3eccfaa32e47c253340.tar.gz
freebsd-ports-graphics-c1c33897857a19e87870d3eccfaa32e47c253340.tar.zst
freebsd-ports-graphics-c1c33897857a19e87870d3eccfaa32e47c253340.zip
Fix build with glib 2.34.
Submitted by: pointyhat (via miwi) Approved by: portmgr (miwi)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gnome-main-menu/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/deskutils/gnome-main-menu/Makefile b/deskutils/gnome-main-menu/Makefile
index 455e426c8bb..bfad940002e 100644
--- a/deskutils/gnome-main-menu/Makefile
+++ b/deskutils/gnome-main-menu/Makefile
@@ -29,4 +29,12 @@ LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= application-browser.schemas slab.schemas
+post-patch:
+ ${REINPLACE_CMD} -e 's|glib/gmacros.h|glib.h|g' \
+ -e 's|glib/gfileutils.h|glib.h|g' \
+ -e 's|glib/gtypes.h|glib.h|g' \
+ ${WRKSRC}/libslab/system-tile.c \
+ ${WRKSRC}/libslab/application-tile.c \
+ ${WRKSRC}/main-menu/src/tomboykeybinder.h
+
.include <bsd.port.mk>