aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/kmess-kde4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/kmess-kde4/Makefile')
-rw-r--r--net-im/kmess-kde4/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net-im/kmess-kde4/Makefile b/net-im/kmess-kde4/Makefile
index be62927416b5..11f012f872df 100644
--- a/net-im/kmess-kde4/Makefile
+++ b/net-im/kmess-kde4/Makefile
@@ -21,9 +21,7 @@ USE_KDELIBS_VER=3
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_GMAKE= yes
-_NO_KDE_FIXPTHREAD= yes
-.include <bsd.port.pre.mk>
pre-patch:
${REINPLACE_CMD} -e '23s/^$$/#include <unistd.h>/' \
${WRKSRC}/kmess/kmessview.cpp
@@ -31,7 +29,7 @@ pre-patch:
${WRKSRC}/kmess/network/mimemessage.h
${REINPLACE_CMD} -e '35s|^$$|#include <netinet/in.h>|' \
${WRKSRC}/kmess/network/msnconnection.h
- ${REINPLACE_CMD} -e 's,-pedantic ,,g' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's/-pedantic //g; s/-O2//g; \
+ s/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
-.include "${PORTSDIR}/x11/kde3/Makefile.kde"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>