summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vte/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/vte/Makefile')
-rw-r--r--x11-toolkits/vte/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile
index c7c917c70..01db3dc3b 100644
--- a/x11-toolkits/vte/Makefile
+++ b/x11-toolkits/vte/Makefile
@@ -33,6 +33,8 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g' \
+ ${WRKSRC}/gnome-pty-helper.c
@${REINPLACE_CMD} -e 's|Xft\.h|Xft2.h|g' \
${WRKSRC}/src/vte.c