summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--irc/xchat/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile
index a1087c589a57..395a48cf005c 100644
--- a/irc/xchat/Makefile
+++ b/irc/xchat/Makefile
@@ -97,6 +97,9 @@ PLIST_SUB+= TCL="@comment "
post-patch:
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
${WRKSRC}/src/common/*.[ch]
+ @${REINPLACE_CMD} '/_LDADD =/s/$$/ -lgmodule-2.0/' \
+ ${WRKSRC}/src/fe-gtk/Makefile.in \
+ ${WRKSRC}/src/fe-text/Makefile.in
# Create plugins directory even when no plugins are installed
post-install: