aboutsummaryrefslogtreecommitdiff
path: root/deskutils/kuake/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/kuake/Makefile')
-rw-r--r--deskutils/kuake/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/deskutils/kuake/Makefile b/deskutils/kuake/Makefile
index 5a5ae26781da..220bca5d5320 100644
--- a/deskutils/kuake/Makefile
+++ b/deskutils/kuake/Makefile
@@ -18,9 +18,10 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
+
post-patch:
- @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-O2||g; s|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>