aboutsummaryrefslogtreecommitdiffstats
path: root/irc/kvirc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/kvirc/Makefile')
-rw-r--r--irc/kvirc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/irc/kvirc/Makefile b/irc/kvirc/Makefile
index 25d8af4794f5..7e1b21f94500 100644
--- a/irc/kvirc/Makefile
+++ b/irc/kvirc/Makefile
@@ -25,10 +25,11 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
CONFIGURE_TARGET=
-CONFIGURE_ARGS+= --with-freebsd-pthread
+#CONFIGURE_ARGS+= --with-freebsd-pthread
MAN1= kvirc.1
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+post-patch:
+ ${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
+
+.include <bsd.port.mk>