diff options
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/kmess-kde4/Makefile | 8 | ||||
-rw-r--r-- | net-im/kmess/Makefile | 8 |
2 files changed, 6 insertions, 10 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> diff --git a/net-im/kmess/Makefile b/net-im/kmess/Makefile index be62927416b5..11f012f872df 100644 --- a/net-im/kmess/Makefile +++ b/net-im/kmess/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> |