summaryrefslogtreecommitdiffstats
path: root/deskutils/kickpim/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/kickpim/Makefile')
-rw-r--r--deskutils/kickpim/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/deskutils/kickpim/Makefile b/deskutils/kickpim/Makefile
index e50a32d..78a9e37 100644
--- a/deskutils/kickpim/Makefile
+++ b/deskutils/kickpim/Makefile
@@ -19,13 +19,13 @@ USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
post-extract:
@${TOUCH} ${WRKSRC}/config.h.in
post-patch:
- @${REINPLACE_CMD} -e 's|-O2|-fPIC|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-O2|-fPIC|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>
OpenPOWER on IntegriCloud