aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk-sharp20/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk-sharp20/Makefile')
-rw-r--r--x11-toolkits/gtk-sharp20/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-toolkits/gtk-sharp20/Makefile b/x11-toolkits/gtk-sharp20/Makefile
index cd3cb1ca7b38..9e2f8b5f9589 100644
--- a/x11-toolkits/gtk-sharp20/Makefile
+++ b/x11-toolkits/gtk-sharp20/Makefile
@@ -30,6 +30,8 @@ USE_GNOME= gnomehack gtk20 libglade2
post-patch:
@${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${REINPLACE_CMD} -e \
's|^#!/usr/bin/perl|#!${PERL}|'
+ @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
+ ${WRKSRC}/glib/glue/*.c
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>